danneh.org

Tag: automatic

Adding shipping costs to the cart automatically in Magento

by Dan on Aug.11, 2010, under Magento, PHP

I’ve come across a handful of sites now that either do (or want to) automatically add a default shipping charge to the cart when it’s created or updated. As I had a bit of trouble finding a method for this, I thought I’d post my exact method here for usefulness and future reference.

In order to get this working, you need a module which hooks into the event ‘sales_quote_save_before’. We’ll use the namespace BTS.

Continue reading “Adding shipping costs to the cart automatically in Magento” »

62 Comments :, , , , more...

Blogroll

A few highly recommended websites...