Show All Brands
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=3997
Printed Date: 15-July-2025 at 8:32pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Show All Brands
Posted By: dregna
Subject: Show All Brands
Date Posted: 14-September-2010 at 12:39pm
Hello,
I was wondering if there is a simple way to show all brands on the "Shop By Brands Page".
Currently the brands are listed 9 per page with page numbers at the bottom and a "show all brands"link.
Is there a way to show all brands by default?
Thanks!
------------- Dan Regna
Pet Food Subscriptions
|
Replies:
Posted By: ProductCart
Date Posted: 14-September-2010 at 2:22pm
Hi Dan,
ProductCart uses the category display settings to decide how many brands to show on each page (number of brands to show = number of categories shown per page). You can manually change this by making a simple edit to the code of "viewbrands.asp".
On the page, locate the code:
'Number of brands to show pcIntResultsPerPage=getUserInput(request("results"),10) if not validNum(pcIntResultsPerPage) then iPageSize=(scCatRow*scCatRowsPerPage) else iPageSize=pcIntResultsPerPage end if |
Add the following right below it:
That should do it (you are basically overwriting the default calculation, which is based on the store settings for how many categories to show on each page).
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: dregna
Date Posted: 14-September-2010 at 2:36pm
Thank you so much for the quick reply! I really appreciate it :)
------------- Dan Regna
Pet Food Subscriptions
|
|