Site logo

[Support request] How to Insert Custom Text on Woocommerce Single Product Page

Home Forums Support [Support request] How to Insert Custom Text on Woocommerce Single Product Page

Home Forums Support How to Insert Custom Text on Woocommerce Single Product Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2546952
    bluebit

    I would like to add a line of text on the Woocommerce Single Product page right above the page title or below the header.

    AND I need to customize this text for every single product page individually.

    Is there a way to add a content area that can be edited independently for each Woocommerce Single Product Page?

    #2547034
    Leo
    Staff
    Customer Support

    Hi there,

    I would like to add a line of text on the Woocommerce Single Product page right above the page title or below the header.

    You can create a block element hook with WooCommerce core hooks:
    https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/
    https://docs.generatepress.com/article/block-element-hook/

    AND I need to customize this text for every single product page individually.

    I’m not sure if WooCommerce allows custom fields in single product pages but that would be an option:
    https://youtu.be/Ff7ikQ7Yw0w

    If not then you might need to look into Advanced Custom Fields (ACF).

    You can also check with WooCommerce support team to see if they have any advice as this isn’t a theme-specific question.

    Hope this helps 🙂

    #2549294
    bluebit

    Is there a way to add php code snippets to specific individual woocommerce single product pages? I’ve searched for a plugin with no luck.

    #2549333
    Ying
    Staff
    Customer Support

    As Woo pages are using Woocommerce own template, the theme has no control over it.

    I would recommend reaching out the Woocommerce’s support.

    However, if you can provide the PHP code, I can take a look and give you some insights.

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