For eg. If you want to automatically generate a single random coupon code in Magento each time someone subscribes to…
Useful Tricks
To load a coupon by code, pass ‘code’ as 2nd param to load(). Then you can get the proper rule…
1.html <div id=”toTop” style=”display:none”>Back to Top</div> 2. JS<script language=”javascript”>jQuery(function() { jQuery(window).scroll(function() { if(jQuery(this).scrollTop() != 0) { jQuery(‘#toTop’).fadeIn(); …
Suppose, we need to create a custom url like ‘abc’ for test/test/index 1. Define an event in config.xml 2. Then…
1. Define a link in any phtml file as<?php $client_id= ”; $redirect_uri=’test/test/gooledata’; $scope = “https://www.google.com/m8/feeds/”; //google scope to…
In Magento, there are two columns in sales_flat_order table.These are state and status, They both are different. State is used…
Lets imaging that you have Magento 1.4.1.1. web store and you need to upgrade it to 1.5. or 1.6 version….