Author Topic

Alex Jones

Thursday 21 August 2003 9:52:08 am

Comment38589

Okay, I have added an insane amount of debug notices to basket.php and am positive that the code that begins with
if ( $http->hasPostVariable( "ActionAddToBasket" ) ) on line 52 is not triggered when I click on a button adding a product to my cart. Ever. According to PHP there aren't any entries in the global _POST (or $GLOBALS["HTTP_POST_VARS"]) arrays when viewing the result of adding a product to the cart.

Yet the product is added to my cart. How??? All I want to do is pass an additional variable from my product page to the cart, yet I can't for the life of me determine where the posted variables get dropped and how the cart still manages to know what product to add.

Please help - this is the last major hurdle for me to take a large site live and it is pushing me to the edge of sanity. There has got to be an answer.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>