View Single Post
  #7  
Old 08-27-2008, 06:23 AM
  Jarron's Avatar 
Jarron Jarron is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Hong Kong
Posts: 44
 

Default Re: Adding a custom hidden input to cartform

That last tip about the redirecting to itself was what I was missing. THANK YOU!

But pls understand if I don't deliver on the love child.....

For those who follow, was resolved by adding the following to cart.php:


Code:
if (!empty($delivery_date)) $url_args[] = "delivery_date=".$delivery_date;


...below this:

Code:
if (!empty($paymentid)) $url_args[] = "paymentid=".$paymentid;


This makes the posted variable $delivery_date available to all code in cart.php following this redirect:



Code:
if ($return_url)
func_header_location($return_url);

This forum is fantastic - few forums offer such benevolent experts willing to give others a hand. I applaud all that contribute.

thx & I hope this solution helps someone else,
js
__________________
/Jarron Stephens/X-Cart Gold/4.1.12+4.4
/Marketing Manager/AOM/Returns/Massive Customisation....it hurts
Reply With Quote