Magento

Magento2 Issue with Binding

While working on a new Magento 2 site, we were trying to customized a menu item to display the current number of items in a user shopping cart, dynamically. For some reason the code was working properly and then suddenly stopped when we added a new patch.

The error we received was something like “Uncaught TypeError: Unable to process binding”.

Read More

Magento Stress Testing Checkout – Auto Add Products To Cart

Every once in a while, we run into an issue where the checkout process either stalls or redirects back to the main checkout screen, when adding a significant amount of products to the cart. There are a whole host of issues that can cause this, but the most tedious process of debugging it, is adding all of the products to the cart in the first place. We’ve written a small script to automatically add products to your cart by simply visiting the script on the website.

Read More

SUPEE-8788 Missing Upload Button Fix

UPDATE: 10/19/16. It also breaks your attribute editing in some instances:
http://magento.stackexchange.com/questions/53352/magento-1-9-no-upload-image-buttons
app/design/adminhtml/default/default/template/media/uploader.phtml

To fix the product image upload button not loaded in Magento CE 1.9.2.1, I had to add ' character in maxUploadFileSizeInBytes value.
 
Change
 
var maxUploadFileSizeInBytes = <!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->;
To
 
var maxUploadFileSizeInBytes = '<!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->';

After having applied the latest SUPEE-8788 patch to an Magento EE system, we noticed right away that the “upload” button was missing on the products WYSIWYG view.

Read More

Magento Debugging Transactional Emails

Magento’s transactional email templates are incredibly power tools to be able to completely customize your brand to customers. One of the toughest challenges faced by designers is being able to test the email as it would look in an inbox, using actual data. We’ve come up with a super easy way to test emails listed below.

Read More

Magento Multiple Stores with Seperate WordPress Instances

We’ve started to bring another store online recently that was to be added to an existing Magento hosted store. The existing store already had a blog setup and running with the store under a specific sub-directory. The challenge was the we wanted to bring online a new blog instance that was completely separate from the existing store, but not clutter up our root structure.
The solutions was a bit of HTACESS hacker and domain name management.

Read More

Magento EE Check If Order Item Has Been RMA’d

One great feature of Magento Enterprise is that it comes with an RMA system completely built in. Its a very good feature to have if you have a high volume of sales. The system is a bit confusing to learn, from a user interface perspective, but once you get the hang of it its not that difficult.

From a programmatic perspective, it makes sending out order specific information a bit more complicated and will also affect any sales data forecasting tools that you have custom built. Below is a snippet of code to help determine whether an order has any RMA’d items, programmatically.

Read More