View Single Post
  #4  
Old 03-20-2014, 01:02 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Pass additional charge to order data

Is there a reason you want to go that route over calculating a hidden product's price in cart.php and letting the existing functions do the rest of the calculations for you? This gets into tricky areas where you have to ensure the cart totals are correct everywhere (cart, checkout, shipping, tax, invoice, order editing, etc.). I recommend only doing that as a very last resort.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote