Project / Support Center
Welcome, Guest. Please login or register. January 16, 2022, 07:16: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  OS Commerce  |  Topic: How to create category/product links in your STS Template 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: How to create category/product links in your STS Template  (Read 9355 times)
admin
Guest
« on: February 13, 2008, 11:25: PM »

*STS Tip*
How to create category/product links in your STS Template:

STS Link to a category:

CODE


<a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category Name Here[/url]
Replace the number 21 for the category ID that you are linking to as well as replace NONSSL with SSL if your store has a securtiy certificate.

STS Link to a product:

CODE
<a href="<?php echo tep_href_link('product_info.php', 'products_id=53&', 'NONSSL'); ?>">Product Name Here[/url]
Replace the number 53 for the product ID that you are linking to as well as replace NONSSL with SSL if your store has a securtiy certificate.

Hope this helped you out,



Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  OS Commerce  |  Topic: How to create category/product links in your STS Template « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!