Home › Forums › WoodMart support forum › Price Units & Base Price Shown Wrong
Price Units & Base Price Shown Wrong
- This topic has 10 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 9, 2018 at 11:00 am #38589
SwedenformParticipantHi,
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.February 9, 2018 at 12:31 pm #38609
Artem TemosKeymasterHi,
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
February 9, 2018 at 12:42 pm #38618
SwedenformParticipantMaybe 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 costFebruary 9, 2018 at 12:51 pm #38623
SwedenformParticipantSorry the picture were too large, so here again attached 🙂
Attachments:
You must be logged in to view attached files.February 9, 2018 at 2:30 pm #38645
Artem TemosKeymasterOK, 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?
February 9, 2018 at 2:37 pm #38650
SwedenformParticipantSure thing, see private comment
Thanks
February 9, 2018 at 3:00 pm #38664
Artem TemosKeymasterIt doesn’t work http://prntscr.com/icefpr
February 9, 2018 at 3:17 pm #38681
SwedenformParticipantTry this user please
February 9, 2018 at 3:32 pm #38688
Artem TemosKeymasterSeems 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.February 9, 2018 at 3:45 pm #38695
SwedenformParticipantThanks for the fast answer?
How will this behave when updating? Will this get removed or overwritten again?February 9, 2018 at 9:12 pm #38721
Artem TemosKeymasterYou can copy this file to the child theme to prevent losing changes after updates.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register