Magento Forum

   
Cart Event Trigger
 
dmcdaniel12
Jr. Member
 
Total Posts:  15
Joined:  2011-12-20
Cincinnati, OH
 

Hello Everyone,

I am new to programming in Magento and I had a quick question.

Here is what I am trying to do:

If a user enters the cart, the cart checks if it has a discount, if it does, it does an action.

Does this make sense? If so, how would I go about doing something like this? Is it even possible? Any help is much appreciated.

Thanks,
dmcdaniel12

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

Using event and observer you can achieve this.

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
dmcdaniel12
Jr. Member
 
Total Posts:  15
Joined:  2011-12-20
Cincinnati, OH
 

How would something like this be accomplished? Are there any guides to help me go through an observer? I’m very new to Magento programming so I would like to read up on it more.

Thank you,
dmcdaniel12

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ryan Sun _Kuafu
Guru
 
Total Posts:  317
Joined:  2008-11-14
FL
 

http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top