Bring Your Business to Life › Support › Image Store › ims_after_update_cart hook
- AuthorPosts
- December 28, 2013 at 9:39 am #55609lch503Participant
Hello
There is no ims_after_update_cart hook as it says in the documentation. Could you add this preferably between lines 281 and 283 of _inc/cart.php?
Thanks,
Leon
December 28, 2013 at 3:19 pm #55615Xpark MediaKeymasterThe hook changed, use ims_after_add_to_cart_{$action} where $action is “add” or “update”, if you want to use the hook only when the car is updated use ims_after_add_to_cart_update.
If you want to run your function every time use ims_after_add_to_cart
December 29, 2013 at 10:13 am #55968lch503ParticipantHello,
If I use the ims_after_add_to_cart I have to recalculate everything, and resave my data to the database. Most of the code will be nearly all copy and paste what you have, and therefore just being re-executed.
Would you please reconsider adding the hook ims_after_update_cart in the location I suggest as this would be a massive help in the creation of the CD plugin, as with this addition it is complete. (I have added it myself and it all works).
Thanks,
Leon
December 29, 2013 at 4:44 pm #55972lch503ParticipantHello,
I have completed the CD plugin using he current hooks, therefore my request is not required. Thank you for all your help.
You can mark this as closed.
Thanks,
Leon
- AuthorPosts
- You must be logged in to reply to this topic.