Site logo

[Support request] Subtitle under producttitle on productpage

Home Forums Support [Support request] Subtitle under producttitle on productpage

Home Forums Support Subtitle under producttitle on productpage

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #2180973
    hans_grif

    Hi There,

    I found some information about creating subtitles with Elements on your support page, but I don’t understand how to manage the following.

    On my product page I would like to have a subtitle under the product title. How do I get this done?

    Thank you.

    #2181000
    David
    Staff
    Customer Support

    Hi there,

    you need somewhere in the editor to store your ‘subtitle’ – are you using the ACF ( Advanced Custom Fields ) plugin ? As that would allow you to add a field for your subtitle.

    #2181008
    hans_grif

    Hi David,

    I just did insall the free version of it. Is that sufficient?

    #2181203
    David
    Staff
    Customer Support

    The Free version is fine i believe it works with Woo.
    Try it – add a new field for your subtitle and assign it to the Woocommerce products – if you can see the filed there then let us know 🙂

    #2181237
    hans_grif

    Hi David,

    I see the field on the product page but can’t enter anything.

    #2181265
    David
    Staff
    Customer Support

    Weird, i just tested. I did:

    1. ACF – created a New Field Group and titled it: Woocommerce
    2. Set the Location Rules: Show this field group if > Post equal to Product.
    3. Added a New Field.
    Field Label: Subtitle
    Field Name: subtitle
    Field Type: Text
    4. Published that.

    #2181344
    hans_grif

    Hi david,

    Yes i can fill in the subtitle now, but after hit publish, it does nit show on the front-end.

    #2181367
    Ying
    Staff
    Customer Support

    Hi there,

    Setting the custom field is the first step. Then you need to do this:
    Follow the screenshot: https://www.screencast.com/t/Etc5ZWXy

    1. Go to appearance > elements, create a new block element.

    2. Add a headlineblock from GenerateBlocks, click the dynamic option button, set post meta as the dynamic text type, enter ‘subtitle’ as the Meta field name.

    3. Select hook as element type, enter ‘woocommerce_single_product_summary’ as hook name.

    4. Set the priority to 8, so that the subtitle appear between the title and price.

    5. Select products > all products as location.

    Let me know 🙂

    #2181837
    hans_grif

    Hi David and/or Ling,

    I did as you told me, but still no subtitle showing on my shop page.

    #2181846
    David
    Staff
    Customer Support

    In ACF what is the Field Name you set ?

    #2181853
    hans_grif

    Hi David,

    The field name is: subtitle

    To be clear. I want only a subtitle on my shop page: https://shop.grifontwerp.nl/ Not on the single product page.

    Thanks so far.

    #2181860
    David
    Staff
    Customer Support

    Ok, so set the Hook to: woocommerce_after_shop_loop_item_title
    And set the Display Rules Location to: Entire Site

    #2181872
    hans_grif

    I did. No result yet. See private information

    #2181877
    David
    Staff
    Customer Support

    Can you share a screenshot of the Dynamic Data you have selected on the post meta headline block ?

    #2181881
    hans_grif

    Hi David,

    Thanks sofar for your help. Screenshot in private.

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