Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.0 Hint''s and Tips
 Move Default Shop Home Page to Root
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mstlouis
Starting Member

5 Posts

Posted - October 19 2016 :  12:04:15  Show Profile  Reply with Quote
I have my VP-ASP shopping cart setup in a sub folder called shopping. I want to use the main default.asp page as the top level home page for my web site as a whole. I have been using a basic html page placed at the top level as the home page, but I want to change that to get visitors directly to the shopping page when they first get to my site. What is the best way to do this?

I tried copying the default.asp page to the top level root, and changed the referenced location of the shop$db.asp in the following code from line 3 of default.asp to this.
<!#include file="shopping/shop$db.asp"-->
The page opens with just minimal content, and I get an error saying this.
Cannot read/Templates/default/tmp_default.htm

Are there other edits needed to the default.asp page to make it work from a higher level directory than where the shopping cart is installed?

swampthink
VP-CART New User

106 Posts

Posted - October 20 2016 :  09:15:47  Show Profile  Reply with Quote
You can use iframe if the top level root using static html. Or refer the following helpnote:

http://helpnotes.vpasp.com/kb/20-Shopping-Cart-Display/1213-Integrate-VPCart-v8-into-WordPress-site-using-iFrame/

Also please ensure that you have correct setting on "const xmysite" in the shop$config.asp file.

forexample: const xmysite="http://www.yoursite.com/shopping/"

you can find shop$config.asp file is on config and admin directory

thanks
Go to Top of Page

pete.gardner
Starting Member

9 Posts

Posted - November 23 2016 :  14:33:11  Show Profile  Reply with Quote
i ever did the same way, moving my store from folder to directory root. it''s easy actually, i only need to do a simple change with my shop$config.asp file to change the xmysite config
Go to Top of Page

danielrichardson
VP-CART Super User

Australia
276 Posts

Posted - December 22 2016 :  02:39:34  Show Profile  Reply with Quote
http://helpnotes.vpasp.com/kb/32-Configuration-Shopa_configasp/823-Setting-Up-The-xmysite-Variable/

hope can help you
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