If you have created a new product type and need to enable it to be included with configurable products you need to let Magento know that it should allow your product type to work with configurable products. To do this open your config xml and add the following xml. PLAIN TEXT XML: <config> [...]
Archive: xml
Posts Tagged ‘xml’
On occasion, google and other tools will tell you there's errors with your sitemap.xml file and not give you the information of what exactly is wrong, so we wrote this little tool to crawl the sitemap and check for 301 redirections and 404 errors. It is a noddy file and should have much more error [...]
The php simpleXML object is my preferred way of working with XML, but it has some unusual quirks that can drive you up the wall. One of these is that, by default, it will not read CDATA within an XML file, and will just leave the node blank. If you need to access this data [...]
Some times you might have a legacy system that is built around csv or similar and you need to import an XML data source into this system. Of course one possibility is to build full XML handling capabilities into the system. Perhaps a more sane solution is to simply convert the XML to CSV so [...]
So now that everyone uses Google Shopping, Google are making life difficult for the merchants and they all have to jump through hoops. The current push from Google is enforcing some things that are very difficult for small companies to conform with :- * EAN Numbers - This is the BIG one, Google are making [...]
If you want to include a custom stylesheet for a particular category you can do this very cleanly by specifying custom layout xml in the category admin. Simply find the category you want to apply this to and then hit the [Display Settings] tab Then in the custom layout update box, paste something like this: [...]
If you are getting a little bit frustrated trying to figure out why the admin configuration for the number of products to display on a page and the options in the products per page drop down are not working then this is quite possibly your soluiton. The template file in question is in catalog/product/list/toolbar.phtml You [...]
If you use Ubuntu, you probably use F-Spot for managing your photos. It's a nice app and it organises all your photos into a directory tree based on date. If you want to set up a desktop slideshow that shows images from this folder tree then you need to create a custom XML file that [...]
If you have a script that is receiving posted XML for whatever reason and are trying to access this XML without any filtering, escaping etc then this is the solution you are looking for. Instead of trying to access via $_POST etc, you can simply call the following: PLAIN TEXT PHP: $xml = file_get_contents('php://input'); This [...]
Had another tearing hair out moment when trying to figure out why my helper override was working fine, but my block override wasn't working. Here is the result: helper working, block not working: PLAIN TEXT XML: <?xml version="1.0"?> <config> <modules> <EC_CatalogSearch> <version>0.1.0</version> [...]