harry84 Posted June 28, 2021 Share Posted June 28, 2021 Hi! I have business cards that I want to sell at specific prices by quantity, like 100 business cards = € 20 200 business cards = € 25 500 business cards = € 30 I am playing with specific prices, but when I add 100 to the cart, instead of seeing 20 € I see 2,000 €! I have no idea how to show the price of 100 business cards as a basis on the product page and then respect the price table described above. It seems to me such a trivial thing that I am unable to make it work. I await yours! Link to comment Share on other sites More sharing options...
razaro Posted June 29, 2021 Share Posted June 29, 2021 Check official documentation http://doc.prestashop.com/display/PS17/Managing+Products#ManagingProducts-Specificprices:ManagingDiscounts Think you should check Starting at [] unit. so for each specific price that can be 200, then 500. Link to comment Share on other sites More sharing options...
harry84 Posted June 29, 2021 Author Share Posted June 29, 2021 I did this: - single-sided and double-sided printing combinations have a price of 0, minimum quantity 100 - then I did just as you say and the documentation, adding the price to 100, 200 and 500. But when I add 100 to the cart, instead of seeing 20 € I see 2,000 € (20 € x 100)! I can't put the unit price of a single business card, for example € 0.20 to make ends meet. Could you kindly do a simulation of your development shop how should I behave in this situation? The question is that it is not a discount, simply a specific price per quantity, why does PrestaShop not take into account what is set? Link to comment Share on other sites More sharing options...
razaro Posted June 30, 2021 Share Posted June 30, 2021 Ah OK so you do not want to give customers chance to buy 55 cards or 150. If you just want to offer in 100, 200 or 500 maybe just to make combination ? I first thought you want to sell from 0-100 for 0.20 and so on. Link to comment Share on other sites More sharing options...
harry84 Posted June 30, 2021 Author Share Posted June 30, 2021 That's right, I just want to offer in 100, 200 or 500. Link to comment Share on other sites More sharing options...
razaro Posted July 1, 2021 Share Posted July 1, 2021 Think simplest solution is to use attributes and combinations. So options will be: Print: single-sided double-sided Pack: 100 200 500 And assign prices like you mention in beginning. Link to comment Share on other sites More sharing options...
harry84 Posted July 1, 2021 Author Share Posted July 1, 2021 Sounds great to me. And how do I hide the quantity field since Quantity 1 will appear below but in reality I will have chosen the quantity with the Pack attribute? Link to comment Share on other sites More sharing options...
razaro Posted July 1, 2021 Share Posted July 1, 2021 Depending on your PrestaShop version and theme you could hide quantity field in few fays. In 1.7 if you inspect code you should see that body element have lot of different classes and there is one for product. For example in default theme you could hide quantity field and label with : body.product-hummingbird-printed-sweater .product-quantity .qty { display: none; } body.product-hummingbird-printed-sweater .product-add-to-cart .control-label { display: none; } Other ways are to edit product template add condition if, and compare with product id. Lastly you can define specific template for single product where you can remove parts you do not need https://devdocs.prestashop.com/1.7/themes/reference/templates/templates-layouts/#specific-templates 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