The following steps are, as of October 22, 2015, the quickest way to get a working version of Magento 2 up and running without checking out the source from GitHub. The following will install the merchant beta – which is a stable, mostly feature complete version of Magento 2. There have been changes to the Magento 2 source since [...]

Here’s another gotcha to be careful of when using the sales/quote model objects. If you pass the following methods setBillingAddress, setShippingAddress, assignCustomerWithAddressChange an existing quote address object, these methods will reassign the address to the current quote (removing it from the old quote). If you were [...]

Here’s another caution sign if you’re using the sales/quote object’s deleteItem or removeItem method. If you look at the code that marks an item for deletion $item->isDeleted(true); if ($item->getHasChildren()) { foreach ($item->getChildren() as $child) { $child->isDeleted(true); } } $parent = [...]

I’m working on an in-depth ERP project, and ran into a strange problem where I had a reference to a quote object that refused to delete its items. I could run something like this foreach($quote->getItemsCollection() as $item) { if("item meets my criteria") { $quote->deleteItem($item); } } [...]

Just a quick writeup this time on how I'm using Squid to help debug PHP/Magento issues on an iPad with a non DNS hostname. I'm not exactly breaking new ground here, but I found none of the existing sources everything I needed or wanted