![]() |
Php Code tag for short description.
On my site, www.heartlandbraidedrugs.com the Short Description of a product is not visible. I use only the long description for instructions on ordering rugs. The way the x-cart uses the Long Description for the Meta Description cause me problems with search engines.
I have found this code from the product.php. Code:
$main = "product"; It appears $product_info["meta_descr"] = strip_tags($product_info["descr"]); controls the description. Does anyone know what I would use in ($product_info["HERE"]) to use the short description? Any help would be greatly appreciated. |
You should put your version in your signature.
I believe this is short description: $product_info["descr"]); This is long description: $product_info["fulldescr"]); |
Here is my Meta.tpl. It is doing what I want but it is also including the Meta Description from the SEO Area. Any way to make the Products only have the short description as the Meta Description. I am using version 4.0.18.
Code:
{* $Id: meta.tpl,v 1.18.2.4 2004/12/23 12:50:34 svowl Exp $ *} |
Working...on it
If I comment out the following line.
Code:
{assign var="_meta_descr" value="$_meta_descr`$config.SEO.meta_descr`"} I get the short description text and the category meta description text on my products but none of my other pages have a meta description. I would like to have the 1. SEO Meta Description on my information pages. 2. Category Meta Description on Categorie Pages 3. Product Short Description on just Product Pages. I hope this explains more what I am trying to do. |
All times are GMT -8. The time now is 03:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.