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 fix problem on ajax module that does not load in HTTPS Server?

Print | Bookmark
Bookmark and Share

How to fix ajax module does not load in HTTPS Server?

The problem with the ajax module is the HTTPS CONFIGURATION does not match with the url. To fix it, add the global variable $request_type as a parameter in tep_href_link function where the fetcher url that builds the XML is being called.


Ex. tep_href_link('filename_of_fetcher.php', 'pID=' . $new_products['products_id'], $request_type)

The last parameter $request_type determines if you are using SSL, of course make sure that the configured HTTPS url match with the url build in tep_href_link

Was this article helpful?

Yes No
Bookmark and Share

Category: OSCOMMERCE , ZENCART, OPENCART, MAGENTO, CRELOADED

2987 views