The url for the shop changes once into the store. This was installed via ftp, no demo product data. cpanel installs no issue. So far it appears to function but is really odd. Any ideas how to remedy much appreciated. Issue replicated in two fresh installs.
URL example:
xxxxxx.com/shop/
Any links beyond including admin adds 'hop/':
xxxxxx.com/shop/hop/index.php?rt=product/special
AbanteCart version 1.3.0
.htaccess
# SEO URL Settings
RewriteBase /shop/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
In the shop's header.tpl there is this adding the hop/ in url:
$system_checker_url
url: 'xxxxxxxx.com/shop/hop/index.php?rt=r/product/product/addToCart',
//periodical updater of new message notifier
var growl = null;
var alertcount = 3;
var system_checker = function () {
if(alertcount <= 0) {
return;
}
$.ajax({
async: false,
cache: false,
url: '<?php echo $system_checker_url?>',
success: function(data) {
if(data != null && data != undefined) {
if(growl != null && growl != undefined ) {
growl.close();
}
growl = showSystemAlert(data);
}
},
complete: function() {
// Schedule the next request when the current one's complete
alertcount--;
setTimeout(system_checker, 600000);
}
});
};
Issue #2.
The shop settings for url ie: www . xxxxxx.com/shop/
Changes to url: xxxxxx.com/shop/
Forcing url breaks font awesome icons and maybe other entities: www . xxxxxx.com/shop/
Thanks, JMP