Jump to content

ilmtech

Members
  • Posts

    3
  • Joined

  • Last visited

1 Follower

About ilmtech

  • Birthday 12/28/1987

Contact Methods

Profile Information

  • Location
    India
  • Activity
    Developer

ilmtech's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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 Is there any way I can check the product before it updated in cart (not override) Else can I display error message in checkout page using hook actionCartSave Thank you.
  2. Hi, I'm trying to add or update the value but langaue doesn't update I don't know what is the problem kindly help public function hookActionProductUpdate($params) { $default_lang = (int) Configuration::get('PS_LANG_DEFAULT'); $id_product = Tools::getValue('id_product'); $ilmmintext = array(); $ilmmaxtext = array(); $ilmminmaxorderqty_obj = IlmOrderQty::loadByIdProduct($id_product, $default_lang); $ilmminmaxorderqty_obj->ilmmin = Tools::getValue('ilmmin'); $ilmminmaxorderqty_obj->ilmmax = Tools::getValue('ilmmax'); $ilmminmaxorderqty_obj->ilmatt = Tools::getValue('ilmatt'); $ilmminmaxorderqty_obj->id_product = $id_product; $languages = Language::getLanguages(false); foreach ($languages as $lang) { $ilmmintext[$lang['id_lang']] = Tools::getValue('ilmmintext_' . $lang['id_lang']); $ilmmaxtext[$lang['id_lang']] = Tools::getValue('ilmmaxtext_' . $lang['id_lang']); } $ilmminmaxorderqty_obj->ilmmintext = $ilmmintext; $ilmminmaxorderqty_obj->ilmmaxtext = $ilmmaxtext; if (!empty($ilmminmaxorderqty_obj) && isset($ilmminmaxorderqty_obj->id_ilmminmaxorderqty)) { $ilmminmaxorderqty_obj->update(); } else { $ilmminmaxorderqty_obj->add(); } }
  3. Hi, I'm developing a module for PS1.7 I want to add extra tab for Product in Backoffice and there I need to configure my needs. Kindly help me how to work with formfileds in hookDisplayAdminProductsExtra. Thank You.
  4. Hi, I'm selling my extension in prestashop marketplace for past 1 year. Currently I facing a new problem my module which was sold in prestashop marketplace is automatically refund without my knowledge. Order IDs : #306072 and #311510 Note: there is no conversation between these two order. There is no response from the addons team
×
×
  • Create New...