Public Ticket #3577832

Tier price dynamic display

Closed
Comments
2 Tickets 1
Emilis started the conversation 3 years ago on February 5, 2024 at 5:36pm

I am using Divi and custom single product page created with Theme builder. 

#1 active price doesn't work if "Show Tiered Price Range" is not ticked. 

#2 dynamic color price range doesn't work on Divi's created page through Theme builder. It changes color on a press, but not regarding the quantity chosen. When the template is disabled, it works.  


What I would like to achieve is: On top there is a Regular price crossed out and then a B2B price is shown besides. This doesn't change, keeps the same. 
On the bottom there is an active price which changes regarding the quantity. 

I don't like the "Show tiered price range" solution, because it does not show regular price. Also the price range is not needed, but I think it's easily achievable to hide it with a help of css.  

 Solution to #1 Maybe there is a shortcode for dynamic active price? Then it should solve most of the problems.  

 Regarding the #2 - no clue. I won't use standard single product page. Maybe there is a shortcode for the tier table as well? But the question is how to hide the original one and how would it work with variable products?

2,762
KingsPlugins replied 3 years ago on February 11, 2024 at 7:13pm

Hi there,

Thank you for your patience on this,


I understand that you are using the B2BKing Pro plugin? For support, kindly please provide us with your license key for the plugin, as we need an active license for support purposes. To get your key:

- If you purchased on KingsPlugins.com - Where is my KingsPlugins license key?

- If you purchased on CodeCanyon (Envato/ThemeForest): Where is my Envato purchase code?


Regarding your questions:

#1 active price doesn't work if "Show Tiered Price Range" is not ticked. 

This is the normal behaviour for the plugin. One of the reasons is that the active price needs the range in order to be able to go to the default / min / max values. 

For example when the qty is set to 1, the active price goes to the lowest range qty. That is why this feature doesn't work without the range, and it cannot work only through a shortcode.

A solution may be: Enable the range in settings, and add this code snippet to your site:

add_filter('b2bking_tiered_hide_range','__return_true');

It will show the normal price + a hidden range.

#2 dynamic color price range doesn't work on Divi's created page through Theme builder. It changes color on a press, but not regarding the quantity chosen. When the template is disabled, it works.  

Perhaps the issue has to do with the classes of the quantity input field - it may not have a class that our plugin can detect.

It would help if you can share a link to a page where we can see the issue, so I can check.





Sign In