When I change the extension I also change all references to
productsXMLFile : "data-provider/products.xml",
for
productsPHPFile : "data-provider/products.php",
and
url: configOptions.productsXMLFile+"?file="+DateTime.getTime(),
dataType: "xml",
for
url: configOptions.productsPHPFile+"?file="+DateTime.getTime(),
dataType: "php",
inside of the .js
But I get an error message saying: Can't load products.
That's why I suspected I couldn't change the extension. There is something I'm missing.