|
Zen Cart template - JScript |
|
FAQs -
Cartage
|
|
As we always want Zen Cart™ to display in an iFrame, we need to redirect users who come directly to our store, bypassing our Joomla! site.
We do this via both a .htaccess file and a Javascript inside our Zen Cart™ Cartage template (store/includes/templates/cartage/jscript/jscript_cartage.js).
This file assumes that you have installed Zen Cart™ in a directory called 'shop'. If that is not the case you will need to manually update line 9 of the script. That will initially read:
var tmpURL = oldURL.replace("/shop/", "/");
If the sub directory into which you've installed Zen Cart™ is called 'store', change 'shop' to be 'store' (or whatever else you've called it), so it will now read:
var tmpURL = oldURL.replace("/store/", "/");
|
|
Include the ability to search for your Zen Cart™ products from within your Joomla! search Download Now
|
|
|