Welcome, Guest ( Customer Panel | Login )




 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  

answerman
Starting Member

USA
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

devshb
Senior Member

United Kingdom
1904 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
http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=227&opu=n

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
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
0 Item(s)
$0.00