Documentation
Installation instructions
You can install extension using Extension Installer or manually. In the latter case unpack and upload all folders from "upload" directory to the root of your store. If there's install.xml file in the package, rename it to extension_name.ocmod.xml, replacing "extension_name" with extension's name (or any other name), and upload it to "system" folder. When upgrading from previous version simply rewrite all existing files. Refresh modifications cache from Extensions -> Modifications page (not needed if install.xml file is not included in the package).
Note for OpenCart 3 users
If you see "The directory is not allowed to be written to" error message, download OpenCart 3.0 Extension Installer Fix from this page and install it. Then install the main extension.
Note for OpenCart 2.0.X users
Sometimes OCMod inserts modification in multiple files, which are separated by "|" character in XML-file. On earlier OpenCart 2 versions a comma was used instead. To quickly fix this, open XML file (usually, install.xml) and replace all occurrences of "|" character with "," for "path" attribute in every applicable <file> element. Search for "<file path=" to quickly find and highlight all elements.
If after installation you have "Permission denied" issue when accessing Modules, Shipping, Payments, Order Totals (or any other) section of Extensions menu, remove "module", "shipping", "payment", "total" (or any other) folder from "admin/controller/extension" directory. Same for "admin/language/en-gb/extension" directory. For example ("module" should be removed from both paths):
admin/controller/extension/module
admin/language/en-gb/extension/module
Permissions
In some cases it is required to manually set permissions for installed extension. To do this go to System -> User Groups, find your group and select access/modify permissions for desired extension. You can find extension in permissions list by folder/filename pair (for example, marketing/acoupon).
Extension Setup
Go to Extension -> Feeds and setup Smart Sitemap extension according to your needs.
How to use
When you done with setup, you need to submit sitemap to desired search engine. If you don't have much products, use standard URL with dynamically generated sitemap:
http://yourstore.com/index.php?route=feed/sitemaps
For stores with large number of products it's recommended to use static sitemap:
http://yourstore.com/sitemap.xml
To update static sitemap automatically, you can create a cron job with desired run time:
lynx -source 'http://yourstore.com/index.php?route=feed/sitemaps' > /dev/null
Smart Sitemap will create multiple XML-files in "sitemaps" folder for products, categories, manufacturers and informations separately:
http://yourstore.com/sitemaps/product.xml
http://yourstore.com/sitemaps/category.xml
http://yourstore.com/sitemaps/manufacturer.xml
http://yourstore.com/sitemaps/information.xml
When number of links in particular sitemap reaches the limit, a corresponding number of files will be created instead of one:
http://yourstore.com/sitemaps/product-1-sitemap.xml
http://yourstore.com/sitemaps/product-2-sitemap.xml
All these features allow you to create smaller sitemaps for unlimited number of items (products, categories, etc) and avoid sitemaps with too large file size.
Multiple languages
If you have multiple languages installed, you can submit sitemap for each language separately, using "lang" variable with language code in sitemap URL:
http://yourstore.com/index.php?route=feed/sitemaps&lang=de
http://yourstore.com/index.php?route=feed/sitemaps&lang=fr
When you add "lang" variable to sitemap URL, all XML-files will have language code added to their names like this:
http://yourstore.com/sitemap-de.xml
http://yourstore.com/sitemap-fr.xml
And for products sitemap:
http://yourstore.com/sitemaps/product-1-sitemap-de.xml
http://yourstore.com/sitemaps/product-2-sitemap-fr.xml