¡@

Home 

php Programming Glossary: checkout_cart_product_add_after

Programmatically add product to cart with price change

http://stackoverflow.com/questions/5104482/programmatically-add-product-to-cart-with-price-change

code you can use within an Observer that listens for the checkout_cart_product_add_after or checkout_cart_update_items_after events. The code is logically.. events. The code is logically the same except checkout_cart_product_add_after is called for only one item and checkout_cart_update_items_after.. duplicated into 2 methods only as an example. Event checkout_cart_product_add_after @param Varien_Event_Observer observer public function applyDiscount..

Magento - Quote/order product item attribute based on user input

http://stackoverflow.com/questions/9412074/magento-quote-order-product-item-attribute-based-on-user-input

care to copy them over. Here is one possibility using the checkout_cart_product_add_after event. checkout_cart_product_add_after observers extra_options.. using the checkout_cart_product_add_after event. checkout_cart_product_add_after observers extra_options type singleton type class extra_options.. checkoutCartProductAddAfter method extra_options observers checkout_cart_product_add_after The parsing of the extra options and building the additional..

Magento: Adding simple products from a bundle to separate lines in the cart

http://stackoverflow.com/questions/9915427/magento-adding-simple-products-from-a-bundle-to-separate-lines-in-the-cart

share improve this question You will need an observer checkout_cart_product_add_after observers reporting type singleton type class Yourcompany_yourmodelname_Model_Observer.. class method onCartProductAdd method reporting observers checkout_cart_product_add_after Then do the observer class ourcompany_yourmodelname_Model_Observer.. extends Mage_Core_Model_Abstract Binds to the checkout_cart_product_add_after Event and passes control to the helper function to process the..