Category: Magento Professional

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

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

Magento – Delete Products Programmatically

In a previous post, I showed how to delete products in the Magento catalog using the SOAP API. In this post, we’ll be using a simple method using our Mage class, and removing products via the Magento Mage calls. Using

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

Magento – Delete Products using SOAP API

Deleted Magento Products via API

A question was posted in the comments section regarding deleting every product in the Magento Catalog without manually removing them via the Magento admin, so I wrote up a quick script using the Magento SOAP API. It’s not the fastest

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

How to Fix Magento Product Flat Data Index Stuck on Processing

Magento Product Flat Data Index Processing

If you’ve ever gone in to re-index your Product Flat Data index, and noticed that the orange Processing… status icon won’t go away, you are not alone! It’s quite a common problem, especially for those that have backed-up and restored

Posted in Magento, Magento Enterprise, Magento Fixes, Magento Professional, MySQL

Magento – Change Default Product Quantity to 1

Magento Default Quantity to 1

A very short and simple update today! I get asked alot if there’s an easy way to update Magento’s default 0 Quantity setting on the product pages, and the answer is yes (past 1.4 at least)! To do so, simply

Posted in Magento, Magento Enterprise, Magento Professional

Magento jQuery Tabs not working/error in IE8

I ran across an incredibly odd error today. Using jQuery UI and the Tabs references, we noticed that the tabs were working in every browser *except* IE8. After many, many hours of digging and redoing the tabs, adding noconflict(), everything…I

Posted in HTML, Javascript, jQuery, Magento, Magento Enterprise, Magento Professional

Magento – Change Default Register/Sign Up Link

An issue that a client asked for was that both the Sign Up and Log In links were directing to the same page. On the page, it has the “Register for an account” button on the left, and the login

Posted in Magento, Magento Enterprise, Magento Professional, XML

Magento Get CMS Page Title

This one is very simple! Just a simple line of code that I’ve been using pretty extensively the past couple weeks. Obviously you can get much more than the Title, such as keywords, any meta content, etc by simply changing

Posted in Magento, Magento Enterprise, Magento Professional, PHP

Magento – Batch / Bulk Edit Tax Class on All Products

If you’ve ever worked (or are working, good luck!) on a Magento product, and have already added in all of your products either by hand or importing, you know how tedious it is to go through each one again and

Posted in Magento, Magento Enterprise, Magento Professional, MySQL