updmike Posted May 23, 2003 Posted May 23, 2003 I am trying to instal a affiliate program that will calculate a percentage of the subtotal of the order. I've been looking throught the includes and main php but cant seem to find a variable for sub_total.. Is there a list of all the variables used in OsCommerce Does anyone know the var for the subtotal? Thanks very much.. :?:
blueline Posted May 23, 2003 Posted May 23, 2003 $currencies->format($cart->show_total()); HTH, -Chris Chris Sullivan
josheli Posted May 24, 2003 Posted May 24, 2003 yes, but that will only affect the display of the amount, not the actual amount. depending on what you want to do, you'll probably have to dig around the shopping_cart class to get at the actual amount.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.