webbernet Posted April 23, 2008 Posted April 23, 2008 Hey, really appreciate it if someone can help me out here... I'm trying to create a page that when someone visits; automatically empties the shopping cart and then adds one specific product. so the cart will only have that one item whenever the customer loads that page. please help =) thanx
FIMBLE Posted April 23, 2008 Posted April 23, 2008 is that not a bit cheeky to assume that they will want it? Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
webbernet Posted April 23, 2008 Author Posted April 23, 2008 we are a small magazine. and I have moded Osc to accommodate subscription management. the function I need is for the Subscription Renewal page. so whenever it's opened, the subscription is automatically added to the cart. thanx
burt Posted April 26, 2008 Posted April 26, 2008 I posted more on my blog, but here's the relevant code in case anyone wants the same thing in the future; require('includes/application_top.php'); $cart->remove_all(); $cart->add_cart(1); tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'));
Recommended Posts
Archived
This topic is now archived and is closed to further replies.