cancel
Showing results for 
Search instead for 
Did you mean: 

How to set item quantities?

How to set item quantities?

Hi there,

 

I am using latest version of Magento.

 

Now, I want to do this:

 

One item cost 10 €.

I will "offer" a quantity list, how this:

 

1 = 10 €

5 = 50 €

10 = 100 € and so on.

 

I do knot want that customer put quantity self.

 

How to realize it?

 

Regards,

 

 

 

6 REPLIES 6

Re: How to set item quantities?

Yes possible to set price based on QTY, use features of Tier Price and check whether meets with your needs. You can set Tier price from "Price" tab.

 

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: How to set item quantities?

Hi there,

 

thanks for your answer.

 

But it does not fix my problem.

 

I do not want that customer can put a number of items.. 

 

I will only show a dropdown list (100 piece, 200 piece and so on)

 

How can I offer this?

Re: How to set item quantities?

Im sure there are a lot of extensions for this, but to quickly hack it, you can try replace qty input in catalog/produdct/view/addtocart.phtml with something like this

<select name="qty" id="qty">
<?php $_tierPrices = $this->getTierPrices();?>
<?php foreach($_tierPrices  as $_tierPrice):?>
<option value="<?php echo $_tierPrice['pirce_qty'];?>"><?php echo $_tierPrice['pirce_qty'];?></option>
<?php endforeach;?>
</select>

 

Re: How to set item quantities?

and remember customers can still modify qty to anything in cart page, so keep hacking or find an extension

Re: How to set item quantities?

Hi there,

 

thanks for your message.

 

1) Where to find "catalog/produdct/view/addtocart.phtml"

 

2) Can you post a few extension links for this setting?

 

Regards,

Re: How to set item quantities?