FAQsDatafeed scriptsArticle

I have a site build on ZenCart. How should I install my script?

You have to download the corresponding script, located here:
//im1.shopmania.org/feeds/zencart/datafeed_shopmania_zencart.zip

Once downloaded, the script has to be unzipped and placed in the same folder where all the other site files are located (this is in most cases the root).
After the script has been installed, you have to access it in order to make sure it returns no errors, and then set the path to it in the Upload settings section.
The path generally depends on the specific settings made when you installed the store.

For example:
- if the script is placed in the same folder as the site's files, in the root, the path variable does not need any changes ($site_base_path = "./");
In this case, the URL to your datafeed is http://www.example.com/datafeed_shopmania_zencart.php

- if the script is placed in the same folder as the site's files, but not in the root, the path variable does not need any changes this time either ($site_base_path = "./");
However in this case, the URL to your datafeed is http://www.example.com/shop_folder/datafeed_shopmania_zencart.php

- if the script is placed in a different folder than the one where the site's files are located, the path variable must be changed accordingly ($site_base_path = "../");
This setting will determine the change of the location from /folder to the root folder where the site's files are located.
In this case, the URL to your datafeed will be http://www.example.com/feed_folder/datafeed_shopmania_zencart.php

Listed in: Datafeed scripts