Adding comments to fields in admin area (Magento 1)

It is possible and helpful to add comments to the Magento admin fields. Take a look at the following picture: To add a field and a comment, open your modules system.xml and add the below XML:

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:

Sending parameters to a static block (Magento 1)

You have to use so called filters to send parameters to a static block from a template for example. Lets take a look at the following code: Thats the static Magento block:

We want to send attributset_name and product_id…