ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Qty form field and submit button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Qty form field and submit button

 Post Reply Post Reply
Author
Message
BettyH View Drop Down
Newbie
Newbie
Avatar

Joined: 17-December-2009
Location: Arizona
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BettyH Quote  Post ReplyReply Direct Link To This Post Topic: Qty form field and submit button
    Posted: 02-January-2010 at 1:53pm

I would like to make some modifications to the qty field and the submit button on the product pages. Specifically, I would like to add a label of qty to the quantitiy field (similiar to the attribute labels) and I would like to move the submit button over to the right a bit. Can you please tell me what file I need to access to accomplish this?

Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 02-January-2010 at 2:43pm
Hi Betty - the code for the quantity input is in the viewPrdCode.asp script.  You should also familiarize yourself with the other files in the viewprd...  series.
 
The best way to get started is to examine the rendered source of your product page.  Find the input tag for quantity and use some portion of that string to form a search against the above script.  That should lead you to the SUB or FUNCTION that causes the input tag to be written to the screen.
 
Once you understand the module that causes the qty input to be written to the screen, you will make a choice about how to introduce a label prior to that field.  Same with moving the button (which is written to the page by the same code) - examine the code that writes it to the screen, and determine the appropriate edit to move it as you see fit.
Back to Top
BettyH View Drop Down
Newbie
Newbie
Avatar

Joined: 17-December-2009
Location: Arizona
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BettyH Quote  Post ReplyReply Direct Link To This Post Posted: 02-January-2010 at 2:48pm

Thanks Greg.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.