Hi,
Anyone can explain me how to make a PURE XML DOCUMENT TEMPLATE without any html\css\JS tags ?
I just now installed the open cart, and it looks wonderful. but I'm interesting to make a few changes to fit it to my needs. I wish to use all the opencart system, but without using its interface.
I made my own interface for an E-commerce site, that it recives all the product data in XML format, and and the JScript function distributing it to the appropriate place on the page.
When an order is made. It has to be sent throuh AJAX to be excute in the DataBase. and the new cart has to be sent back in a XML format.
In other words, I have totally separated the system from the interface. Now I can get ANY XML FILE from any system and using in with my interface.
therefore I need the opencart will provide me a clean XML file with all the product data, and be able to procces data from an xml file.
Anyone can help?
Thanks in advanceץ
Mondy
I recently built an XML import function into OpenCart for a client who, as part of a franchise, receives product and pricing information in an XML file suitable for use with the barcode reader system in his (real) shop.
While a function could be built to import or export XML data, that function would have to be unique to the DTD being used in the XML. In other words, the field/tag values of one XML file may be totally different in another XML file, especially if they come from different sources. Since you can choose ANY name for a tag, the only "real" specification for XML is that each opening tag has a corresponding closing tag.
While a function could be built to import or export XML data, that function would have to be unique to the DTD being used in the XML. In other words, the field/tag values of one XML file may be totally different in another XML file, especially if they come from different sources. Since you can choose ANY name for a tag, the only "real" specification for XML is that each opening tag has a corresponding closing tag.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Unless there are specific requirements, such as external product data already available in XML which then needs to be imported into OpenCart's database, I don't see any advantages at all in using XML as part of the user interface. In most cases we'd end up with messy XSLT which mixes data and transformation logic in the same file or protocol.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 1 guest