• opsbp

    (@opsbp)


    Hello guys i need this function if someone buy some product in shop then can show him this

    echo do_shortcode("[do_widget_area avada-custom-sidebar-store-review-$store_user->ID]");

    Buy if it’s not buy then i want that show him only message

    Can anyone help me please

Viewing 1 replies (of 1 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    You’d need to trigger that code with a hook. If you’re unsure which hook to use, have a look at the excellent https://hookr.io/plugin plugin – it’ll give you a visual guide of all the hooks available on any given page.

Viewing 1 replies (of 1 total)
  • The topic ‘If buy product’ is closed to new replies.