Two product display Options
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2888
Printed Date: 27-February-2025 at 11:56pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Two product display Options
Posted By: joshs
Subject: Two product display Options
Date Posted: 21-July-2009 at 12:14am
I would like to off my customers two product display options.
In the store display settings 4 options are listed (horizontal, vertical, vertical (list view), vertical (list view with ability to add quantities.)
I would like to have two links at the top of the page: Horizontal Style, and Vertical list view with the ability to add quantities.
Any suggestions on how to give the user the ability to change their personal view?
Josh
|
Replies:
Posted By: Greg Dinger
Date Posted: 21-July-2009 at 12:57am
Easy - just add "&pagestyle=x", where "x" = h, l, m or p to meet your preferences:
http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=5&pageStyle=h http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=5&pageStyle=l http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=5&pageStyle=m http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=5&pageStyle=p
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: joshs
Date Posted: 21-July-2009 at 2:03am
wouldn't that take the viewer to category 5 every time?
|
Posted By: Hamish
Date Posted: 21-July-2009 at 3:51am
Hi Joshs, Greg was providing an example. You would need to use the variable (available in the code already) for the categoryID.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Greg Dinger
Date Posted: 21-July-2009 at 10:45am
Joshs, the example I gave you is the key to accomplishing your requirement, and it is very elementary for anyone who understand programming, but two things will have to happen.
Once a decision is made as to where on the page these "alternate view options" are to appear, one will have to locate the appropriate place in the code to implement the links - along with any border or such to highlight the links. then you have to form the links themselves.
The point of my example is that the coding in the page already exists to allow the page to deal with multiple views. Explaining how and where in the page such code should be placed is a bit beyond what I'm able to do in the forum. Unless you can tackle this, contact me to discuss or reference the partner list for other developers.
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: joshs
Date Posted: 28-July-2009 at 8:25pm
|