¡@

Home 

php Programming Glossary: getproduct

How to determine the first and last iteration in a foreach loop?

http://stackoverflow.com/questions/1070244/how-to-determine-the-first-and-last-iteration-in-a-foreach-loop

a id '. val 'xsubcatid' .' href javascript void 0 onclick getProduct this event class sub_node_links ' echo val 'xsubcatname' .'..

Programmatically add product to cart with price change

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

into Magento's core code I found that you need to use item getProduct setIsSuperMode true in order to make item setCustomPrice and.. specialPrice item setOriginalCustomPrice specialPrice item getProduct setIsSuperMode true Event checkout_cart_update_items_after..

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

getRequest getParam 'extra_options' product observer getProduct add to the additional options array additionalOptions array.. array with the option code additional_options observer getProduct addCustomOption 'additional_options' serialize additionalOptions.. orderItem observer getOrderItem options orderItem getProductOptions options 'additional_options' unserialize additionalOptions..

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

public function onCartProductAdd observer product observer getProduct isProductBundle product getTypeId 'bundle' items_to_add array.. as item_to_be_added ids_to_add item_to_be_added getProductId cart addProductsByIDs ids_to_add cart save Mage getSingleton.. this @var Mage_Bundle_Model_Product_Type typeInstance this getProduct getTypeInstance true get bundle options optionsQuoteItemOption..