Johno Posted June 29, 2004 Posted June 29, 2004 Greetings all, I'm trying to add 'item b' to the cart whilst staying on (or returning to) the product info page of 'item a'. The Code I'm using is <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name']) . '</a> This give me a button which links to http://www.mydomain.com/product_info.php?products_id=45846471&action=buy_now&products_id=45846684&osCsid=fea1cea57425d37e65c4175fe8de2b1e when clicked I get the correct item (45846684) added to the cart but am redirected to the following url http://www.mydomain.com/product_info.php?osCsid=fea1cea57425d37e65c4175fe8de2b1e This obviously results in 'Product not found!' Any advice would be greatly appreciated. Kind Regards, Johno
Recommended Posts
Archived
This topic is now archived and is closed to further replies.