PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[SOLVED] How to have several prices for one product

5 replies to this topic
#1
troi21

    PrestaShop Newbie

  • Members
  • Pip
  • 5 posts
Hello
I want to configure my product pages with a dropdown menu with different quantities (say from 50 to 10,000). The user would select the quantity from the menu and then add to cart. Is it possible to do this in Prestashop?

#2
Viktor99

    PrestaShop Apprentice

  • Members
  • PipPip
  • 66 posts
Yes, it is possible in prestashop .
Here is example : http://www.generalme...-micropore.html

For product wih different quantities use atributes. Ex : for 1 buc price is 50 for 2 buc price is + 10 -> result product with 2 buc is 60.
With prestashop vers 1.2.4.0 or later you can use attributes generator
www.gazduire-siteuri.ro
www.infinity-it.ro
www.generalmed.ro

#3
troi21

    PrestaShop Newbie

  • Members
  • Pip
  • 5 posts
Thanks so much for your help. It has worked with the quantities in the drop down menu and the pricing changes with each different quantity. However, I don't know how to get rid of the original Quantity text field at the bottom.

Attached Files



#4
troi21

    PrestaShop Newbie

  • Members
  • Pip
  • 5 posts
Sorted it.

#5
kate5000

    PrestaShop Newbie

  • Members
  • Pip
  • 13 posts
hi troi,

Just wondering - how did you get rid of the quantity box after all? I'm trying to do something similar on my site.

Thanks,

Kate
Sweet Cricket Stationery

#6
rocky

    PrestaShop Superstar

  • US Moderators
  • 9988 posts
Change line 256 of product.tpl from:


quantity == 0) || $virtual} style="display:none;"{/if}>



to:


quantity == 0) || $virtual}*} style="display:none;"{*{/if}*}>


Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.