Hi again David, sorry to trouble you
Ive been trying to transmit the fields days & tcurrency i tried get session and post but i cant get it to do what its supposed to im not sure if there may be a conflict with some of the code and i realised you have allready called session on a page so i was wondering id there an easy way to transmit the data to pto_product from pto_search here's what i have at the moment this is the script from search:
{code saved}
Best Regards
Michael
thanks David
that got everything working
Best regards,
Michael
Hi Michael,
In pto_common.php you'll find the following code at line 48 that generates product page URLs throughout the script:
return get_bloginfo('url').$pto_config_productBaseHREF.pto_common_hyphenate($product->normalised_name).".html";
...if you REPLACE that with:
$retval = get_bloginfo('url').$pto_config_productBaseHREF.pto_common_hyphenate($product->normalised_name).".html";
if (isset($_GET["days"])) $retval .= "?days=".$_GET["days"];
if (isset($_GET["tcurrency"])) $retval .= "&tcurrency=".$_GET["tcurrency"];
return $retval;
...then your days and tcurrency variables should be available on the product page...
Cheers,
David.
--
PriceTapestry.com