Jump to content

Edit History

ilmtech

ilmtech

Hi,

I'm developed a Module which contain Override cartcontroller which helps to use custom functionality before product add to cart but, I cannot use multiple override cartcontroller when other module has different functionality. I can adapt multiple functionality in same override controller but each time I need to customize that file for merge different override function, this make more pressure for me.

I also checked the hooks but I can only find a hook "actionCartSave" but it execute after cart update, rather I need a hook before cart update.

Can anyone help me for below issue

  1. Is there any way I can check the product before it updated in cart (not override)
  2. Else can I display error message in checkout page using hook actionCartSave

Thank you.

ilmtech

ilmtech

Hi,

I'm developed a Module which contain Override cartcontroller which helps to use custom functionality before product add to cart but, I cannot use multiple override controller that other module has different functionality. I can adapt multiple functionality in same override controller but each time I need to customize that file for merge different override file this make more pressure or me.

I also checked the hooks but I can only find a hook "actionCartSave" but it execute after cart update, rather I need a hook before cart update.

Can anyone help me for below issue

  1. Is there any way I can check the product before it updated in cart (not override)
  2. Else can I display error message in checkout page using hook actionCartSave

Thank you.

×
×
  • Create New...