Hi Vince, to better explain what I am on about ...
On [purple]products.php[/purple] I use this dynamic code in the <body>:
[font=Courier New]<h1><?php
if(!empty($pagetitle) && $pno == 1) {print $pagetitle;}
else if(!empty($pagetitle) && $pno != 1){print $pagetitle . $pagenumber;}
else if(!empty($sectionname) && $pno == 1) {print $sectionname;}
else if(!empty($sectionname) && $pno != 1) {print $sectionname . $pagenumber;}
else if($pno == 1) {print $allpagestitle;}
else {print $allpagestitle . $pagenumber;} ?></h1>
<?php include_once "vsadmin/inc/
[purple]incproducts.php[/purple]") ?>[/font=Courier New]
The <h1> heading works fine. But for <p>This is a the short description I would like to see when viewing All Pages.</p> ...
[purple]incproducts.php[/purple] currently does this:
[font=Courier New]<?php if(!empty($sectiondescription)) {print str_replace('"','"',$sectiondescription);} else {print [green]$rootcategorydescription[/green];} ?>[/font=Courier New]
when I would really prefer that it does this:
[font=Courier New]<?php if(!empty($sectiondescription) && $pno < 2) {print $sectiondescription;}
else if(!empty($sectiondescription) && $pno > 1) {print $sectiondescription . $pagenumber;}
else if($pno < 2) {print [green]
$allpagesdescription[/green];}
else {print [green]
$allpagesdescription[/green] . $pagenumber;} ?>[/font=Courier New]
The similar dynamic code I have in the <head> to generate <title> and <meta name="Description"> works just fine. I can send you that of you would like.
If any of these optional variables had not been defined in the [purple]includes.php[/purple] file
[font=Courier New][green]$GLOBALS['rootcategorytitle']
$GLOBALS['rootcategorydescription']
$GLOBALS['allpagestitle']
$GLOBALS['allpagesdescription'][/green][/font=Courier New]
then they would print as empty?
I guess here I am assuming the [url="https://www.ecommercetemplates.com/seo/dynamic-title-meta-php.asp"][blue]advanced dynamic title and meta description code[/blue][/url] for [purple]categories.php[/purple] and [purple]products.php[/purple] should be stock standard for all Ecommerce Templates websites, which I suppose is wrong

. Therefore, what I am wishing for cannot be implemented in your ECT Updater releases?
Gary
[img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]