Jump to content

Info about specific prices


harry84

Recommended Posts

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

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

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

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

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

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