I am trying to:
I am using the plugin "b2b market". With this plugin i am able to define prices on the number of items the user select (f.e. if he just select 1 the price is 25,-€, if he select 2 the price is 10,-€).
With the default woocommerce template for products this works fine and the price is updating depending on what number of items is selected. But if use a toolset template, the price stays always the same.
I am a non coder. So i have no clue what i need to do.
At the moment the woocommerce template is active so you are able to see how it should works.
Link to a page where the issue can be seen:
hidden link
(just select the variation "100" and select 2 items - the price should fall from 25,-€ to 10,-€)
I expected to see:
The price should update in the toolset template
Instead, I got:
The price stays always the same
Hi, I was taking a look at this but it seems like the prices are shown as a range now. When I change the quantity to 2, some other content disappears. Are you running some tests? Is there another product I can test with?
Hi Christian,
sorry, maybe my description wasn´t clear enough.
When you visited the site the standard woocommerce template was active. With this template updating the price depending how many items are selected works fine.
But it doesn´t work with the toolset content template i´ve created (Produkte Template Test). For that template i´m using the fields {!{wpv-woo-product-price}!} and [wpv-woo-buy-options add_to_cart_text="In den Warenkorb"].
The template shows the regular price but it´s not updating the price anymore when i change the number of items (like the standard template does).
Since only the standard template or the toolset templates can be activated at the same time, i´ve now activated the toolset template for you to see what the problem is.
If you like to see how the plugin changes the prices again, please feel free to change the template via woocommerce views from toolset to "WooCommerce Plugin Default Templates".
I hope my explanation helps. 🙂
Kai
Okay thanks for the additional information but I'm not seeing exactly what you described. Here's a screenshot of what I'm seeing - the price isn't 10, it's "-". I'm not sure what's going on, I have the default WC default template for products active.
Hi,
is it possible that you checked the functionality as a logged in user? If so you need to log out or use a incognito tab. Because the prices are shown per user role.
As a guest (logged out user) you should see the prices and it´s functionality as descripted.
Can you please check again. Thanks
Kai
Ah yes, that was the problem. Thank you, I'm running some more tests now and I will update you shortly.
Okay check now please. I added a CSS class "summary" to the right column in your WPBakery template design. The plugin is looking for that class in the DOM to know which elements to replace, but that did not exist in your design anywhere. After I added the class I checked the product page and I can see the prices updating. Can you confirm?
That worked fine. Thank you for your support with that.