The benefits of PHP 7 are clear: it is faster and more secure than older versions, and offers developers new ways to write code and build features. Sooner or later, any Magento 1 store owner will reasonably ask whether the…
Cache Warmer for Magento 1 and Magento 2
What is a cache warmer anyway? How can it help you running your Magento store at optimal speed all the time? In a nutshell: A cache warmer calls all your store URLs at a predefined time. Doing so, it makes…
Reindex URL rewrites (Magento 2)
The URL rewrites of Magento 2 will not be reindexed when rebuilding the index via command line. I recommend using https://github.com/olegkoval/magento2-regenerate_url_rewrites to include the reindex of URL rewrites on the shell. This Magento 2 extensions allows for reindexing all URL…
Creating database backup on command line (Magento 2)
The following shell command (executed from your Magento 2 root folder) allows you to create a database backup of your Magento 2 store. php bin/magento setup:backup –db
Cache Warmer for Magento 1 and Magento 2
What is a Magento cache warmer, and how can it help your Magento 1 or Magento 2 store run smoothly? In simple terms, a cache warmer visits all your store URLs in the background, for example once a day at…
Reindexing URL rewrites (Magento 2)
Magento 2 URL rewrites are not updated simply by rebuilding the indexes. If you want to rebuild them from the command line, I recommend using https://github.com/olegkoval/magento2-regenerate_url_rewrites. This extension lets you regenerate all Magento 2 URL rewrites from the shell. Afterwards,…
Creating a database backup from the command line (Magento 2)
To back up your Magento 2 database from the command line, run this command from the root directory of your Magento 2 installation:
|
1 |
php bin/magento setup:backup --db |
SEO tip: URLs for translated content in Magento 1 and 2
If your Magento store supports several languages, you should also give translated content, such as product pages, distinct URLs for each language. If your German product page is called www.ihreseite.de/ihrprodukt.htm, the English product page should, for example, use www.ihreseite.de/yourproduct.htm lauten.
Checkout progress no longer works (Magento 1)
If the checkout progress indicator no longer appears in Magento, the problem is almost certainly related to your theme. Open the theme’s checkout.xml file and add the following code:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<checkout_onepage_progress_billing> <!-- Mage_Checkout --> <remove name="right"/> <remove name="left"/> <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml"> <action method="setInfoTemplate"><method></method><template></template></action> </block> </checkout_onepage_progress_billing> <checkout_onepage_progress_shipping> <!-- Mage_Checkout --> <remove name="right"/> <remove name="left"/> <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml"> <action method="setInfoTemplate"><method></method><template></template></action> </block> </checkout_onepage_progress_shipping> <checkout_onepage_progress_shipping_method> <!-- Mage_Checkout --> <remove name="right"/> <remove name="left"/> <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml"> <action method="setInfoTemplate"><method></method><template></template></action> </block> </checkout_onepage_progress_shipping_method> <checkout_onepage_progress_payment> <!-- Mage_Checkout --> <remove name="right"/> <remove name="left"/> <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml"> <block type="checkout/onepage_payment_info" name="payment_info"> <action method="setInfoTemplate"><method></method><template></template></action> </block> <action method="setInfoTemplate"><method></method><template></template></action> </block> </checkout_onepage_progress_payment> |
Solving the “Cannot retrieve rate from http://www.webservicex.net/CurrencyConvertor.asmx” error (Magento 1)
Sometimes the webservice for updating the currency exchange rates is not available and you might get the WARNING: Cannot retrieve rate from http://www.webservicex.net/CurrencyConvertor.asmx… error by mail or in some log file. This problem can be solved with the free FixerIOCurrencyImport…