Magento
Magento: Use default validation in custom form
Magento uses Prototype library to manage form validation. In Your custom form just assign a valid class names to your input fields, and pass the form id to VarienForm object.
Magento uses Prototype library to manage form validation. In Your custom form just assign a valid class names to your input fields, and pass the form id to VarienForm object.
Get An Array of Country Names/Codes in Magento The above code will print out an array containing every country code and country name known to Magento. Create a Country Drop Down in the Frontend of Magento Create a Country Drop Read more…
1- For Custom Menu In responsive use the default for reponsive. and use the after for sub menu as below: 2- add this meta tag in head.phtml:
Came across other day the need to upload pdf files through the WYSIWYG tool on Magento. I’ve checked the native functionality and it allows by default only images (jpg, png, gif). So, to change the initial behavior I opened the Read more…
Redirect User To Login If User Is Not Logged In Or a login Link To see Product details for non-logged in user:
Sometimes we need to add some Custom fields in the Billing and Shipping Address of the Onepage Checkout for Registered user, Guest user and at the time of Registration. Create a module by Following Steps: Step: – 1 Add Custom Read more…
Create A custom Extention As Follow: app/code/local/Sushant/NewsletterRedirect/controllers/SubscriberController.php : app/code/local/Sushant/NewsletterRedirect/etc/config.xml: app/code/local/Sushant/NewsletterRedirect/etc/system.xml: app/code/local/Sushant/NewsletterRedirect/Helper/Data.php: