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 what...

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.YOUR CMS BLOCK IDENTIFIERWhen you create your static block in...

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:Lastly we need to build up our markup with our above helpers / model and product. (Note very similar to how...

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:This can be useful if you wish to have, say a page use the empty layout in the design tab, with no page title to be displayed.

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:This can be useful if you wish to have, say a page use the empty layout in the design tab, with no breadcrumbs to display.

read more

Combat Extreme – Facebook 3D Shooter

My little brother and I have been working on this third-person shooter video game together for well over a year now, come check it out and play for free through your web browser!

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

« Previous Entries