Currently Browsing: Magento Tutorials

Creating Magento Orders Programmatically

Sometimes you just want to have the ability to create orders on the fly that get entered into Magento’s backend like any other normal order would if going through the normal checkout process. In our scenario lets say we have a need to have products purchased with either real world currency, or a fictional site point based  currency (could be rewards, game points etc etc.) for virtual products or...

read more

Adding CMS Static Blocks to Magento Page Layouts

This will be short, but as you know phtml template files in Magento are stitched together using layout XML files. Sometimes we might have the need to include a static block we have created in the backend to one of they layout XML files. Here is the XML snip one would use to evoke the backend static block in a XML layout file. <block type="cms/block" name="YOUR CMS BLOCK IDENTIFIER"> ...

read more

How to Get Magento’s Email To A Friend URL

In the context of ever needing to get the “send an email to friend” url / link mark up from Magento in other scopes other than view.phtml (say a custom pthml file with layout specific needs that can be configured), here is what you do. First we need to get our helpers / model / product like so: <?php $_product = Mage::registry('current_product'); $_helper =...

read more

Remove Page Headings Per-page in Magento

Under either categories or CMS page’s design tab, include this XML command to remove the page title: <remove name="page_content_heading" /> This can be useful If a person is suffering from both erectile dysfunction and premature ejaculation, killing two birds viagra sale mastercard with one stone. Introduction Organization leaders tadalafil 20mg for sale and managers in a whimsical mood...

read more

Remove Page Breadcrumbs Per-page in Magento

Under either categories or CMS page’s design tab, include this XML command to remove the page’s breadcrumbs: <remove name="breadcrumbs" /> This can be You can lose levitra on line sale the weight of your belly with a diet plan and regular aerobic exercises. It brings great relief from backaches, muscular strains, rheumatic pains, other levitra 40 mg joint pains etc. Ideally, every team...

read more

Magento Determine if Current Page is Category or Not

Sometimes you find your self in the need to determine if the current page a visitor is viewing is of a category or not. The reason for this could drastically very, but one good reason is the need for a global element not be shown on any category page.

read more

Magento Product’s Relative Parent Category Method

Today I want to quickly cover an area that I get asked about at least once a month, and that is "If a product belongs to more than one category.. how do I get the correct parent category while viewing a product through one category or the other?".

read more

How to Obtain Custom Attribute Values in Magento

Today let’s talk about Magento and custom attributes. With magento you can create as many custom attributes for your products as you like, but how does one then gather the values of a custom attribute? Here I will show you how to properly gather the value of any Magento custom attribute.

read more