Site logo

[Support request] How to add custom hook for woocommerce

Home Forums Support [Support request] How to add custom hook for woocommerce

Home Forums Support How to add custom hook for woocommerce

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1918022
    Ree

    Referring to this visual hook guide : https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/

    I want to add an element using the hook woocommerce_review_order_before_shipping but I couldn’t find it in the Settings > Hook > dropdown. So I went to Element > Add Hook > Custom Hook Name, but nothing happened.

    How can I add a custome hook please? Thank you.

    #1918034
    Ying
    Staff
    Customer Support

    Hi Ree,

    Just to confirm you added the hook to the custom hook field?

    And set page > checkout as location?

    Let me know 🙂

    #1918278
    Ree

    yes i did. attaching some images of my settings.
    As you can see after hook creation I couldn’t find it in the dropdown.

    https://prnt.sc/1r6eero

    https://prnt.sc/1r6ejty

    https://prnt.sc/1r6ehgb

    #1918294
    Leo
    Staff
    Customer Support

    Hmm the third screenshot shows there isn’t any content.

    Having just the <a> tag wouldn’t display anything.

    #1918300
    Ree

    Yes it’s an anchor link not suppose to display anything…

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.