Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2012
    Posts
    3
    Plugin Contributions
    1

    Default Can I use notifiers to assist during product edits/updates?

    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.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,493
    Plugin Contributions
    88

    Default Re: Use Of Notifiers - How To

    Quote Originally Posted by vukan71 View Post
    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'm not sure what you're asking; are you asking whether the Notifiers work in your admin area? If so, you are correct, the Notifiers work in your "catalog" section only. For changes to your admin area, you'll need to edit the "core" files.

  3. #3
    Join Date
    Jul 2012
    Posts
    3
    Plugin Contributions
    1

    Default Re: Use Of Notifiers - How To

    Thank you, that is what I asked.
    Last edited by vukan71; 6 Aug 2012 at 12:29 PM.

  4. #4
    Join Date
    Jul 2012
    Posts
    3
    Plugin Contributions
    1

    Default Re: Use Of Notifiers - How To

    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

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can I use notifiers to assist during product edits/updates?

    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.

 

 

Similar Threads

  1. Use Of Notifiers - How To
    By milosh in forum General Questions
    Replies: 37
    Last Post: 28 Jan 2019, 10:22 PM
  2. Replies: 5
    Last Post: 20 Feb 2011, 07:19 AM
  3. Help! Can anyone assist with some customization on my Zen Cart?
    By zuffron7 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Jun 2010, 11:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR