AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: jaysbar on September 19, 2016, 03:24:05 AM
-
Hi
I created a new block on my LIVE site. In this block I have a link like this:
<i class="fa fa-shopping-cart" style="color: #ffffff;">
<br /></i></a><a href="http://www.MySite.com/index.php?rt=checkout/cart">
<span style="color: #ffffff;"> CART </span>
But when backup my LIVE site and load it into my TEST site and go to Checkout after adding some products, the cart is empty. This is because my Test site has a different URL (http://www.MySite.com/Test/index.php?rt=checkout/cart).
Is there a way I can use a URL that will work on both sites without any editing?
-
But when backup my LIVE site and load it into my TEST site
Hello. How did you create backup (in AbanteCart, in hosting panel or in phpmyadmin)?
-
Hi
I create my files backup over FTP and my SQL backup in PHPmyAdmin.
I worked it out :) This works on my LIVE and TEST sites:
<i class="fa fa-shopping-cart" style="color: #ffffff;">
<br /></i></a><a href="index.php?rt=checkout/cart">
<span style="color: #ffffff;"> CART </span>
-
SQL backup in PHPmyAdmin
Hello. I think you miss something on this stage. In PHPmyAdmin under the Options heading, ensure that you have selected, Add DROP TABLE / VIEW / PROCEDURE / FUNCTION and ensure that all of your tables are selected
-
SQL backup in PHPmyAdmin
Hello. I think you miss something on this stage. In PHPmyAdmin under the Options heading, ensure that you have selected, Add DROP TABLE / VIEW / PROCEDURE / FUNCTION and ensure that all of your tables are selected
You mean here? (see attachment)