Jump to content

Product price zero on product page


remyessers

Recommended Posts

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

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!!

  • Like 8
Link to comment
Share on other sites

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

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

  • 2 months later...
  • 3 weeks later...
  • 2 months later...
  • 1 month later...

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 by paveli (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • 1 month later...

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

  • 3 weeks later...
  • 2 weeks later...
  • 1 year later...
  • 8 months later...

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

  • 2 years later...
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 by omine (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...