| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Remove Sub-Cat Listing After the First Category Result Page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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]
__________________
-- 1: X-Cart 4.0.x(live), Apache/2.0.52 (Red Hat), PHP 4.3.9, MySQL 4.1.20 2,3,4,5: X-Cart 4.0.x(live), Apache/2.0.54 (Linux), PHP 4.4.0, MySQL 4.0.25 |
|||||||
#2
|
|||||||||
|
|||||||||
try to edit skin1/customer/main/subcategory.tpl file.
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#3
|
|||||||
|
|||||||
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.
__________________
-- 1: X-Cart 4.0.x(live), Apache/2.0.52 (Red Hat), PHP 4.3.9, MySQL 4.1.20 2,3,4,5: X-Cart 4.0.x(live), Apache/2.0.54 (Linux), PHP 4.4.0, MySQL 4.0.25 |
|||||||
#4
|
|||||||||
|
|||||||||
this is what checks to see if its the first page or not
Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
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:
Would the statement you highlighted have to be reused or would it be possible to modify it to achieve the task?
__________________
-- 1: X-Cart 4.0.x(live), Apache/2.0.52 (Red Hat), PHP 4.3.9, MySQL 4.1.20 2,3,4,5: X-Cart 4.0.x(live), Apache/2.0.54 (Linux), PHP 4.4.0, MySQL 4.0.25 |
|||||||
|
|||
X-Cart forums © 2001-2020
|