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-Cart StoreFront Customer Forum

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

 All Forums
 VPCart Forum
 ASP in template?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

12 Posts

Posted - April 22 2003 :  12:44:48  Show Profile  Reply with Quote
Can we inlcude ASP code sections in Product and Category templates?
Can VPASP run the asp code in these templates without any problem?



4286 Posts

Posted - April 22 2003 :  17:12:56  Show Profile  Visit support's Homepage  Reply with Quote
Sorry No.

The templates are read in as plain text and cannot have ASP in them. The actual interpretor is file shopfileio.asp. Special code needs to be added into that file to do additional logic.

VP-ASP Support

Go to Top of Page

Starting Member

3 Posts

Posted - December 26 2003 :  21:50:14  Show Profile  Reply with Quote
this is one of the most annoying things I've found with VPASP. You would think with "ASP" being in the title of your program you would make it as easy as possible for developers to include asp code within their product template. There are so many things I want to do within my product template and I can't because i can't use asp!!! GRRRRR

Go to Top of Page

VP-ASP Super User

249 Posts

Posted - December 27 2003 :  13:47:08  Show Profile  Reply with Quote
Yeah, and you would think with VP in the title that the Vice President would come with the program. That's what makes me mad. GGGGRRRRR.

(sorry, I just couldn't resist that!)

Go to Top of Page

Starting Member

39 Posts

Posted - January 16 2004 :  07:51:16  Show Profile  Visit jsbeads's Homepage  Reply with Quote
Sure you can in my version 3.5...
In shopfileio.asp find the function
Sub Handle_PageHeader (value)
(This is the routine that handles the template display)

Towards the end of the sub add your include...
If TemplateDisplay="No" then exit sub
<!-- #include file="./JSShopAlsoBought.asp" -->
end sub
I use this to call a host of hit tracker's etc.

Go to Top of Page

Starting Member

2 Posts

Posted - January 25 2004 :  06:25:31  Show Profile  Visit Curator's Homepage  Reply with Quote
I was very surprised by this as well... Blogger for example accounts for language various imbedded within their templates. I couldn't believe it's not possible in VPASP.

O well. I'll try the afore mentioned hack.

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