Home › Forums › WoodMart support forum › Bug in product view and preview for variable products with different quantities
Bug in product view and preview for variable products with different quantities
- This topic has 9 replies, 2 voices, and was last updated 3 weeks, 6 days ago by Luke Nielsen.
-
AuthorPosts
-
October 12, 2024 at 9:33 pm #604628
waauffParticipantDear support team,
When creating my store, I noticed a few bugs in the theme that make it impossible for me to display variable products with different quantities correctly and consistently.
Doing it like you explaind here doesn’t lead to the right result for “variable products” with different quantities:
https://xtemos.com/docs-topic/product-quantity-units-of-measurements/
You can see that I have made the right settings by the fact that the display in the shopping cart is 100% correct!
Thanks for your help!
Attachments:
You must be logged in to view attached files.October 14, 2024 at 10:00 am #604749
Luke NielsenKeymasterHello,
Please, confirm the permission for plugins deactivation, and switching to the parent/default theme. As soon as we complete the testing we will enable it all back. Also, send the admin access via the private area.
Kind Regards
October 14, 2024 at 8:28 pm #604958
waauffParticipantHello Luke,
you’re have the permission for pluig in deactivation and to switch to parents/default theme.
October 16, 2024 at 9:35 am #605331
Luke NielsenKeymasterHello,
It works well without 3rd party plugins – https://take.ms/F8s90, when enabling back I found that the Germanized adds that field – https://take.ms/grwvI which does not reflect the unit of measurement value from our theme. So just disable that https://take.ms/Gthqk field and use the default one – https://take.ms/vtQgy
Kind Regards
October 16, 2024 at 6:15 pm #605551
waauffParticipantHello,
No, I can’t do that for several reasons.
1. To comply with the German rules, two prices must be displayed. One price is the price per kg (this is higher if, for example, only 250 g are purchased!) and the other price is the price of the quantity that is actually purchased. An example to illustrate this:
I buy a 1kg bag of coffee for 30€. Then the kg price is 30€/kg.
I buy 4 times 250g bags of coffee for 12€ each. Then the kg price is 48€/kg.
It’s like a discount when you buy XXL packs!
2. Even if I deactivate the plugin, the price is not displayed correctly. Because the quantity varies and so does the price per kg. I could adjust the price and e.g. enter the correct kg price at 250 g of 48€/kg but then the customer would also have to pay 48€. But he only has to pay 12€ because he only buys 250g and not 1kg!
Long story short. I need the extra field from germaninzed! Your product description says that the theme is compatible with germaninzed. Since it is displayed correctly in the shopping cart and is also displayed almost correctly on the product page, it must be a display/transfer error in the theme code!
I really like your theme but without this bug fix I can’t work with it.
Please help me and all other users who want to sell different quantities as “variable products”.
October 17, 2024 at 4:45 pm #605843
Luke NielsenKeymasterHello,
Our option the “Hide to price” hides the prefix of the prices and this option does not work with the 3rd party plugins that do some modifying to the price and it’s mentioned in its description – https://monosnap.com/file/EUarSwXmPoya6DN40aSkovOe4xRBJc
So you need to disable the “Hide to price” option to make it work right.
Kind Regards
October 17, 2024 at 11:02 pm #605899
waauffParticipantHello Luke,
to deactivate the “hide to price” option helped however the hint that this can happen is missing in my version and it is also a pity that the option does not work with germanized plugin.
Nevertheless, thank you that helped!
But what is still not right is that the same price is shown twice in the product preview and not the different prices (in €/kg) as on the product page.
I have taken screenshots again and marked where it is wrong and also screenshots of the product view where it is correct.
It doesn’t matter if I select a variant or not.I have also tried to select different preview designs but it remains wrong no matter which one I select.
Please fix that.
Kind Regards
Attachments:
You must be logged in to view attached files.October 18, 2024 at 4:54 pm #606139
Luke NielsenKeymasterHello,
After reviewing this issue on the product loop, we can see that you are using “Quick shop” -> On variation click, which contains the functionality of the variation form from the single product page. In this case, unfortunately, third-party plugin functionality cannot work correctly. However, we can fix this using the following custom code:
.product-grid-item:not(.wd-variation-active) .wc-gzd-additional-info { display: none; }
Custom JS > On document ready
(function($) { $('.product-grid-item .wc-gzd-additional-info-loop').removeClass('wc-gzd-additional-info-loop') })(jQuery);
Kind Regards
- This reply was modified 1 month ago by Luke Nielsen.
October 20, 2024 at 7:02 pm #606300
waauffParticipantHello,
Thank you very much for your help.
I see that you have already added the custom css and java code and it now works as desired.I have now restricted your access again.
Thanks again for the help and have a nice Sunday.
October 21, 2024 at 11:21 am #606406
Luke NielsenKeymasterHello,
Thank you for your message! We’re happy to hear that the issue was resolved and that everything is working as desired now. If you need any further assistance or have any other questions in the future, don’t hesitate to reach out. We’re always here to help!
Have a great day!
Kind regards
-
AuthorPosts
Tagged: different quantities, variable products
The topic ‘Bug in product view and preview for variable products with different quantities’ is closed to new replies.
- You must be logged in to create new topics. Login / Register