![]() |
Qty form field and submit button |
Post Reply ![]() |
Author | |
BettyH ![]() Newbie ![]() ![]() Joined: 17-December-2009 Location: Arizona Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() 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? |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
BettyH ![]() Newbie ![]() ![]() Joined: 17-December-2009 Location: Arizona Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks Greg. |
|
![]() |
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 |