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
 templates for customer forms (asp)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cristinalopo
Starting Member

19 Posts

Posted - February 19 2009 :  06:25:28  Show Profile  Reply with Quote
hi,

most customer forms (asp files) are not easily to editable with a design tool.

all code comes in something like this:
"response.write "<div class='breadcrumb'><a href='" & getconfig("xhome") & "'>"...</div>"

and I would like to edit these forms. content and look and feel.

how can I integrate a form template in the code?
or, is there another way to edit, tables, CSS,... without breaking code directly?

thanks

Admiral The X
VP-ASP New User

USA
52 Posts

Posted - February 24 2009 :  22:49:14  Show Profile  Visit Admiral The X's Homepage  Reply with Quote
are you aware there are also template files that are easier to work with than the asp files?

some level of customization can be achieved by making changes to files like tmp_product.htm.

you will find lines like this

<td align="left">[getlang langproductstock] [cstock] </td> this is where the code is inserting a database call for the language of "stock" and the stock ammount into a table for example.

you can also easily edit the css used in vpasp in the shopping/stylesheets folder. alot of things are defined in shop.css. its pretty easy to read through.

Air Armory - Airsoft
http://www.AirArmory.com
Go to Top of Page

madbug
VP-ASP New User

130 Posts

Posted - February 28 2009 :  02:01:11  Show Profile  Reply with Quote
Hi,

The customer form / shipping form are generate from "shopcustomerform.asp", you will need to find the code and manually edit from it.

The sub routine for Customer Form are Sub ShopCustomerForm, you will notice there are a lots of "CreateCustRow" which is the sub routine from "shopproductsubs.asp", it is for create the text field in the form with row and column.

If you want to rearrange the fields display only, you can just move the CreateCustRow, for example, show the address first, then the first name:

CreateCustRow getlang("langCustAddress"), "straddress", straddress,"Yes"
CreateCustRow getlang("langCustFirstname"), "strfirstname", strfirstname,"Yes"


Cheers!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000