Home Forums WoodMart support forum Price Units & Base Price Shown Wrong

Price Units & Base Price Shown Wrong

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #38589

    Swedenform
    Participant

    Hi,

    I have Woocommerce Germanized PRO installed (which you support) and activated the atuomatical calculation of the base price (as I have to by law in Germany).

    So in the template there’s a small problem when doing this (see Screenshot please).

    The shown 12,50 € / kg is right and the automatical calculation works perfectly here, but it doesn’t show the price what the selected variation costs when variations have different prices.

    You can see here for a product I have created:
    http://swedenformshop.wpengine.com/produkt/baumwolle-neb-16-2sedfadf/

    Here’s even from a product from your demo content: http://swedenformshop.wpengine.com/produkt/variable-product-example/

    Did I do a logical mistake here or is there a problem with the variant view of your template?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #38609

    Artem Temos
    Keymaster

    Hi,

    We tested this on your website and see that from our theme side there are no any problems. Did you test how it works with the default theme to see if there are some differences?

    Regards

    #38618

    Swedenform
    Participant

    Maybe I need to explain it a little bit deeper.

    1kg is the base price that needs to be shown. The piece that’s sold is 250 gram and has a price (12-18 €). This is what the customer adds to the cart.
    The Wooccommerce Germanized plugin then calculates the correct base price depending how much the piece the customer selects costs to show it to him.

    Tested this with the Twentyfifteen Template and it shows correctly.

    Your theme, however, switches that around and only shows the correctly calculated base price per kg but still shows the whole price range of the variants on top of it
    => when I’m the customer I don’t see how much the variant I just selected will cost

    #38623

    Swedenform
    Participant

    Sorry the picture were too large, so here again attached 🙂

    Attachments:
    You must be logged in to view attached files.
    #38645

    Artem Temos
    Keymaster

    OK, so we see that the first price line is not changed with our theme. Could you please send us your FTP access so we can check what is wrong there?

    #38650

    Swedenform
    Participant

    Sure thing, see private comment

    Thanks

    #38664

    Artem Temos
    Keymaster

    It doesn’t work http://prntscr.com/icefpr

    #38681

    Swedenform
    Participant

    Try this user please

    #38688

    Artem Temos
    Keymaster

    Seems that this plugin has some specific jQuery selector to get the product price and if we add some elements before the price it stops working. If you edit the file woodmart/woocommerce/content-single-product.php and remove this code https://gyazo.com/378449cacb2b3457e4418a8f73750d20 it starts working.

    #38695

    Swedenform
    Participant

    Thanks for the fast answer?
    How will this behave when updating? Will this get removed or overwritten again?

    #38721

    Artem Temos
    Keymaster

    You can copy this file to the child theme to prevent losing changes after updates.

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