I also have radio buttons for type of paper, rounded corners, etc. That have prices connected to them. There are other price additions through checkboxes as well.
All of these prices total correctly but the problem is when the user gets to the cart or the check out page. They will see that their business cards will total say $100.00. I'd like it to show them how the individual options add up to that total. Right now it just shows the options below the name of the product.
I found this code in the Cart.tpl:
Code: Select all
<?php foreach ($product['option'] as $option) { ?>
- <small><?php echo $option['name']; ?>: <?php echo $option['value']; ?></small><br />
<?php } ?>
In the product.tpl and the product.php (controller) we have $option_value['price'] but I don't see this in the cart.php or the cart.tpl. How can we pull this variable into the cart and the checkout page to add it?