Magento Themes and Magento Extensions


Posted on August 17th, 2015 | Posted by admin

Start the special promotional week in August with PlazaThemes. Discount 20% (code: 5FBA0034) for all products, all magento templates & magento extensions in coupon codes, online promotional codes and the best coupons. We will continually update our pages with the most recent codes & coupons monthly in 2015 – so, please update often. What are you waiting? Let follow us (, to update the new products and our promotions regularly!!!
You can find more in for this link:

Phonegap HTML5 Project Structure

Posted on June 18th, 2014 | Posted by admin

During my first phonegap project i was very confused with what project structure to follow. Since Phonegap is a HTML5 app, all files needs to be .html only, so i was confused a lot of weather to use a single HTML file structure or multiple HTML files. Below in the blog post i will share my experience

Single HTML File

This make a lot of sense to use, because in multiple html files, will have lot of issues like passing variables, copy pasting header/footer multiple times in different files. But the problem with single html file is if we start to code our app in a single html file, the code will become very long and un manageable very soon.

Setting the Default Currency for a User in Magento

Posted on May 22nd, 2013 | Posted by admin

Setting the Default Currency for a User in Magento
This won’t alter the base price in the system but it will set the start price for a user. Simply add this to the top of /template/directory/currency.phtml

$currentCurrency = $this->getCurrentCurrencyCode();

if(!isset($currentCurrency)) $currentCurrency = ‘NA’;

$currencies = array(“GBP”,”USD”,”EUR”);

if (in_array(strtoupper($_GET['cy']),$currencies)) {
if(strtoupper($_GET['cy']) != $currentCurrency)

Magento Enterprise Tabs – How to select specific tab?

Posted on May 18th, 2013 | Posted by admin

Magento Enterprise Tabs – How to select specific tab?

This is how tab config looks in - catalog.xml

01 <block type="catalog/product_view_description" name="product.description"as="description" template="catalog/product/view/description.phtml">
02 <action method="addToParentGroup"><group>detailed_info</group></action>
03 <action method="setTitle" translate="value"><value>Product Details</value></action>
04 </block>
05 <block type="catalog/product_view_attributes" name="product.attributes"as="additional" template="catalog/product/view/attributes.phtml">
06 <action method="addToParentGroup"><group>detailed_info</group></action>
07 <action method="addToParentGroup"><group>detailed_info</group></action>
08 <action method="setTitle" translate="value"><value>Additional Information</value></action>
09 </block>
10 <block type="cms/block" name="payment_options_tab" as="payment_options_tab"template="catalog/product/view/custom_tab_content.phtml">
11 <action method="setBlockId"><block_id>payment_options_tab</block_id></action>
12 <action method="addToParentGroup"><group>detailed_info</group></action>
13 <action method="setTitle" translate="value"><value>Payment Options</value></action>
14 </block>
15 <block type="cms/block" name="shipping_calculator_tab"as="shipping_calculator_tab"template="catalog/product/view/custom_tab_content.phtml">
16 <action method="setBlockId"><block_id>shipping_calculator_tab</block_id></action>
17 <action method="addToParentGroup"><group>detailed_info</group></action>
18 <action method="setTitle" translate="value"><value>Shipping Calculator</value></action>
19 </block>

content of - custom_tab_content.phtml

Magento : How add translation ability into cms page or static block ?

Posted on May 14th, 2013 | Posted by admin

As we all know magento have multi-language store. Magento use following syntax in .pthml to make text translate to multi-language which is like this :

    <?php   echo $this->__('text to translate'); ?>


    <?php   echo Mage::helper('ModuleName')->__('text to translate');  ?>

But text written in cms page or static block have not translation ability.
To make cms page or static block text compatible with translation ability we need to do some extra coding work which is like this:

We can use following directive in cms page or static block

{{translate text="text to translate"}}

To make it working in cms page or static block we need to add directive function in magneto code as show in following steps.

Page 2 of 12«12345»10...Last »