Print Page | Close Window

Items from several categories on one page

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=172
Printed Date: 27-November-2024 at 3:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Items from several categories on one page
Posted By: mx22
Subject: Items from several categories on one page
Date Posted: 13-April-2006 at 10:11pm

Hello,

I've been unsuccessfully trying to edit viewCat_h.asp page to only select 3 products from a predefined category. I wonder if anyone did similar pages and would be willing to share the code?

Thanks!




Replies:
Posted By: netprofits
Date Posted: 17-May-2006 at 10:55pm

That page allows you to pass in the category ID and have it display products from the category ID passed in, i.e. viewCat_h.asp?idCategory=13. You can control how many products display in the Control Panel in General Settings | Display Settings. Check the Products per Row and Products per Page options.

If you want to modify the SQL query that selects products, look for code that starts like "mySQL="SELECT products.idProduct, products.description, " around line 193.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net