WebWizards
Forum Replies Created
-
Hi there,
Thank you for purchasing,
It seems the version of B2BKing Pro you are using is outdated. The latest version of B2BKing Pro is now 4.6.25. Please make sure to update to this version, as that should resolve the issue.
If you purchased via CodeCanyon, you can download the latest version from your CodeCanyon account -> Downloads.
Hi there,
Glad to hear you’re liking the plugin so far!
Yes, you can do that by adding this PHP code snippet to your site:
add_filter('marketking_new_order_email_recipient', function($recipient){ $admin_email = '[email protected]'; $recipient .= ', '.$admin_email; return $recipient; }, 10, 1);In the above code, you can replace [email protected] with anything you want.
The snippet can be added to functions.php or using any code snippets plugin.
Kind regards,
Stefan
Thank you so much : )
Hi there,
This option is only available in the premium version I’m afraid. It can be achieved by configuring a “Non-Purchasable” dynamic rule for logged out users: https://i.imgur.com/vJf3Tcm.png
ALTERNATIVELY it is possible to achieve it by adding this code snippet to your site:
add_filter( 'woocommerce_is_purchasable', 'b2bking_dynamic_rule_unpurchasable_disable_purchasable', 10, 2); add_filter( 'woocommerce_variation_is_purchasable', 'b2bking_dynamic_rule_unpurchasable_disable_purchasable', 10, 2); function b2bking_dynamic_rule_unpurchasable_disable_purchasable($purchasable, $product){ if (!is_user_logged_in()){ $purchasable = false; } return $purchasable; }To add a PHP snippet: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/
Thank you for your comments and we will take them into consideration to see how we can make things clearer,
Have a nice day and weekend,
Hi there,
Thank you for using our plugin first of all,
Does it redirect you to the “B2B Groups” page, or the users page?
If it redirects you to “B2B Groups”, that is because there is a limit of 2 groups in the free plugin, you may have more if you previously used the pro one as well. If so, you just need to delete groups to have maximum 2.
If it redirects you to the users page, I am not sure what could cause that – it’s not something I can replicate in local tests. It may be some kind of conflict with another plugin.
I would suggest trying to deactivate all other site plugins to see if it works then.
We can also assist you to troubleshoot this in more detail if you’d like to open a ticket with us at https://webwizards.ticksy.com/
Hi there,
I have looked into this and I now made an update to the free plugin that applies the same system from the pro plugin to the free one for roles.
I would advise updating the plugin first. Then the same system in the article you linked above applies which uses the b2bking_use_wp_roles filter.
The plugin adds the role in a standard way. You can see the B2BKing added roles for example here https://i.imgur.com/xQMO5Cq.png or here https://prnt.sc/PqJkJLUKeJQL if you use the HM Multiple Roles plugin.
I’m not aware of any reason why another plugin would not see them. If you still encounter this issue, it would help if you can give us more details about what plugin cannot see them and where / screenshots. Maybe that plugin only shows built-in roles?
- This reply was modified 3 years ago by WebWizards.
Hi Marek,
Thank you for getting back to me,
1) Yes, product visibility may have to do with pricing, as product visibility affects checks such as $product->is_purchasable(), which may be called during the calculation of the price_html.
If it’s already disabled, it’s not the problem here then. Perhaps it is related to dynamic rules that modify pricing if you have any.
2) I am not sure exactly what it is but we would be happy to investigate to help get this solved for you. It is not normal to have a 3 second difference, so there is probably something going wrong somewhere, some query issue, conflict or something similar.
I believe you are also using our Pro plugin – in that case, can you please open a ticket with us at https://webwizards.ticksy.com ?
If the client does not have an active support period, you can open the ticket in the “B2BKing Pre-sales” category and our team will assist anyway. It is ideal if you can provide site access so we can troubleshoot directly,
Hi there,
First, thank you very much for your feedback and I really appreciate it.
What we tried to do with the presentation page is to first point out the Free features, and then list all of the premium features below. This image may make it clearer: https://prnt.sc/ni86F1in0myP
I can appreciate that may not be clear enough, so we will look to make some changes to it. Again, appreciate the feedback,
If I may help with any questions or information, please do let me know,
Kind regards,
Stefan
Any features that modify pricing could conflict with that and would not be usable:
- Group Pricing
- Tiered Pricing
- Discount Rules
The compatibility issue has to do with using special B2B prices or discounts. There has to be a dedicated integration for currencies to be applied correctly to these prices.
I am not sure which B2BKing features you are looking to use. If B2B prices/discounts are not needed, then you can deactivate this B2BKing feature and it would also work fine with your existing currency switcher plugin.
Hi there,
Thank you for the update,
In the past we have seen this issue occur with themes that use AJAX registration. This kind of registration works based on predefined theme scripts and cannot work with plugins like ours that extend the registration.
If you click on the Register button and see a loading mechanism such as “registering…” instead of the standard form submission, that’s likely an AJAX registration.
Hi there,
Please make sure that the site is using the latest version of our plugin, that is B2BKing Pro 4.6.00 and B2BKing Core 4.2.51
The issue may have to do with using the Product Visibility feature which can have a significant impact on speed. If that is used, please make sure to go to B2BKing -> Settings -> Other and enable the ‘Product Visibility Cache’ setting there.
Looking forward to your reply,
Hi there,
Thank you for getting in touch,
It’s possible to activate our plugin on an existing B2C site, without affecting existing customers. There is a special B2B & B2C hybrid mode that was built with this in mind (adding b2b features without affecting existing customers).
To implement that, we would advise following these steps:
- Install and activate the plugin
- In B2BKing -> Settings -> Main Settings, set it to “B2B & B2C Shop”.
- In B2BKing -> Settings -> Access Restriction, set it to “None” (so there are no restrictions for logged out users).
The way this works is that the plugin will check the user that is logged in, and only offer b2b prices, products, features etc if the user is in a special B2B users group. All other users would see the site as before.
There’s currently no integration with the Aelia switcher. We do have an integration with this plugin: https://ww.wp.xz.cn/plugins/woocommerce-currency-switcher/
Are you trying to differentiate between B2C and B2B orders?
You could add this PHP code snippet to your site (to functions.php or to any snippets plugin):
add_filter( 'manage_edit-shop_order_columns', 'b2bking_add_new_order_admin_list_column_core', 10, 1 ); add_action( 'manage_shop_order_posts_custom_column', 'b2bking_add_new_order_admin_list_column_content_core', 10, 1 ); function b2bking_add_new_order_admin_list_column_core( $columns ) { $columns['b2bking_check_is_b2b_order'] = '<p style="text-align:right;">B2B</p>'; return $columns; } function b2bking_add_new_order_admin_list_column_content_core( $column ) { global $woocommerce, $post; if ( 'b2bking_check_is_b2b_order' === $column ) { $order = wc_get_order( $post->ID ); $customer_id = $order->get_customer_id(); $customer_b2b = get_user_meta($customer_id,'b2bking_b2buser', true); if ($customer_b2b === 'yes'){ echo '<p style="text-align:right;"><span class="dashicons dashicons-yes-alt"></span></p>'; } } }It would add a B2B column to orders like this: https://prnt.sc/HV2Oi2_Bf7XR