Gersh_ny Posted July 28, 2004 Posted July 28, 2004 A nice addition to your shopping cart if you want the option prices to display next to the option value: 1.open to catalog/shopping_cart.php 2. At approximately line 159 Search for: $products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; 3. Add right below it the lines: if($products[$i][$option]['options_values_price']>0){ $products_name .=' + $'.sprintf("%01.2f", $products[$i][$option]['options_values_price']);} You are all set the shopping cart should now display option prices Post your comments please Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.