Magento: Delete Orders Programmatically

Here is a quick code to delete orders programmatically in Magento. In Magento, there isn’t the facility to delete orders from admin grid. You need to write custom code to delete orders in Magento. Here is the full code to do so. This code can be saved in a new file in your Magento root … Read more

Magento: Delete Customers Programmatically

Here is a quick code to delete customers programmatically in Magento. You can manually delete customers from customer admin grid. But, sometime you might need to do it automatically through code. Here is the full code to do so. This code can be saved in a new file in your Magento root folder and then … Read more

Google Social Connect: Redirect URI mismatch error

Scenario: I have setup Google Social Connect on a website. When I try to login through Google Social Connect, I get the following 404 error stating: Error: redirect_uri_mismatch The redirect URI in the request: http://MY-WEBSITE-URL/socialconnect/google/connect/ did not match the registered redirect URI. Cause: A possible cause for such kind of error is mismatch of URL … Read more

Magento: Redirecting to Cart page from Checkout page after Place Order

Scenario: I added products to cart. Then did proceed to checkout. I have tried Cash on Delivery and Check / Money Order as Payment method. Everything is fine until the order review section. And then when I click the Place Order button then it gets redirected to Cart page instead of going to Order Success … Read more

LaTeX: Better Print Quality Font with Charter

The default font displayed in LaTeX document is good but if you want a better font which looks better in display and while printing then you can try Charter package. This package uses the charter font. You can simply use the charter package and your LaTeX document font will change automatically. Here is a sample … Read more

LaTeX: Roman numbers in enumerate list and adjust space between list items

In the enumerate list, the numbering by default is in Arabic form (1, 2, 3, 4, 5, etc.). You might need to show these numbering in romanized form (i, ii, iii, iv, v, etc.). To do so, you need to use enumitem package. This package pro­vides user con­trol over the lay­out of the three ba­sic … Read more

Facebook LikeBox on Popup and Sidebar: Magento Extension [FREE]

Facebook LikeBox on Popup and Sidebar is a FREE Magento Extension that allows allows Facebook Like Box to popup on page load and also display the like box on left and right sidebar. You can show your Facebook Page on the popup and sidebar. This module is compatible with Magento version 1.5 and later (Magento … Read more