This method return the path url of the current selected Skin.
<?php $this->getSkinUrl(); ?><?php $this->getSkinUrl(); ?><?php header('Content-Type: text/xml'); //header('Content-Type: text/plain'); echo $config = Mage::getConfig() ->loadModulesConfiguration('config.xml') ->getNode() ->asXML(); exit(); ?> <?php $coupon_code = Mage::getSingleton('checkout/session')->getQuote()->getCouponCode(); if($coupon_code){ echo "coupon used"; } else { echo "coupon not used"; } ?><?php Mage::getUrl(); ?><?php //header('Content-Type: text/plain'); header('Content-Type: text/xml'); echo $config = Mage::getConfig() ->loadModulesConfiguration('system.xml') ->getNode() ->asXML(); exit(); ?>
1
2
3
4
5
6
| <!--<reference name="top.links"> <block type="wishlist/links" name="wishlist_link"/> <action method="addLinkBlock"><blockName>wishlist_link</blockName></action> </reference>--> |
1
2
3
| <!--<action method="addLink" translate="label title" module="customer"><label>My Account</label> <url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/> <position>10</position> </action>--> |
1
| <action method="addLink" translate="label title" module="customer"> <label>Home</label><url helper="core/url/getHomeUrl"/><title>Home</title><prepare/><urlParams/> <position>10</position> </action> |
1
2
3
4
5
6
| <?php //My Cart link <action method="addCartLink"></action> //Checkout link <action method="addCheckoutLink"></action> ?> |
<reference name="content"> <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml"> <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> </block> <action method="setCategoryId"><category_id>3</category_id></action> <action method="setToolbarBlockName"><name>product_list_toolbar</name></action> </block> </reference> <reference name="left"> <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference> Save the page. Refresh cache and visit the page using the URL assigned in the CMS page .