Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to set link to product from other product


lybrary

Recommended Posts

Posted

I would like to link from one products description to another product. What is the best way of doing this?

 

Best

Chris....

Posted

Thanks for the suggestion, but this isn't really what I want. I would like to have a text link from the product description to another product. For example:

 

"This book is the second volume of this series. _Volume 1_ dealt mainly with..."

 

The _Volume 1_ should be a link to volume 1, another product in my catalog.

 

Best,

Chris....

Posted

Well as you add in the products descriptions yourself, its something you are going to have to do manually.

 

Or write a custom bit of code in admin/categories.php which when the form is submitted, it looks for a string of text matching a product name and replaces it with a link, however this would be high server overheads.

 

There may be some functionality in a wysiwyg editor which might help.

Posted

For now I am setting a static link that I copy from the browser when I am at the particular products website. But your suggestion is interesting, to have something in admin that takes a special tag and converts it automatically to a static link.

 

<linkto product_id=31>

 

is transformed to

 

<a href="http://www.lybrary.com/product_info.php/products_id/31">the name of product 31</a>

 

Best,

Chris....

Posted
For now I am setting a static link that I copy from the browser when I am at the particular products website. But your suggestion is interesting, to have something in admin that takes a special tag and converts it automatically to a static link.

 

<linkto product_id=31>

 

is transformed to

 

<a href="http://www.lybrary.com/product_info.php/products_id/31">the name of product 31</a>

 

Best,

Chris....

 

 

it should transform to the tep_href_link form of a link to keep session ids. There is a contrib there I think ...

 

or use this: http://www.oscommerce.com/forums/index.php?showtopic=157369

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...