Simple countdown timer using javascript
we can create an simple countdown timer using javascript without any javascript library for that first we need to create an html element with the following And add the javacript code from below countdown(2) is the function which invokes the …
Get country list in magento
By accessing the magento collections we can get country list in magento, Here is the code to get all the countries in magento Hope you get country list in magento using this code snippet.
Show order summary inside magento success page
Sometimes we need to show order summary inside magento success page Copy this snippet of code inside template/checkout/success.phtml Hope you will get how to show order summary inside magento success page
Get list of all WordPress menus
If we need to get list of all wordpress menus we have to use the get terms, The code to fetch all the WordPress menus os shown below
