US and Canada postal code validation RegEx

Posted by on Feb 8, 2014 in Javascript, Jquery, Magento | No comments yet

When dealing with magento or any other ecommerce websites which is meant to be targeted for specific countries or not we must check validity of the postal code On one of my recent projects I come with the same problem …

Get countryID from selected / entered shipping address magento

Posted by on Feb 7, 2014 in Magento, Php | No comments yet

Some times we need to get countryid from selected/entered shipping address, As the checkout page is completely driven by ajax we need to utilize any page which is refreshed like the available shipping methods block so when ever there is …

Remove a parameter from url

Posted by on Jan 27, 2014 in Php | No comments yet

In this post we are discussing about the ways in which we can remove a parameter from url we can do it by using preg_replace and regular expressions The regular expression used for this is and the whole code will …

Load More