Hi 01bodyjewellery,
Code:
Did anyone find a way to get this on every page not just the home page?
See if this will work.
This is for v4.1.9 but most likely will work for v4.1.8 also.
For some reason or other, when your in Admin and place featured items in a sub or sub-sub-category, the Featured Products will not display on your customer page. To prevent this problem:
Find these lines of code in your xcart/
home.php file:
Code:
if (!empty($cat))
include "./products.php";
if (empty($products))
include "./featured_products.php";
and reverse them around so it looks like this:
Code:
if (empty($products))
include "./featured_products.php";
if (!empty($cat))
include "./products.php";
Make sure you populate your Featured Products with products in the Catagories section of the Admin side.
Now to display Featured Products when on the help pages:
open your xcart/
help.php file and find these lines of code:
Code:
require "./auth.php";
require $xcart_dir."/include/categories.php";
underneath those lines of code add:
Code:
include "./featured_products.php";
To display Featured Products when on the checkout pages:
open your xcart/
cart.php file and find these lines of code:
Code:
require "./auth.php";
and underneath that line place the following code:
Code:
include "./featured_products.php";
To diplay Featured Products when on the gift certificate page:
open your xcart/
giftcert.php file and find this line of code:
Code:
require "./auth.php";
and underneath that line place the following code:
Code:
include "./featured_products.php";
To display Featured Products when on the manufacturers page:
open your xcart/modules/Manufacturers/
customer_manufacturers_list.php file and find this line of code:
Code:
if ($active_modules["Manufacturers"])
include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php";
and underneath that line of code place the following code:
Code:
include "./featured_products.php";
To display Featured Product when on your static pages:
open your xcart/
pages.php file and find these lines of code:
Code:
require "./auth.php";
require $xcart_dir."/include/categories.php";
and underneath those lines of code place the following code:
Code:
include "./featured_products.php";
- MoonDog -