Jump to content

[SOLVED] How to get my search.tpl/new-products.tpl/prices-drop.tpl to call on a separate product list!


robkwal
 Share

Recommended Posts

Hi all,

Yet another question! I use the filter search module, and it sits in my left column. But it does not work on the search.tpl/new-products.tpl/prices-drop.tpl and as they are already filtered to an extent what i would like to do is get those files to run off a separate productlist.tpl. As currently I only use the filter search in my left column so when someone does visit the sales page for instance it has a blank space on the left, but if i was to use a separate product list for that i could extend the width to reduce that white space.

Any help would be very much appreciated!!!!!

Regards,

Rob

Share this post


Link to post
Share on other sites

Sure, just copy the original product-list.tpl to product-list2.tpl, then change the following lines in search.tpl, new-products.tpl and prices-drop.tpl:

{include file=$tpl_dir./product-list.tpl products=$products}



to:

{include file=$tpl_dir./product-list2.tpl products=$products}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More