Posted - 10/09/2023 : 19:23:55
On our website Home page we can display Recommended Products like so: <div class="cell"> <?php $crosssellaction='recommended'; include_once ( $_SERVER["DOCUMENT_ROOT"] . "/vsadmin/inc/inccrosssell.php") ?> </div>And in the includes.php file there is a $Parameter to define the Title displayed above that list of Recommended Products: // RECOMMENDED and RELATED PRODUCTS (recommended, related, alsobought, bestsellers) $csstyleprefix='cs'; // Adds cs prefix to all Recommended Product div CSS classes $csrecommendedtitle='We recommend these products';
We can also display Recommended Menu Categories like so: <div class="cell hc"> <?php $recommendedcategories=true; include ( $_SERVER["DOCUMENT_ROOT"] . "/vsadmin/inc/inccategories.php") ?> </div>However, at the present time, there is No Heading displayed above those Recommended Categories, unless you manually add some HTML code to index.phpAs a better solution, my suggestion is that a new $Parameter be created that can be added to includes.php to define the Title displayed above that list of Recommended Categories. Something like: // Heading for RECOMMENDED CATEGORIES to be displayed on the Home page $recommendedcategoriestitle='Popular Menu Categories';Regards, Gary
|