Category: Magento

Magento – Change URL of Uploaded WYSIWYG Image Paths

While working on a Magento CE 1.7 site, the client was tired of seeing crazy URLs for his uploaded images (directives!) for everything that he was uploading through his WYSIWYG editor for products, CMS pages, etc. I wanted to change

Posted in Magento, Magento Enterprise, PHP, WYSIWYG

Magento – AddThis Extension with Shortener Fix

I have noticed that the Magento extension used for AddThis sharing service does not include the necessary calls for using the URL shortening service with Twitter. Within your AddThis account, you can specifically say that you want to use

Posted in AddThis, Javascript, Magento, Social Media

Magento – Removing “Top 5 Search Terms” from Dashboard.

If you’ve installed the Magento test data, you may notice search terms that you really don’t want/need to show up on the Dashboard once you push a site live. While working on a client’s site, all they were seeing were

Posted in Magento, Magento Enterprise

Magento Admin Editor – “Opener is null” Issue with Inserting Images/Files

While working on a Magento EE 1.12 site, an issue came up that affect mostly Firefox and Chrome, where anytime we would try to Insert File via the Magento Media Manager, nothing would happen. Investigating this lead to an error:

Posted in Javascript, Magento, Magento Enterprise, Magento Fixes

Magento – Getting Store Information, Name, Codes, etc

Just a quick post tonight – came across a site that I wanted to use a PHP Dynamic Copyright function, but wanted to use the Magento Store Names due to multiple storefronts being used. A quick list of Magento’s store

Posted in Magento, Magento Enterprise, PHP

Magento – Set Order Status Programmatically

While working on a project this evening, I was tasked with setting the order status of all orders within September to Complete automatically, no notifications to the customer, and a comment was needed for exporting later. Below is how it

Posted in Magento, Magento Enterprise, PHP

Magento – Get Orders within a Specified Date Range Collection

A quick update again! I needed to grab all orders within a specific time frame, and run a cron job each day to grab the past 7 days worth of orders that were not set to Complete. Below is how

Posted in Magento, Magento Enterprise, PHP

Magento – Check for Secure / Unsecure URLs in code

Here’s a quick way to check if you are in a secure URL, such as would happen if you have “Use Secure URLs in Frontend” enabled. This code can be placed within phtml files to check the URL.

Posted in Magento, Magento Enterprise, Magento Professional, PHP

Magento 1.7 Released with Tons of Improvements!

Just a quick update here! If you haven’t already seen the gigantic list of additions, improvements, and fixes in Magento 1.7 (Community Edition, EE was also updated), you should! Some of my favorite updates: – Auto Generation of Coupon Codes

Posted in Magento, Magento Enterprise, Magento Fixes, Mobile Development, PHP

Moving the Magento Breadcrumbs

The breadcrumbs in Magento’s default layout are fairly well placed, but lets say you want to move them to the header.phtml file? How do you go about moving it, because you cannot simply cut the out of the page template

Posted in Magento, Magento Enterprise, Magento Fixes, Magento Professional, PHP