![]() |
Remove Sub-Cat Listing After the First Category Result Page
Howdy,
When users click on a category that has a bunch of sub-categories the center column will display a listing of all sub catagories and, below the sub-cat listing, will show the products that have been assigned to parent catagory. The number of products overflow to mulitiple result pages for the parent category. When users go to the next result page they still see the sub-category listing on top. I'd like to remove the sub-category listing for parent category result pages after the first page. Thanks, Vik Los Angeles --- X-Cart 4.0.14 [linux] |
try to edit skin1/customer/main/subcategory.tpl file.
|
Thanks for the tip Dongan. I suspected that skin1/customer/main/subcategory.tpl is where the mod would take place. I'm just not sure what to do.
I suspect it has something to do with not showing the subcat listing if the result page is past the first page. I'm just not sure how to do it or what to look for. |
this is what checks to see if its the first page or not
Code:
{if ($navigation_page eq "")||($navigation_page eq "1")} |
Thanks Shan (for this and all your other contributions).
I'm trying to get my head around how I could apply that statement to the problem. Just to refresh, the goal is to have this sub-cat mod function only on the first result page. Here is my skin1/customer/main/subcategories.tpl Code:
{* $Id: subcategories.tpl,v 1.43.2.5 2004/12/01 15:15:49 mclap Exp $ *} Would the statement you highlighted have to be reused or would it be possible to modify it to achieve the task? |
All times are GMT -8. The time now is 01:24 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.