Public Ticket #3528569

Tiered Pricing

Closed
Comments
9 Tickets 3
Brian Savage started the conversation 3 years ago on November 23, 2023 at 3:07pm

Is there a way to have a tiered price that is by quantity in different levels but keeps the base level at the base price?

For example, I want products 1-10 to be $1000  each but if you go higher 11+ each one of the higher products is $500 while the 1-10 quantity is still $1000 each.   So for 10 products it's $10,000; 11 would be $10,500; 12 would be $11,000, etc.

2,762
KingsPlugins replied 3 years ago on November 23, 2023 at 9:13pm

Hi Brian,

Thank you for purchasing our plugin,

We just added this feature in the last update!

We describe how this works here:

https://b2bkingplugin.com/docs/b2bking-tiered-pricing-setup-auto-generated-tiered-pricing-table/#6-toc-title

Basically, you can add this PHP code snippet to your site, which changes how tiered pricing works:

add_filter('b2bking_tiered_pricing_use_each_additional', '__return_true');
add_filter('b2bking_price_per_unit_text', function($text){
    return 'Price by Quantity';
}, 10, 1);

A PHP snippet can be added to functions.php, or by following our guide here: https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/

After adding this snippet, you could configure a product like this, to achieve the pricing setup your described:

2950105667.png

Let me know if that works for you,

Kind regards,

Stefan

2,762
KingsPlugins replied 3 years ago on November 24, 2023 at 12:09am

We recommend that you add this snippet through the Code Snippets plugin: https://wordpress.org/plugins/code-snippets/ (this one, or any other snippets plugin).

This way, you would not lose it when there is any wordpress or woo update. This snippet basically just tells B2BKing to use a different calculation method.


If it helps, I can try to set it up on your site directly. I would need a backend login to the site, or to a staging clone site.

2,762
KingsPlugins replied 3 years ago on November 24, 2023 at 6:23pm

Hi Brian,

It is odd that you do not have that field there,


I think perhaps it was deactivated in Settings. Please try going to B2BKing -> Settings -> Other -> Advanced / Components and make sure that this switch is DISABLED:

It should look like this:

9869830824.png

If enabled, please make sure to turn that off in order to see the tiered price fields.


Let me know if that can help solve it.

If not, is it possible to share a backend login to the site or staging site? We can look into it directly to see what the problem is. Another possibility may be some kind of plugin conflict.


Kind regards,

Stefan

9 Tickets 3
Brian Savage replied 3 years ago on November 24, 2023 at 7:53pm

well, that's a problem as I need the group pricing.  I have a products that need to be only in the B2B Distro Group or B2B Distro Advanced Group.

Once they distro crosses the 10 threshold, they need to always get the $500 price not the $1000 price so I was planning on putting them in a different group (Distro Advanced Group).  Unless you have a way to look historically at all of their orders to see if they have purchased 10 or more to be at the $500 threshold for the rest of their orders.    This would be a pricing tier based on historical purchases.  

I also cannot find in any of my plugs a way to see a customers orders by product.  In other words, how many of a particular product has the customer purchased.  Seems like a normal store function but I can't find it anywhere. 

2,762
KingsPlugins replied 3 years ago on November 24, 2023 at 8:40pm

well, that's a problem as I need the group pricing. 

I think there's some confusion or maybe I am misunderstanding you. I was not saying to deactivate group price.

I was saying that we have a switch which deactivates group and tiered pricing, and to please make sure someone did NOT accidentally enable that, as it would explain why you do not see that field.

Those switches there deactivate B2BKing features and they should normally look like this https://prnt.sc/zt3pnwPMAyLm, turned off, meaning that all B2BKing features are active.




I also cannot find in any of my plugs a way to see a customers orders by product.  In other words, how many of a particular product has the customer purchased.

I think the closest available option is to go to WooCommerce -> Orders and use "filter by customer" to see all orders of a particular customer:

1368060512.png

However, this does not show products directly, each order would need to be opened to see what products it contains.

9 Tickets 3
Brian Savage replied 3 years ago on November 25, 2023 at 5:45pm

I understand now.  The on button was disabled.... they off button is not disabled. so I was thinking backwards. Now I have the fields but It's ignoring for the Distributors group B2B, the quantity.  When I log in as a Distro, it shows me zero stock status.  It is zero stock status for customers but not not for the Distributors, they are the only ones that can purchase the product now.  

2,762
KingsPlugins replied 3 years ago on December 2, 2023 at 7:41am

Hi Brian,

Yesterday we released an official update, 4.8.50 - if you update to that through the normal update buttons, there is no need to do anything else such as deactivate / reactivate plugins - that was only for the manual update I attached here which is no longer needed.


Regarding this:

3545636040.png

This is a bit unclear, are these products for which you configured B2BKing product visibility, but they are still showing? or what do you mean here by "deactivated"?

If you are indeed configuring product visibility, it might help to go to B2BKing -> Settings -> Other and activate "Product Visibility Cache", as it sets visibility at a deeper level.


Regarding why that product (animated goblin topper) shows in 2 separate places: I am not entirely sure as it depends on your theme and setup, B2BKing does not have features for this, but it seems to me that you might have 2 separate "related products" areas there ("Related" and "You may also like..."). It may be needed to remove one of them.

9 Tickets 3
Brian Savage replied 3 years ago on December 2, 2023 at 4:01pm

Do I leave the core B2B installed or should I deactivate and remove it from the plug ins as I have the pro.  Do you just need the pro or both?

Sign In