Add to cart form with quantity option
Posted 05 May 2010 - 05:13 PM
I have looked in the product page article but the only additional fields for the add to cart form is the grouped product options and extra options fields i.e. different size select menu.
I also had a look in the api articles, on the shop:product action article we have a supported form field of product_cart_quantity. I'm, not sure if that is what I am supposed to be working with? There are no examples of how to work with that?
Thanks for your help,
Posted 06 July 2010 - 01:39 PM
For example, business cards can only be bought in quantities of 50, 100, 250, 500, 1000 (with a different cost for each). Is there an easy way to do this or should a combination of product_cart_quantity along with the tiered pricing be used?
Posted 06 July 2010 - 02:28 PM
This task is already in our list. We will create some simple way to specify the quantities in the product management form in the Administration Area and then use them for generating a drop-down list on the front-end.
Thank you for suggesting!
Posted 11 August 2010 - 09:12 AM
Along with this I'm running in to another issue. In this case the client offers 1000 business cards for $99.00. That means that I can't used the tiered pricing, as each card is actually $0.099 (9.9 cents) and Lemonstand rounds up to the nearest whole cent. In this case I think I'm going to work around it by using grouped products but it's something to note for the future.
Posted 12 August 2010 - 10:16 AM
you could do something like product A has extras; 50 $88, 100 $120 etc... that would give you a set of radio buttons to select from on the front-end.
that would also allow you to control your quantities on a product-by-product basis, so card-a has three quantity extras, and card-b has five quantity extras. with a little work on the front-end, you could easily convert the radio buttons to a select box too.
just some ideas to play with
Posted 10 January 2011 - 03:35 PM
Is this functionality available in the current release?
Hi! Do you mean the product quantities management feature, where you can set possible quantity values for individual products? It is #30 in our roadmap (http://lemonstandapp...roadmap/#task30). You can consider implementing this feature with a custom module. Then you do not need to wait until we release the feature. Basically you need to extend the product model with a field which you can use for managing quantities, and use this value on the product page to create a drop-down quantity menu, like I described in this thread above (http://forum.lemonst...ost/1562/#p1562).
If it is all what you need, it is an easy task. Start from downloading a module template for extending the product model from this documentation page: http://lemonstandapp...dule_templates/
Posted 06 December 2012 - 10:26 AM
The product_cart_quantity field is what you are looking for. You can add a drop-down menu in the following way:<select name="product_cart_quantity"> <option value="1">1</option> <option value="2">2</option> ... </select>
I'm also looking for this functionality.. Is there any news? I can't find anything else about it. It's a much better way to set the quantity means that you can elimiate the need to update the cart when the quantity is changed there by having it automatically update the page.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users