[Resolved] Child Theme WooCommerce

Home Forums Support [Resolved] Child Theme WooCommerce

Home Forums Support Child Theme WooCommerce

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #783407
    Rob

    Hi, Im using the GP Child Theme.

    I want to add a simple button to the WooCommerce My Account page, but Im reading on the web that for custom pages its best to “copy the file to your child theme”, but not actually how to do that.

    Do I simply copy the my account php into the child theme folder, do I then need to tell WooCommerce to look there instead after I copy it?

    #783723
    David
    Staff
    Customer Support

    Hi there,

    if its just a simple button then you could use one of the Woocommerce Hooks:

    https://businessbloomer.com/woocommerce-visual-hook-guide-account-pages/

    Then use the GP Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    #783736
    Rob

    Thanks David, Ill give it a go 🙂

    #783746
    David
    Staff
    Customer Support

    You’re welcome. Just to note. In the Element > Hooks List there is a Custom Hook, this provides a field for you to add your Custom Hook, so just copy and paste the one you need from the visual guide.

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