- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Price per quantity
Hi, I need implement a different price per quantity in the same product, example?
1 bottle -> 10€
3 bottle -> 25€
5 bottles -> 40€
I need select with radio buttons and I should add quantity for each option.
how can I do?
There are any extension for that?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
Magento has tiered pricing. Look for it in the price tab.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
Yes, but this is not what I need.
I want that the customer select the radio button option with the quantity and price.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
Hello Maimus,
I suggest for you: http://www.magentocommerce.com/magento-connect/product-units-and-quantities.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
Any more suggest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
this might work for you, just might...
http://www.magentocommerce.com/magento-connect/product-units-and-quantities.html
I had done something like what you described before, will contribute it when I have time.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Price per quantity
I misread that part of the radio button.
Use the tiered pricing that's already in the system and modify the template to loop through your defined quantities and output a radio button with a specified quantity in the radio button value.
Some sample code:
<?php foreach(array('1','5','10') as $qtyStep ) { echo '<input type="radio" name="qty" value="'.$qtyStep.'" />'; } ?>
If you remove the default input qty text field and use radio buttons with the same qty name, this should work for you (controller doesn't care if it's radio, text or select). Also, look into catalog/product/view/tierprices.phtml and it's relevant block to see how to get tiered pricing from the product.