WebWizards
Forum Replies Created
-
Hi there,
Our plugin does not control this directly – this is related to general registration conditions for WordPress / WooCommerce.
I found a plugin that may be able to fix this: https://ww.wp.xz.cn/plugins/wordpress-special-characters-in-usernames/
The plugin has not been updated in a while but it may still work, so you could give it a try.
Hi there,
I can tell you this text “Forbidden. Sender blacklisted” is not coming from our plugin (the text does not exist in our code).
So there is some other plugin on your site that is blocking the registration.
I googled that error and I think it’s coming from this plugin: Spam protection, AntiSpam, FireWall by CleanTalk
https://ww.wp.xz.cn/support/topic/forbidden-sender-blacklisted-2/
I’d suggest to try and check that plugin’s settings: WordPress Dashboard -> Settings -> Antispam by Cleantalk -> Advanced settings
Glad to hear that’s working : )
Have a nice day!
@fierevere Thank you for your perspective on it,
We have now updated both the Core and Pro plugin with a sanitized version of that library.
Make sure you have these versions or higher:
B2BKing Core: 4.6.42
B2BKing Pro: 4.6.90
Hello Anastasia,
Thank you for bringing this to our attention – we were not aware of this situation.
Sweetalert2 is a popular library used to display alerts such as the one here when approving a user: https://prnt.sc/P5O1QxwqbD2I – we recently added this to the plugin for a nicer user interface.
It seems that the developers of this library intentionally added this behaviour as a protest related to the Russia-Ukraine conflict. While we sympathise with everyone negatively affected by the conflict, we would like to stay outside of any political matters. We will remove this behaviour from our plugin shortly.
We will publish an update resolving this later today in the next few hours.
We would advise that tomorrow you update the B2BKing Core and B2BKing Pro plugin if you use it to the latest versions to solve this.
Hi there,
Some of the features of B2BKing, such as the order form, will probably also be compatible with MultiVendorX.
However, for other features such as quote requests, dynamic rules, offers, etc. a special integration would be needed, so vendors have those panels and options under their dashboard.
There is nothing you can do to not have “Comptabilite”, but you should have both that AND the ID. So you should have both rectangles like in my example.
Do you not have the other one? b2bking_custom_field_171853 ?
Thank you for clarifying that,
(1) I tested now by placing an order:
The field is saved under both Label and ‘b2bking_custom_field_*”:
This is in order to make it easier to find the information. But it should be saved under both.
(2) Your code is good, but the email IDs are wrong.
The correct line would be:
if ( in_array( $email_id, array(‘customer_refunded_order‘, ‘customer_completed_order‘) ) ) {
On my site, I tested this code and it worked to add the BCC:
add_filter( 'woocommerce_email_headers', 'woocommerce_emails_bcc_copy', 10, 3); function woocommerce_emails_bcc_copy( $headers, $email_id, $order, $email = null ) { // Si la notification par e-mail est "Completed order" ou "Processing order" if ( in_array( $email_id, array('customer_refunded_order', 'customer_completed_order') ) ) { // Remplacez 'b2bking_custom_field_171853' par la clé de métadonnées réelle de votre champ personnalisé if ( $extra_email_address = $order->get_meta( 'b2bking_custom_field_1044' ) ) { $billing_full_name = $order->get_formatted_billing_full_name(); $headers .= 'BCC: ' . $billing_full_name . ' <' . $extra_email_address . '>' . "\r\n"; } } return $headers; }Thank you for clarifying,
It looks like you have tiered pricing set up there: $7004 per item for 10+ but $7072 for 1 item.
The plugin can currently only get the correct price if the quantity is entered directly, it cannot adjust tiered pricing for quantity there yet. We are open to adding that in future updates, but it’s quite complex and there are many different price mechanisms in B2BKing.
For now we advise to please enter the quantity directly if tiered pricing is used.
Hi there!
Thank you for using our plugin,
My first problem is that in my orders, I find myself with the label in custom
Can you please clarify, where is the field in orders? and where do you want it to be? If you have a screenshot, it would be helpful.
My second issue is that I want to retrieve this email address to also send invoices, credit notes, and quotes to it, but it’s not working…
How would that work? based on the custom code? I am not able to see any code (functions.php) in your previous message, I think there was a formatting error when you sent the message.
Why is it that the name of the custom field in my order is “Comptabilité” and not “b2bking_custm_field_171853” ?
The name of the fields should be the same – if the field is named ‘Comptabilité‘ on the backend order page, the only explanation I can think of is that some other plugin modifies it.
If you can share some screenshots so we can better understand what you are looking at, it would be very helpful.
Also if you are using the Pro plugin, it is best to open tickets with us at https://webwizards.ticksy.com – this is our dedicated support platform. Here on ww.wp.xz.cn is for the free (core) plugin,
To get the tiers that apply to the current user we can use this code:
$current_user_group = b2bking()->get_user_group(); // Search price tiers $price_tiers = get_post_meta($product->get_id(), 'b2bking_product_pricetiers_group_'.$current_user_group, true ); // if no group tiers, get regular tiers if (empty($price_tiers)){ $price_tiers = get_post_meta($product->get_id(), 'b2bking_product_pricetiers_group_b2c', true ); }Basically we just check if there are group tiers, and if not (empty), we get the regular tiers.
Hi there,
Thanks for using our plugin,
Yes, custom registration and billing fields are currently only in the premium version of the plugin,
Hi there,
No, you cannot assign a customer to a specific vendor.
I think you need a multi-location inventory plugin, like this one: https://codecanyon.net/item/woocommerce-multi-warehouse-inventory/34305961
I tested that but I do not seem able to see it.
For example I have this product that has a special group sale price of $20: https://prnt.sc/Gv4EUj5h62DQ
Then if I add 1 item to the order, and change the quantity, the price per unit remains 20. I took a quick video of what I’m seeing: https://www.loom.com/share/1aeaeb38db934c5083d6b3bfee9c1e2f
Thank you for the details,
Does it also not work if you select a specific category that the composite product is part of? If so, it may be because of the categories of the component products.
Unfortunately I don’t think there is anything else we can do to it at the moment to apply a discount. Maybe one option would be to try to use B2BKing’s product visibility feature to have different composite products for different users. ( https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/ )