Lots of kind souls helped me out on Twitter with this one. Some versions of Safari are stricter about setting cookies than others. Also, Magento sets the full cookie domain and path as well, which is where weird cookie bugs can lie. If you’re having trouble setting your session Magento (i.e. “Please Enable Cookies, you [...]
astorm
Magento Version: 1.5.0.1 I’m not sure when this feature was added. It’s there in 1.5.0.1 and might be in previous version. The phtml template file for your system emails are located in app/locale/en_US/template/email/ However, you don’t want to edit these files. Instead, go to System -> Transactional Emails This UI [...]
astorm
As with most successful blogs, my success here has led to success elsewhere. I have three or four half finished articles that are going to have to stay that way for a few more months.
astorm
Magento Version: 1.4.2 I’ve found that most of my route based 404 problems in Magento can be traced a misnamed controller file and/or class. Adding some debugging to the standard router’s _validateControllerClassName method often point to the problem. In 1.4.2 you can find this file here.
astorm
A similar idea, implemented first.
astorm
sales_model_service_quote_submit_before, sales_model_service_quote_submit_success, sales_model_service_quote_submit_after. All of these are in Sales/Model/Service/Quote.php in submitOrder() method. Zoran Lazarevski, when asked What event(s) are you using to “do something” after checkout/order-creation, regardless of method?
astorm
sales_model_service_quote_submit_before, sales_model_service_quote_submit_success, sales_model_service_quote_submit_after. All of these are in Sales/Model/Service/Quote.php in submitOrder() method. Zoran Lazarevski, when asked What event(s) are you using to “do something” after checkout/order-creation, regardless of method?
astorm
I use the event ‘checkout_submit_all_after’. Yes the order has been saved by the time this event is fired. Jason Evans, when asked What event(s) are you using to “do something” after checkout/order-creation, regardless of method?
astorm
There is no sure method except sales_order_save_after, but generally I tend to use sales_model_service_quote_submit_after. It covers opc, api and adminhtml (but not multiaddress). sales_convert_quote_address_to_order covers all, but I don’t like it. Vinai Kopp, when asked What event(s) are you using to “do something” [...]
astorm
Magento Version: 1.5.0.1 We’d just done a simple product import, and everything in the front end of the cart looked fine. There was one problem. When we browsed to the admin, no images showed up in the Catalog -> Manage Products -> Images. It turns out that the catalog/product object has a few redundancies when it comes to [...]
astorm
I'm happy to announce the release of Commerce Bug 1.4. This latest version of Commerce Bug is now available for immediate purchase. The update is completely free-of-charge for existing customers, and may be downloaded using your original purchase link.
astorm
I've always found it a little odd that Magento doesn't ship with a module listing UI out of the box. One weekend coding project later, and I'm happy to present the Module List module.
astorm
The 404 page has a long and illustrious history in the world of web development. What started as a simple, unfriendly error message has turned into a key part of any site's experience, and any retail outlet's conversion rate. Like many other PHP frameworks
astorm
I'm pleased to announce the immediate availability of No Frills Magento Layout, the only Magento layout book you'll ever need. Clocking in at a dense 160 pages, this DRM free PDF is the perfect starter for developers new to Magento, and even old hands
astorm
Two quick site announcements.
astorm
Update: The Ides of March were doing their thing yesterday. If you were have trouble getting the extension to work (even after the first update) re-download and you'll be all set
astorm
Magento comes bundled with the ability to generate a Google sitemap. Google sitemaps are XML files that tell Google's webmaster tools where your site's content is. There's debate in the professional webmaster community as to how a Google sitemap will or won't affect your
astorm
When you start digging through Magento's internals to debug some problem, you often reach a point where you say to yourself
astorm
Drupal is a Content Management System. Drupal is also deeply, deeply weird. While systems like Magento often confuse people, the MVC structure that most people are used to is still there, it's just more abstract. Web MVC systems are systems designed to, first and
astorm
One trap a lot of people (myself included) fall into with Magento is forgetting that sometimes the best solution is just basic, standard PHP OOP. There was a Stack Overflow question where this came up in the comments, and I figured I'd wrangle a
astorm