Does anybody got "Featured Products as a side menu" in all pages
implemented in 4.0.17? It would appear similiar to the Best Sellers box, but instead, it would be a Featured Products box. Thanks. |
bumping it
|
I just installed this mod and noticed that the side box is only showing up on the front page. This seems to be because that is the only place that $f_products is getting set. When I turn on debug mode, I can see that $f_products is populated on the front page and not populated everywhere else.
$f_products must be getting set somewhere in the php code. I looked in featured_products.php and didn't see any exclusions that would apply... I guess I will look again :) |
Easiest way is to replicate xcart_featured edit featured_products.php and replicate the code needed again, and note:
Code:
$smarty->assign("f_products",$products); $products can be reused, and f_products2 or such could be assigned. You'll also want to duplicate the featured products code on the admin side changing the replicated xcart_featured table and making minor adjustments. :arrow: www.modchipstore.com has multiple featured product ability on the front page to help them organize by console. |
Is it possible to give a more comprehensive guide to doing this? I am a bit of a novice at this area. Also is it possible to make the other featured area look different? ie. with a different layout.
|
Re: Featured Products as a side menu
Implemented the Featured Items "side menu" and it does work, however only on the front page. Has anyone found a way to apply this to all pages in addition to the home page?
|
Re: Featured Products as a side menu
Could the TopTenList mod accomplish what you want? It works great in 4.0.18 and 4.1.3 - don't know about other vsersions.
|
Re: Featured Products as a side menu
Bump
Did anyone find a way to get this on every page not just the home page? |
Re: Featured Products as a side menu
Hi 01bodyjewellery,
Code:
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)) Code:
if (empty($products)) 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:
Code:
open your xcart/cart.php file and find these lines of code: Code:
Code:
open your xcart/giftcert.php file and find this line of code: Code:
Code:
open your xcart/modules/Manufacturers/customer_manufacturers_list.php file and find this line of code: Code:
if ($active_modules["Manufacturers"]) and underneath that line of code place the following code: Code:
open your xcart/pages.php file and find these lines of code: Code:
Code:
- MoonDog - |
Re: Featured Products as a side menu
Another great piece of help MoonDog - thanks works a treat in 4.1.8
|
All times are GMT -8. The time now is 10:48 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.