Needs review
Project:
Commerce Add to Cart Extras
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2012 at 21:47 UTC
Updated:
4 Mar 2016 at 19:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
toby53 commented+1 - We could use this too !
Comment #2
toby53 commentedthanks ! - it works great with the Quantity option
Comment #3
ed.hollinghurst commentedYeh this module looks great but I too would also love to see the checkbox option
Comment #4
no2e commentedComment #5
franklca commented+1
Check box with option to use the qty box in the view. Some instances may need qty, some may need check box, some may need both.
Comment #6
Steffan.Hernandez commentedThis module most definitely needs check boxes with quantity fields!!!!
Comment #7
recrit commentedthe attached patch adds a new settings option to the views handler for "Only allow a quantity of 1 with a checkbox input"
Comment #8
pattison22 commentedDoes anyone have an idea of how the have the checkboxes remain checked after the add to cart button has been hit? Trying to prevent double orders incase the user fails to see the additions in the cart.
Much appreciated!
Comment #9
blueblot commentedis it possible to have radiobuttons in stead of checkboxes, limiting the options to 1 choice? In the attached patch you can select more than one checkbox.
thx
blueblot
Comment #10
hcderaad commentedHere is a rewritten version of the quantity handler (including a small change to the module), this version can:
- provide numeric and checkbox input elements
- check for stock on form element creation and form validation
- check for already registered cart line items on element creation and form validation
- add a label to the checkbox
- rewrite the checkbox to a disabled textfield (with the elements title) when no stock available
- product field to use as title/label field is configurable
- checking cart line items is configurable
Another note, i think the .info should include cart as a dependency:
dependencies[] = commerce_cart
I hope this might be helpful?
PS attachment extensions should be .inc
Comment #11
garrettc commentedI've created a patch from hcderaad's changes in #10.
Comment #12
funkeyrandy commentedthis is great but is there a way to have both the checkboxes and qty? really need to be able to check an item that should be added to the cart, while ALSO specifying a custom qty in the field...this would really make this module much more useful
thanks!
Comment #13
summit commentedHi, Yes please for a version with quantity and checkbox in front of it, so using the checkbox to select the product and quantity to select the amount of the product!
Greetings, Martijn
Comment #14
adambinkowski commentedIs there a chance to add checkboxes to dev version? This patch seems to be not actual or i don't know how to use it
Comment #15
micnap commentedRerolled patch from #11 for current version of module.
Comment #16
lauriemustafic commented@micnap thanks for the patch, work perfectly for me.
Comment #17
blasthaus commentedIn patch #15, looks like the intent was to remove the first line:
Comment #18
jpamental commentedIt appears that this won't apply against the latest release (fails at Hunk #5)
I'm going to see if I can manually piece it together but any help would be most welcome in figuring this out as I've lost the checkbox option now. @micnap - any ideas?
Comment #19
jpamental commentedUpdate: seems related to changes in the Stock module from what I can tell. I tried manually updating the .inc file (where Hunk #5 should apply) and ended up with an error message relating to the Commerce Stock module.