Totally Zenned
- Join Date:
- Jul 2012
- Posts:
- 16,908
- Plugin Contributions:
- 2
Checkbox instead of buy now button on all products page
linuxguy2:
ZC 1.5.1
Beside being difficult to implement, a checkbox feature on the "Products" has some short comings.
A increment by minimum quantity "button" would work much better for mobile devices.
That way one could tap the "Button" or type in the quantities.[Attachment no longer available]
If I'm not mistaken all the logic should already be in ZC so the question is how to implement it.
I guess that means one would add a third option to the admin section or it could be a separate option.[Attachment no longer available]
What are/were the difficulties of implementing? Guessing CSS implementation would make the presentation better, but that was not done in the above implementation.
If I understand correctly, you are asking that there be a button that will add say 5 counts of an item at each press. This is the same thing as having a "single" item that is sold in groups of 5. So the description would be something like buy five widgets, and for each single quantity of widget means five are sent. The described condition (request) seems to be the wrong usage of the minimum value if each time the item is added to the cart that the minimum value is added, althouugh I thought there was another selection for the product info that would force that version of adding a product (would help with inventory control to an extent).
If want what has been requested above, there is an option I thought that shows a button for every product where the minimum value is prepopulated, then would simply select each item which would add it to the cart and depending on the other settings will either stay on the page or go to the cart. I don't think any code change would be required at all, just adjust the admin settings and if correct about forcing a minimum quantity of product (which maybe it is by setting the "step" equal to the minimum that forces that, then you are back to the original code, just set differently.
I do think I forgot to indicate what settings needed to be what in order to display the the checkbox/textbox options. I can say that.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...