Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?


Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site

 All Forums
 General
 Search Engines & Marketing
 Use product long decription
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

Guy
ECT Moderator

Canada
2097 Posts

Posted - 10/26/2020 :  18:15:17  
Hi!

How can I use the products long description for the meta name="description" ?

I have this set at the moment :

<meta name="description" content="<?php print $productname; ?> - <?php print str_replace('"','"',$productdescription)?>">

Thanks!

----
Guy
Quebec, Canada
https://www.lineaire.com

ITZAP
Ecommerce Template Expert

Australia
856 Posts

Posted - 10/26/2020 :  19:16:23  
Howdy Guy,
From the PHP Parameters help page here >>

Use the long description for the meta description tag
If you prefer to use the long description rather than the short description for the meta description tag, add the following

$usemetalongdescription=TRUE;

Personally, I do not use that, preferring to copy/paste the opening couple of sentences from the Long Description into the Short Description section, because Google limit the length of the Short Description and, for SEO, the Long Description should always be beefed up with unique, detailed, quality content.

Gary

Edited by - ITZAP on 10/26/2020 19:27:24

Guy
ECT Moderator

Canada
2097 Posts

Posted - 10/27/2020 :  03:16:59  
Thank you Gary!

----
Guy
Quebec, Canada
https://www.lineaire.com

Guy
ECT Moderator

Canada
2097 Posts

Posted - 10/27/2020 :  05:47:19  
After looking into this, I think it would be better to use the "Meta Description" on the product admin page.

However, it's only available for one language and our store is using 2 languages.



----
Guy
Quebec, Canada
https://www.lineaire.com
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000