Zuncan Posted April 1, 2005 Posted April 1, 2005 Hi I was just wondering how to link to a product the proper way? I mean, if I link to a product with just <A HREF=""> the customers lose their session ID and that is not good of course.. Please give me a example code. /Zuncan So what?! Who care in a hundred years anyway?
♥toyicebear Posted April 1, 2005 Posted April 1, 2005 In osc..the correct way is to use this format: <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> if you want to use it in say product descriptions...you can find an excelent contrib here.... Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
Jack_mcs Posted April 1, 2005 Posted April 1, 2005 Try this: <td> ?<?php echo '<a title="Some Text" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=18&products_id=90', 'NONSSL') . '">' . "Some Text" . '</a>'; ?> </td> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.