![]() |
need add to cart button each product category view |
Post Reply
|
| Author | |
Chris Hadden
Groupie
Joined: 23-January-2013 Status: Offline Points: 52 |
Post Options
Thanks(0)
Quote Reply
Topic: need add to cart button each product category viewPosted: 26-September-2013 at 2:43pm |
|
My products are generally ordered on the category page. I currently use:
" Display items vertically (list view) with the ability to add multiple products to the cart in one step" I want there to be an add to cart button besides each product. I am running PC 4.6 help appreciated, thanks Chris |
|
|
Chris
|
|
![]() |
|
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-September-2013 at 3:04pm |
|
may we have a link to one of your categories please?
|
|
![]() |
|
Chris Hadden
Groupie
Joined: 23-January-2013 Status: Offline Points: 52 |
Post Options
Thanks(0)
Quote Reply
Posted: 28-September-2013 at 12:51pm |
|
Here you go Greg.
http://www.jewelryfindings-online.com/store/pc/40x30-Lady-Cameos-c10.htm Thanks |
|
|
Chris
|
|
![]() |
|
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 28-September-2013 at 1:19pm |
|
That's a pretty simple change Chris.
Here is the same category with an override flag set to cause the products to be listed in the mode where the ATC button and quantities do not appear. The file pcShowProductL.asp can simply be altered to include the following, and you will get what you want. Note that I have not tested these entries, and am doing this just from familiarity with the basics, but it should get you going in the right direction: - the open form tag <form method="post" action="instPrd.asp" name="additem<%=pIdProduct%>" onsubmit="return checkproqty(document.additem.quantity);" class="pcForms"> - an input field for the quantity: <input class="qty" name="quantity" type="text"> - a hidden input field to contain the idProduct value for each product <input name="idProduct" type="hidden" value="<%=pIdProduct%>"> - the submit button: <input name="submit" type="image" src="images/pc/bt_addCart_sm.gif" id="submit"> - the close form tag </form> We have taken that concept a step further, as shown at the following link, by introducing the ability to reflect the dropdown for product options on the category page:
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |