VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Special_OrderButton
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rockdale
VP-ASP New User

USA
74 Posts

Posted - October 28 2004 :  20:09:29  Show Profile  Visit Rockdale's Homepage  Reply with Quote
How do you add a checkbox to the [special_OrderButton]

it is handled in shopfileio.asp
but where do you create the layout?

For example: Special_OrderButton is in tmp_product.htm

when you look at the code the qty field isn't separated,
it's created with the buy button, by means of the [special_orderButton]

Any info welcome

Michael Kelley

jonmadrid
VP-ASP New User

USA
192 Posts

Posted - October 29 2004 :  09:52:21  Show Profile  Visit jonmadrid's Homepage  Reply with Quote
Hello Michael,

It is indeed in shopfileio.asp. The sub you are looking for is named Handle_SpecialOrderButton. The form, quantity, and buttons are all generated within that sub by calling on different other subs for each of those items. So, as you will see under Handle_SpecialOrderButton, there is a call to the Add_Quantity sub, for example, which is located just a little further down in the same file. You'll see the other subs being called there as well.

With this setup you can either make changes to the way things are handled in Handle_SpecialOrderButton sub itself (add a line break, or a text message, for example) or by editing the indivdual subs that are called from within it -- AddQuantity, AddButton, AddProduct, etc. Just keep in mind that those other subs are not only used within the Handle_SpecialOrderButton sub so any changes you make in them will appear whenever and/or wherever they are called.

Does that make sense? I hope it helps.

All the best,

Jon Madrid
--------------------
Madrid Communications
Web Design, Development, and Hosting
www.madridcom.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000