Jump to content

Display the new price instead the discount when you have different prices


Recommended Posts

Helo everyone!

 

 

I'm new, here and creating virtual shops.

 

 

I have my shop working perfectly, but I have found a little problem.

 

I've created a product.

The product has a price of $100 when you buy one.

A price of $90 when you buy 500.

And a price of $80 when you buy 1000.

 

And, prestashop can show something like that:

-----------------------------------------------------

UNITS DISCOUNT

500+ -10%

1000+ -20%

 

 

or that

-----------------------------------------------------

UNITS DISCOUNT

500+ -$10

1000+ -$20

 

And what i want is

 

-----------------------------------------------------

UNITS NEW PRICE

500+ $90

1000+ $80

 

 

It's possible to do something like that?

 

Thanks.

 

-----------------------------------------------------

UNITS DISCOUNT

500+ -10%

1000+ -20%

Link to comment
Share on other sites

Hi,

Do you know how to edit templates? If so, you can open up product.tpl, locate the "quantity_discounts" (about line 453 of the default one) foreach, and, instead of displaying {convertPrice price=$quantity_discount.real_value|floatval}, you set it to display {convertPrice price=$quantity_discount.price}

 

of course, things might need to be adjusted if you use/don't use taxes

 

Cheers!

  • Like 1
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...