At work we have a client that delivers huge xml files that we have to work with. Although our software usually imports them fine, we sometimes have to edit them to find specific information, which is really hard to track down in a flat 80,000 file file. I’ve tried a couple of different software packages [...]
Was looking for a way to add a New Products section to the homepage of a Magento store I’m working on a found a great write up on Richard Castera’s blog. All you really have to do is add this code to the homepage code in your CMS section:
{{block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_homepage”template=”catalog/product/new.phtml”}}
Check out the full [...]
In a project we are working on we needed a way to extract the number portion of a weight from a string. So we could receive any of the following:
21
21 lbs
21.3
21.3 lbs
We started looking into some regular expressions to do the job, but then ran across a page saying that you can just cast it [...]