front end product deletion trigger

  • Posts: 105
  • Thank you received: 2
7 years 2 months ago #258707

-- HikaMarket version -- : 1.6.7

Hello,
it seems the trigger onAfterProductDelete is not activated when a product is deleted from the front end (it looks like it is javascript).
Could you tell me if I am wrong and if not if there is another trigger activated; or else please tell me how/where I could insert a function/trigger to perform some action (updating a table based on some fields of the product)
regards
richard

Please Log in or Create an account to join the conversation.

  • Posts: 105
  • Thank you received: 2
7 years 2 months ago #258714

Hello,
please disregard, I was using a plugin in Hikamarket and I found that it is in Hikashop that this trigger is activated.
Richard

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
7 years 2 months ago #258708

Hi,

The HikaMarket "delete Toggle" function is using the HikaShop product class in order to perform the deleting.
In that class, the trigger "onAfterProductDelete" is called when the deletion is made successfully.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.059 seconds
Powered by Kunena Forum