Help with meta description conditionals
Hi All,
I am trying to change my meta description code so that if I am on a product page it will just automatically use the $product.descr information. Right now it is using the site wide meta-description. I've found the code that I need to alter, but my skills are limited so I could use some help. The Meta Code: Code:
{if $printable} I need to add something like this: Code:
{if $main eq 'products'} But I am having difficulty figuring out where to logically add it into the code. Any help? |
Re: Help with meta description conditionals
Agreed this is not the best behavior. We found it simpler to adjust the code in include/func/func.product.php after:
PHP Code:
PHP Code:
|
All times are GMT -8. The time now is 01:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.