shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

Ecommerce Products KnowledgeBase

shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

How to Resolved Error Loading XML Data

Print | Bookmark
Bookmark and Share

Resolving Error Loading XML on Templates with Ajax Modules

If you notice that your site does not load data in AJAX module in some cases/pages you might have a problem related to configuration of your shopping cart.

Reason:
There is know JavaScript security measures built into web browsers that prevent Javascript to contact remote domains. You can check details in this page: jssec.html . If you have your cart configured to use www.domain.com and you go to just domain.com you will not see AJAX load any data. This is because that AJAX reads data based on URL/Doamin setting in your configuration and will always use that setting.

Solution:
You need to add .htaccess redirect from domain.com to www.domain.com That will force always use that one domain as in configuration.

Was this article helpful?

Yes No
Bookmark and Share

Category: OSCOMMERCE , ZENCART, OPENCART, MAGENTO, CRELOADED, CSCART

7272 views