Featured Products as a side menu
heres a simple one. works the same as featured products but just drops it in the side menu instead of in the center.
create a new file called menu_featured.tpl and store it in skin1 dir Code:
{* $Id: menu_featured.tpl,v 1.8 2004/05/22 Shan Exp $ *} now open up skin1/customer/home.tpl and insert this where you want the menu item to appear Code:
{include file="menu_featured.tpl"} Once youve done that you can remove the old featured products from the center areas. Open skin1/customer/main/welcome.tpl and remove Code:
{include file="customer/main/featured.tpl" f_products=$f_products} Then open skin1/customer/subcategories.tpl and remove or comment out Code:
{if $f_products ne ""} Works in 3.5.x but should work in other versions too |
This is great, Shan. Here's a quick question though. What if you want to leave the featured products on the main page, and also have one additional product that shows in the menu box?
|
is there a category.tpl that can replace the featured products?
|
Great mod, but how to make it pick 1 product at random?
|
Hello I put this mod on my cart and was very impressed, then I clicked the image and got "access denied error ID:33"
I really wanted this mod so I did not give up. I noticed the description above the picture allowed me to link through to the detailed description of the product, so I took a gamble and replaced <a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}> with this <a href=product.php?productid={$f_products[num].productid}}&cat={$cat}&page={$navigation_page}> and it worked :lol: I am not experienced in this and this change is probably very basic but I can feel my head starting to expand already. Im sure the saying "knows enough to be dangerous" comes to mind when some of you read this. Hopefully there will not be any side effects from what I have done, because of my lack of knowledge I rely on a good backup and trial and error. I have my ftp client ready, if I do something that stops the site running (about 8 times so far) I just upload the backup file. I really like the drop down menus for manufacturers and categories but I cannot find anywhere where I can increase the visible number above 10 categories or manufacturers. Regards Adam |
Increase the # of manufacturers in Gen. Settings/Module Options
- Mike |
Well that certainly stopped my head getting too big, thanks for that.
Regards Adam |
Great mod, does anyone know how to display the featured products on every page?
What I want to do is display the featured products that appear on the home page on all other pages not just the products that have been selected for the current category |
Quote:
You might be interested to know we have an add on that will be released very soon which will allow you to do this and alot more, if you're interested in being on the pre-release offer list please let me know. |
Anyone find away to put this featured products menu on every page (global) throughout the entire site?
|
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
|
Re: Featured Products as a side menu
how would you make this appear on the product pages?
|
Re: Featured Products as a side menu
i hope someone will answer as i have only until 5pm tomorrow to fix this or iam out of a job
|
Re: Featured Products as a side menu
I tried adding this into product.tpl to see if i could get it to populate on the product page, but nothing, kube, balinor, anyone have an idea?
{include file="menu_featured.tpl"} |
Re: Featured Products as a side menu
Any ideas guys?
I have tried what has been suggested here but with no luck :( I have the featured items scrolling on the home page in the right side bar. I need this to display on the products and product pages. it seems that the featured_products.php code uses the products.php code somehow as the scrollbar just cycles what ever products are on the page at the time not the featured products :( |
All times are GMT -8. The time now is 03:30 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.