php - Magento Custom Module. Redirect to another module and return to checkout -


magento shopping cart built on zend framework in php. first time i've dealt zend framework , i'm having following difficulty...

i'm creating custom module allow users upload images whenever purchase products.

i can overload addaction() method whenever user attempts add product cart. can create custom module presents form user , accepts file(s). i'm not sure how insert code run module overloaded method:

<?php require_once 'mage/checkout/controllers/cartcontroller.php'; class company_specialcheckout_checkout_cartcontroller extends mage_checkout_cartcontroller {     # overloaded addaction     public function addaction()     {         # when user tries add cart, request images them         # *********         # *** do in here display custom block ???? ###         # *** , allow addaction continue if validated form input ###         # *********          parent::addaction();     } }  

i suspect difficulties come lack of knowledge of zend mvc way of doing things. i've studied magento documentation/wikis/forum threads top bottom.

hey option given in newer version of magento 1.3.1 upload file frontend enjoy


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -