Thursday 15 January 2015

How to pass value from Javascript to php variable on the second page?

hello

How to pass value from Javascript to php variable on the second page?

I am giving example of how pass value using javascript.

create .php file like demo.php write to code

Friday 9 January 2015

Magento secure url Secure/Unsecure Link - Link Securely for Secure Pages only

hello

Your first (with the {{media}} tag) is correct and should work.

In the admin go to System > Configuration > Web > Secure and make sure the following are set:

    Base Link URL - {{secure_base_url}}
    Base Skin URL - {{secure_base_url}}skin/
    Base Media URL - {{secure_base_url}}media/

    Base Javascript URL - {{secure_base_url}}js/

magento Get Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url ,home url , module url , drirectory url userfull reference for magento

Hello here some useful code for Magento developer

Get Url in cms pages or static blocks


Thursday 8 January 2015

Change product list page template in magento


If you need to set page template for all categories, you need to take into consideration of default categories as well as layered categories. Use local.xml file for this.

first we want to create local.xml file in your theme. in path like this

app\design\frontend\<your_package>\<your_theme>\layout\local.xml

How to display discount percentage for Special Price in Magento


If price. phtml file not in your theme, please copy from here

copy

App/design/frontend/base/default/template/catalog/product/price.phtml

paste
App/design/frontend/default/YOURTEMPLATE/template/catalog/product/price.phtml