Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon 692 posts 1068 karma points
    Nov 06, 2016 @ 11:30
    Simon
    0

    Clear cache on Save Button for product content type

    Hi Guys,

    Can anyone help me out how I can listen to the save event on the Save button for the product content type in order to clear cache please?

    Because I am listening to the content published event and is not clearing out.

    Thank you for your help..

    Kind Regards

  • Simon Dingley 1474 posts 3451 karma points c-trib
    Nov 07, 2016 @ 09:59
    Simon Dingley
    0

    When you say ProductContentType do you mean the Doctype that you are using for your products? If so you should be able to add an event handler to the ContentTypeService.SavedContentType event and check that you are dealing with a product content type and then perform any cache clearing task(s) you need to.

    Cheers, Simon

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies