I need a checkbox before "add to cart" button saying "Try free sample".
If the user selects the checkbox the price of the product should be set to zero, no matter what color and size of product he has choosed.
How should I do it?
Thanks in advance.
Attachments
screenshot.png (97.55 KiB) Viewed 1833 times
How do you intend to give them the free sample?
Something tells me however they might still need to go through to payment even at £0.00.
*Disclaimer: I hope I have been as clear as possible and helpful. If you are unsure of anything please ask I will be happy to help - I do frequently watch the posts I have posted in previously.
How to change prices across a whole multi-store, with a baseline price for each product:
http://forum.opencart.com/viewtopic.php ... 24#p406793
Product -> Options -> Type in 'Checkbox' in the input field. Click the green button. Now add what information you require and keep the price 0.
However, the problem here is in that you have 'Color' as a mandatory field. Which you will need to turn off.
To Turn if off:
- Product -> Options -> Choose 'select' on the left side and at the top you will see an option for 'Required' you will need to turn this off. You will need to turn this 'Required' option off for both your checkbox and drop down option. Which means a user could add the product to there shopping cart for free with selecting a color or sample. I assume in this case you contact them or send them a sample? Otherwise this is a problem.
*Disclaimer: I hope I have been as clear as possible and helpful. If you are unsure of anything please ask I will be happy to help - I do frequently watch the posts I have posted in previously.
How to change prices across a whole multi-store, with a baseline price for each product:
http://forum.opencart.com/viewtopic.php ... 24#p406793
thus the product amount will become zero. And my problem would solve.
My aim is to make the price set to zero if it is a sample.
Thanks in advance.
If they are the same price then yes that should work. Just put -20 or -15 etc... in the price field on the checkbox 'sample' field.
*Disclaimer: I hope I have been as clear as possible and helpful. If you are unsure of anything please ask I will be happy to help - I do frequently watch the posts I have posted in previously.
How to change prices across a whole multi-store, with a baseline price for each product:
http://forum.opencart.com/viewtopic.php ... 24#p406793
Color + No Envelope = Price 1.
Color + Yes Envelope = Price 2.
The 'Free Sample' can only be one price that you take off.
You could maybe give them two 'Free Sample' choices (one with envelope and one without) but now it just gets complicated for the person buying.
*Disclaimer: I hope I have been as clear as possible and helpful. If you are unsure of anything please ask I will be happy to help - I do frequently watch the posts I have posted in previously.
How to change prices across a whole multi-store, with a baseline price for each product:
http://forum.opencart.com/viewtopic.php ... 24#p406793
I need that the amount in the green box should be equal to the total amount (including whether customer wants envelope or not and which color ) and not just the base price.
What should I do? Do I have to add some code?
Attachments
Screenshot - 20-05-2013 , 21_59_10.png (93.99 KiB) Viewed 1796 times
Users browsing this forum: No registered users and 3 guests