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
 Add-ons for VP-ASP
 Minicart outside the VP-ASP Directory
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

23 Posts

Posted - December 12 2008 :  15:28:19  Show Profile  Visit answerman's Homepage  Reply with Quote
Probably an easy answer but I couldn't find it

We set up VP-ASP inside a directory called "store" so that the actual URL is http;//www.domain.com/store. I also have successfully included the minicart on the actual homepage of the site http://www.domain.com/index.asp by including the shop$db.asp, etc. and it displays properly. Problem is that the path to "View Cart" and "Checkout" is wrong because of the directory structure... instead of the "View Cart" linking to http://www.domain.com/store/shopaddtocart.asp, it links to http://www.domain.com/shopaddtocart.asp (which makes sense considering the directory structure).

I came up with a quick fix, which seems messy to keep track of, which is to create bogus shopaddtocart.asp and shopcustomert.asp files on the server in the web root, and then set up IIS redirects to redirect them to store/shopaddtocart.asp and store/shopaddtocart.asp.

So, I was wondering if there is an easier way to accomplish what I want other than my other idea, which would be to create another sub that mimics the existing minicart sub with the path corrected to include the "store" directory. Seems like a lot of work.
Anyone else run across this, or is everyone using the VP-ASP directory as the web root?

Edited by - answerman on December 12 2008 15:29:49

Senior Member

United Kingdom
1898 Posts

Posted - December 14 2008 :  04:46:00  Show Profile  Visit devshb's Homepage  Reply with Quote
I think this is what you're after:

BYZ027 - Multiple-Directories for VP-ASP

Simon Barnaby
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000