Magento themes and extensions

Markup Tags in Magento

Share
Posted on February 9th, 2015 | Posted by admin

What are markup tags?

Markup tags are macro codes that have a special meaning in Magento. They typically look like text surrounded by double curly braces.

Markup tags can be used in CMS pages, static blocks and in email templates.

Different Types of Markup Tags

{{store url=”}}

This allows the entry of a URL associated with the store. For example,

<a href="{{store url='customer-service'}}"> Customer Service</a>

the output for this would be

http://www.example.com/customer-service/

This would link to the customer service page on the site. When the store url is left blank, it would link the store base url. Store url appends “/” at the end of the url.

{{store direct_url=”}}

This works similar to the store direct url but it does not append / at the end. It would output as

Get controller, module, action and router name in Magento

Share
Posted on October 14th, 2014 | Posted by admin

/**
* get Controller name
*/
$this->getRequest()->getControllerName();

/**
* get Action name, i.e. the function inside the controller
*/
$this->getRequest()->getActionName();

/**
* get Router name
*/
$this->getRequest()->getRouteName();

/**
* get module name

How To Get Current Page Url In Magento.

Share
Posted on March 26th, 2013 | Posted by admin

Get Current page url in magento or you can find catalog url using below code.
With the help of this code you can easily find

current page url in magento

Automatically Set The Shipping Method in Magento

Share
Posted on January 2nd, 2013 | Posted by admin

A lot of FishPig clients have complained about the default Magento shipping functionality. They feel – and we agree – that not informing the customer about any shipping costs until right before they enter their payment is a potentially damaging thing for conversion rates. Although we haven’t tested it, we’re pretty confident that being upfront about your shipping costs – or free shipping – will persuade more customers to purchase your product. What to do?

Basket Shipping
To solve this problem, we have created the Basket Shipping extension for Magento;. This extension is easy to install and requires no configuration to get it working; simply install through Magento Connect and refresh your cache!

Setting up a second homepage in Magento

Share
Posted on December 23rd, 2012 | Posted by admin

Setting up a second homepage in Magento

If you run multi-store in a single Magento installation with different themes (e.g. two stores), you need to setup a second homepage for your second store, and it’s fairly simple.

Simply go to CMS > Manage CMS pages to create a new page with below setting:

  • Page Title: Name for the title (try use something descriptive other than ‘home page’)
  • SEF URL Identifier *: Home
    (note, you can name it something else, if you do this, in the system > Configurations, select your second theme under the “Current Configuration Scope:”, then click on “Web”, at “Default Pages, first uncheck the “use website” from “CMS Home Page”, then choose the name (Page title) of the second theme)
  • Store View: Select the name of your second theme
Page 1 of 212»