If you are using Magento as ecommerce framework you could be interested on how to change an attribute type. The main answer is: you can’t! Indeed, you have to create a new one because you can’t change the attribute types (nether the code name and many other things), so the best solution for me was […]
Hello, I noticed there was a problem with the page titles and canonical urls for multi-level categories pages, for example if I have a category like this: ebook/fiction/general Magento 220.127.116.11 puts a wrong canonical url like this: http://example.com/ebook while it should be: http://example.com/ebook/fiction/general So we need a patch to fix this behavior and I will […]
You know there is this problem with Magento 1.4.* and 1.5.*, if you are using Paypal Express as payment method and your customer is a new one, when she/he complete the order this is without account association (Customer Group 0 USER NOT LOGGED IN) and the new customer is not created. To solve this problem […]
This is a simple script based upon AWS SDK PHP to manage volume’s snapshots. It simply create one snapshot per volume (once you run it) and delete snapshot older then 1 month. Please provide your personal information by copying config-sample.inc.php into config.inc.php. Run the script backup-snapshots.php with your CRON. For example: # Auto AWS Snapshots […]
Here is how to get a collection of products best sold in a given date range (could be daily, monthly, weekly, etc…)
You know you will need, before or after, to add your own custom RSS feeds to your Magento. For example, I needed to create some custom RSS Feeds to list bestseller products by date (bestseller weekly, monthly, etc…) How to do it? It’s quite complex but not so much if you follow this mini tutorial: […]
Probably you know it’s possible to add a product to the cart via querystring, but may be you prefer code a new module for your needs using Magento objects and methods. So adding a simple product is easy: But how to add a Downloadable product with its right link ? Just try this, it’s a […]
If you have to export all or a part of your Magento products you can try this simple script which creates a products collection and writes a simple and custom XML file per product (but you can simply change it to write a single long XML file). Hope you enjoy it!