27 Jul 2009, 4:31 PM
New Zenner
- Join Date:
- Jan 2009
- Posts:
- 18
- Plugin Contributions:
- 0
How to check cart contents from shipping module?
I would like to edit our shipping module to check if a user's cart contains a certain item, then add a surcharge to the shipping costs of that entire order.
In code, how would we check to see if the cart contains an item?