remyessers Posted May 23, 2013 Share Posted May 23, 2013 The product price with discount shows as zero when a product has combinations on the product page. On the product list the price shows correctly. See this link: http://robin-design.nl/vloerlampen/443-bended-trileg-vloerlamp-zwart-metalen-driepoot.html This product has one combination, but is just an example. If a product has attributes and I apply a specific price discount, the price shows up as 0.00, except if I uncheck "Leave base price" I've seen a few more topics about this issue, but none of them helped for me. Perhaps anyone knows the issue? I use prestashop 1.5.3 Link to comment Share on other sites More sharing options...
Paul C Posted May 23, 2013 Share Posted May 23, 2013 If there's no default attribute set on the product then this will happen. If you go to the combinations tab for the product and set one of the combinations as default then the price will display correctly. Unfortunately this happens even if the combinations have no price impact!! 8 Link to comment Share on other sites More sharing options...
remyessers Posted May 23, 2013 Author Share Posted May 23, 2013 Hi Paul, thanks for your reply. Actually, it does happen when I set a default combination... It only shows the correct price if I uncheck "Leave base price" , but I can't uncheck this if I use e.g. a category price rule... Link to comment Share on other sites More sharing options...
remyessers Posted May 23, 2013 Author Share Posted May 23, 2013 Also when I look in source code, it shows the correct price: <p id="old_price"><span id="old_price_display">€ 99.00</span>incl. btw</p> <span itemprop="price" id="our_price_display">€ 89.00</span> So perhaps it's a javascript error? Link to comment Share on other sites More sharing options...
NOSaint Posted July 30, 2013 Share Posted July 30, 2013 Thanks Paul, your solution worked for me :-) Link to comment Share on other sites More sharing options...
bigdecisionweb Posted August 15, 2013 Share Posted August 15, 2013 Hi I have the same issue (sorry - just created a new topic then saw this) - I have a default combination but price is zero until I uncheck 'leave base price' ? Can anyone shed any light on this? Link to comment Share on other sites More sharing options...
omine Posted November 5, 2013 Share Posted November 5, 2013 thanks!! the solution on post #2 works!! I'm migrating from PS 1.4 to PS 1.5.6 Link to comment Share on other sites More sharing options...
paveli Posted January 3, 2014 Share Posted January 3, 2014 (edited) Another way to do this might be (i'm migrating from 1.4.7 to 1.5.6.1): UPDATE ps_specific_price AS p1 LEFT JOIN ps_product AS p2 ON p1.id_product= p2.id_product LEFT JOIN ps_product_attribute AS p3 ON p2.id_product= p3.id_product SET p1.price=p2.price WHERE p3.id_product IS NOT NULL AND p1.price = -1 AND reduction_type = 'amount' Edited January 3, 2014 by paveli (see edit history) Link to comment Share on other sites More sharing options...
J.Sahu Posted January 17, 2014 Share Posted January 17, 2014 (edited) Paul C's simple solution worked for me. Thanks a lot. Edited January 17, 2014 by J.Sahu (see edit history) Link to comment Share on other sites More sharing options...
dfishop Posted July 8, 2014 Share Posted July 8, 2014 I am new to this. Can anyone tell me where will i see the option of "leave base price". Link to comment Share on other sites More sharing options...
Phil_F Posted August 29, 2014 Share Posted August 29, 2014 Hi, I used to have the probblem on v1.5 but it was solved by changing the default combination. Now i have the same problem with v1.6.0.8 and I can't get it to show the price on the product page for the products which have combinations. The price is showed on the category page but not on the product page. Anyone experienced it on v1.6? Link to comment Share on other sites More sharing options...
omine Posted August 29, 2014 Share Posted August 29, 2014 @Phil_F i faced the problem after upgrade from 1.5 to 1.6.. i dont remember how i solved, i think i published in other topic... but i remember that was something with theme compatibility, not with PS.. Link to comment Share on other sites More sharing options...
UrsaMajor Posted September 17, 2014 Share Posted September 17, 2014 (edited) Yes, it's a theme issue. Edit themes/yourthemename/product.tpl 1. Find: {$group_reduction} 2. Replace with: {1-$group_reduction} Taken from http://forge.prestashop.com/browse/PSCSX-1835. Edited September 17, 2014 by UrsaMajor (see edit history) 4 Link to comment Share on other sites More sharing options...
Denis94 Posted October 2, 2014 Share Posted October 2, 2014 Yes, it's a theme issue. Edit themes/yourthemename/product.tpl 1. Find: {$group_reduction} 2. Replace with: {1-$group_reduction} Taken from http://forge.prestashop.com/browse/PSCSX-1835. You solution working for me! 1 Link to comment Share on other sites More sharing options...
rehanchoudhry@gmail Posted February 19, 2016 Share Posted February 19, 2016 Yes, it's a theme issue. Edit themes/yourthemename/product.tpl 1. Find: {$group_reduction} 2. Replace with: {1-$group_reduction} Taken from http://forge.prestashop.com/browse/PSCSX-1835. yes it is the right solution, if you changed the theme. Link to comment Share on other sites More sharing options...
glennlawre Posted October 22, 2016 Share Posted October 22, 2016 If there's no default attribute set on the product then this will happen. If you go to the combinations tab for the product and set one of the combinations as default then the price will display correctly. Unfortunately this happens even if the combinations have no price impact!! Worked for me, thanks... Link to comment Share on other sites More sharing options...
oliiix Posted November 1, 2018 Share Posted November 1, 2018 On 11/5/2013 at 3:56 PM, omine said: thanks!! the solution on post #2 works!! I'm migrating from PS 1.4 to PS 1.5.6 No it doesn't you were having a different problem!! Link to comment Share on other sites More sharing options...
omine Posted November 1, 2018 Share Posted November 1, 2018 (edited) 3 hours ago, oliiix said: No it doesn't you were having a different problem!! I don't remember. My comment has 5 years ago and a lot of thing changed here in this forum. The position of posts and the layout... About 1 year later had the same problem as related here in August 29, 2014. After Since of then i never more found this problem again. Now i am using PS 1.7 Give a look on this thread: https://www.prestashop.com/forums/topic/320083-000-prices-problem-at-homepage-and-categories-page/ Edited November 1, 2018 by omine (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now