Jump to content
elenam

Calculate price per quantity

Recommended Posts

I use Prestashop 1.6.1.6 and have noticed that when you go to product description and in Quantity choose the quantity on + or - the price/ import is not calculated automatically, but remains the price per 1 item..

 

How this can be solved?

 

Thank you

 

Elena 

Share this post


Link to post
Share on other sites

Hello! 

 

To get product price calculated per quantity in PrestaShop, you should configure specific price for this or that product. When adding specific price you indicate quantity and product price to be applied when customer adds indicated number of items to cart. 

 

It is possible to add several specific prices for one product, set limitation per customer, country, product combination, etc.

 

post-783503-0-18697400-1472743471_thumb.png

Share this post


Link to post
Share on other sites

Hi all,

I've used these rules so that the prices change with the quantity, and all works fine.

 

Now in a tpl page I'd like to write the price of some quantity of products.

Before I used this code:

{convertPrice price=$product.price*60}

{convertPrice price=$product.price*90}

 

Now because the price changes with the quantity this rule is not right.

Is there e function that returns the right price, given the quantity and the id article?

Something like getPrice(id_product,quantity) ?

 

thank you very much

 

cld

Share this post


Link to post
Share on other sites
Posted (edited)

Hello Guys, 

i do not know what I am doing wrong or if I understood the behavior wrong but the calculation is not working for me. 

I have a virtual product. I would like to set price 30€ per hour and minimal quantity for sale 4. Hence I expected that it will automatically calculate the product price to 30€.

Then when I will add it to cart with quantity 4 i expected price 120€. But it has still 0€. Of course the price was not recalculated neither on Pricing tab of the product. 

Another problem with calculation I have when creating bundle product. Even if I have manually added there Retail Price, the bundled product price is still 0€.

What I overlook with settings? 

I am using 1.7.5.1.

Thanks and Regards

Reddy

Edited by ReddySk (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More