Meaning, i would like to avoid opencart PRODUCT OPTION system and also avoid adding product options to each product one by one.
I need a simple hardcoded (option names, prices coded in advance without setting anything inside admin panel) form with two optional checkboxes (add bag, add MS Office), which would - if selected add bag and/or microsoft office to cart alongside the chosen laptop. (also with increased price).
Code: Select all
$category = // category ID from product controller;
<?php if($category==59) } ?>
<div>
<input type="checkbox" name="office" value="200"/> Add office (+200€)
<br/>
<input type="checkbox" name="bag" value="45"/> Add office (+45€)
</div>
<?php } ?>
Please give me some suggestions / solutions on how to proceed with this upgrade.