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

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #604628

    waauff
    Participant

    Dear 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.
    #604749

    Luke Nielsen
    Keymaster

    Hello,

    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

    #604958

    waauff
    Participant

    Hello Luke,

    you’re have the permission for pluig in deactivation and to switch to parents/default theme.

    #605331

    Luke Nielsen
    Keymaster

    Hello,

    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

    #605551

    waauff
    Participant

    Hello,

    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”.

    #605843

    Luke Nielsen
    Keymaster

    Hello,

    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

    #605899

    waauff
    Participant

    Hello 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.
    #606139

    Luke Nielsen
    Keymaster

    Hello,

    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

    #606300

    waauff
    Participant

    Hello,

    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.

    #606406

    Luke Nielsen
    Keymaster

    Hello,

    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

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Bug in product view and preview for variable products with different quantities’ is closed to new replies.