I need Notifiers for product update, new product, product delete... I looked at http://www.zen-cart.com/wiki/index.p...Observer_Class, and google it, but it seems that Zen Cart does not have something like this.
I need Notifiers for product update, new product, product delete... I looked at http://www.zen-cart.com/wiki/index.p...Observer_Class, and google it, but it seems that Zen Cart does not have something like this.
Thank you, that is what I asked.
Last edited by vukan71; 6 Aug 2012 at 12:29 PM.
If I wanted to make XML with product and products properties, and save it as file - and change it (XML) only if some of products is updated or deleted, how can I do it in Zen Cart if I dont have observer/event for product update/delete ...
Do you have any ideas?
Thanx
You would need to add your custom code to the end of the update_product.php script, located at:
/admin/includes/modules/PRODUCT_TYPE/update_product.php (may or may not exist for a given product-type)
and/or
/admin/includes/modules/update_product.php (fallback master if no product-type-specific file found as described above)
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks