I want to place a link to a product, within another product’s description, without having to use a hard-coded link. An example product description would be:
“This product is now considered outdated, we recommend using THIS as an alternative.”
Where THIS would link to the appropriate product. Ideally the link would be the product’s SEO URL. Can smarty code be placed in product descriptions? And, if so, can I use a smarty function to insert a link to a particular product? If not, is there another solution?
I was looking at the smarty function oxgetseourl but not sure if it can help me in this case, especially if product details cannot contain dynamic content.
Noticed there’s a setting for placing dynamic (smarty) content in product descriptions. In case anybody else tries to do this, make sure the following setting is active.
Master Settings>Core Settings>Perform.>Enhanced Performance Settings>Process Description of Articles and Categories with Smarty