outpost7 Posted September 23, 2002 Posted September 23, 2002 :oops: OK, so I have designed a site, fit it around the OScommerce code and now that I have put other links on the page, I get a new session id each time I go to a new page, which will no allow me to add items to the cart because i have a new ID. Has anyone else run into this problem, here is the code I used on the links I created: <a href="<?php echo tep_href_link('default.php?cPath=2_18') ?>" class="initiative"> Once I have this session issue under control I think I have everything done..
Harald Ponce de Leon Posted September 23, 2002 Posted September 23, 2002 OK, so I have designed a site, fit it around the OScommerce code and now that I have put other links on the page, I get a new session id each time I go to a new page, which will no allow me to add items to the cart because i have a new ID. Has anyone else run into this problem, here is the code I used on the links I created: <a href="<?php echo tep_href_link('default.php?cPath=2_18') ?>" class="initiative"> Once I have this session issue under control I think I have everything done.. The GET parameters used in the url are part of the second parameter to tep_href_link. You should compare your code to a function call to tep_href_link used in the source code. , osCommerce
Recommended Posts
Archived
This topic is now archived and is closed to further replies.