Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Tips and Tricks - HALL OF FAME
 Editing the includes.asp / includes.php file
Author « Topic »  

ECT Moderator

95440 Posts

Posted - 09/28/2007 :  05:16:46  
Here are some common tweaks that can be made to vsadmin/includes.asp or .php

How can I ask customers how they found our site when checking out?

ASP Version:
extracheckoutfield1="How did you hear about us?"
extracheckoutfield1html="<select name=""ectfield"" size=""1""><option value=""Google"">Google</option><option value=""Yahoo"">Yahoo</option></select>"

PHP Version:
$extracheckoutfield1="How did you hear about us?";
$extracheckoutfield1html="<select name=\"ectfield\" size=\"1\"><option value=\"Google\">Google</option><option value=\"Yahoo\">Yahoo</option></select>";


  • If you have a second vsadmin folder for security reasons and/or on your secure server then make sure that the changes are made to BOTH files.

  • The parameters are case sensitive

  • Do check for duplicate entries so search the file before adding a new parameter

ECT Moderator

95440 Posts

Posted - 05/03/2012 :  13:23:36  
If you want one of the ASP or PHP parameters to only apply to one category, you can do that with the following example in your includes.asp / .php file


if request.querystring("cat")=12 then useproductbodyformat=3


if(@$_GET['cat']=='12') $useproductbodyformat=3;

This would mean that the category with an identifier of "12" will use a different product layout to the main one defined in your includes file.

This should work for any of the ASP or PHP parameters.


Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube

  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022
This page was generated in 0.03 seconds. Snitz Forums 2000