Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tag Controller


Guest

Recommended Posts

Posted

Would it be nice if the product-description will be the META Description. I thought so. I took the contrib. from Linda and played arround (example: header_tags.php from the include directory :

 

if (empty($the_product_info['products_head_desc_tag'])) {

$the_desc= HEAD_DESC_TAG_ALL;

} else {

if ( HTDA_PRODUCT_INFO_ON=='1' ) {

$the_desc= $the_product_info['products_head_desc_tag'] . ' ' . HEAD_DESC_TAG_ALL;

} else {

$the_desc= $the_product_info['products_head_desc_tag'] . ' ' . "-- " . $the_product_info['products_description'];

 

-----

 

So result you can here:

 

http://www.schenkenundspielen.de/catalog/p...oducts_id/11659

 

It's in German, but you can see, that the productdescription is the same as the META description..... thats fine if you have no add. image within the product_description.

 

If you have an add. image, than the result will look like this:

 

http://www.schenkenundspielen.de/catalog/p...products_id/468

 

 

ANY ideas how to change this smoothly?

 

Torsten

Archived

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

×
×
  • Create New...