• Resolved dhruvsompura

    (@dhruvsompura)


    Hello,

    I create custom notification for product. when user add product in cart. We send notification. but i cannot see any merge tags like post type products. can i add post types to my custom notification.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    You can add any public post types in Notification -> Settings -> Triggers -> Post Types, but using some specific product values like price etc may require some custom merge tags to be coded.

    If that’s WooCommerce we have an integration extension.

    Thread Starter dhruvsompura

    (@dhruvsompura)

    I already added product post type in trigger but when i am creating new trigger using class i am not getting any new merge tags, i need merge tag of product for this trigger.How can i display merge tags here ? can you please send me example url for this?

    Please check this screenshot
    https://nimb.ws/ciKzgq

    Plugin Author Kuba Mikita

    (@kubitomakita)

    If you create a custom trigger you need to register all your merge tags so you can use them. Please refer to the documentation: https://docs.bracketspace.com/notification/developer/triggers/custom-trigger and see the merge_tags method in the trigger class.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add custom post merge tag in my custom notification’ is closed to new replies.