Removing estimated shipping from cart (Magento 1)

To remove the estimated shipping block from the Magento cart, you have to add the below code, or, if the checkout_cart_index handle already exists, simply add the checkout.cart section to it.

Deleting upsell products directly in the database (Magento 1)

Once saved, upsell products can not be removed again easily. Using the following MySQL script, you can delete Magento upsell products from the database.

Setting and getting session values (Magento 1)

Use the below code to set and get Magento session values:

Reading request parameters (Magento 1)

The following short snippet is sufficient to read a Magento request parameter:

Changing customer email addresses in Magento

When testing new features locally on your development machine, it is advisable to change the customers’ email addresses. You can use the following script for this purpose: Warning: Never execute these statements on a production system!

Now open an…