Add text link to individual product page below attributes

This topic has 6 replies, 3 voices, and was last updated 7 years, 3 months ago ago by Rose Tyler

  • Avatar: xoxfxjx
    forbesindustries
    Participant
    January 11, 2017 at 23:19

    How would I go about adding a bit of text with a link to the area beneath the attribute selection on an individual product page? Please see the image here

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 12, 2017 at 09:00

    Hello,

    Unfortunately, our theme doesn’t have it by default and it needs additional code customization that is out of theme support scope.
    You can add some links in Product description section or try to edit the file wp-content/themes/woopress/woocommerce/content-single-product.php.
    Make your changes in the child theme to prevent losing them after theme update.

    Regards,
    Rose Tyler.

    Avatar: xoxfxjx
    forbesindustries
    Participant
    January 12, 2017 at 18:35

    Is it possible to add that bit of text using an action hook?

    Avatar: Eva
    Eva Kemp
    Support staff
    January 13, 2017 at 12:39

    Hello,

    Sorry, but you have to edit the file as my colleague said.

    Regards,
    Eva Kemp.

    Avatar: xoxfxjx
    forbesindustries
    Participant
    January 13, 2017 at 16:52

    I used an action hook in my child theme’s functions.php file and it worked just fine. Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 16, 2017 at 08:11

    Hello,

    You’re welcome!
    Glad to hear you resolved the issue.
    Have a nice day!

    Regards,
    Rose Tyler.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.