2.6.8.b and earlier Product detail view empty meta tag description

Started by AH, September 01, 2014, 17:17:16 PM

Previous topic - Next topic


If you have not added your own meta description on every product on setup

You will find Vm does not create a meta description element in the head

Bad for SEO and a bugger to have to add manually for every product

On the BIG assumption that your product description, category name and product short description have been considered for SEO

Then I recommend a base change to populate the meta tag description with some sensible data that is created on every product if the Prodcut data has not had a meta description created in admin.


if ($product->metadesc) {


if ($product->metadesc) {
    } else {
        $document->setDescription( $product->product_name . " ". $category->category_name . " ".$product->product_s_desc );

//quorvia end

Joomla 4.4.5
php 8.1


nice idea Hutson and indeed much better than the massive and similiar global joomla descĀ“s from jml-be-configuration ...
regards jens