Magento override controller

后端 未结 5 929
你的背包
你的背包 2021-01-05 12:13

I would like to do the above. Ive overridden many files in the past...block, model, helper....but this one eludes me.

Can anyone see what im doing wrong here: (ive e

5条回答
  •  猫巷女王i
    2021-01-05 12:22

    Idgeneral_Checkout
    

    Should be

    Idigital_Idgeneral_Checkout
    

    or try moving your custom controller up to

    ../Idigital/Idgeneral/controllers/CartController.php
    

    and use

    Idigital_Idgeneral
    

    There is also an error in your tag location. It should be:

    
        
            
                0.1.0
            
        
        
        ...
           
    
        
            ....
        
    ...
    
    

    i.e shouldn't be inside

    Here's a good tutorial on how to dump the config tree that Magento sees as XML: http://alanstorm.com/magento_config

提交回复
热议问题