Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce variables


Guest

Recommended Posts

Posted

i was wondering how to pass 3 variables to antoher script that i have. the variable i would like passed to the script are

 

Product ID

Order ID

Price

 

i think this is the right file checkout_process.php in catalog i added the following to the end of the file after the closing tag

 

<form action=http://yourdomain.com/confirm.php method=post>
<input type=hidden name=pro_product value="<?=$products_id;?>">
<input type=hidden name=pro_order value="<?=$order_id;?>">
<input type=hidden name=pro_amount value="<?=$subtotal;?>">
<input type=submit name=submit value="Continue">
</form>

 

 

any help would be greatly appreciated

  • 2 months later...
Posted

I am wondering if you managed to figure this one out cause i have the same problem.

 

thanx

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...