woocommerce – %wc_shortdesc%

#380248
  • Resolved Jayden elmion
    Rank Math free

    Hi
    i have a question
    I have a woocommerce website with more than 16000 products
    all my products have a product description
    but all description is in full description and i have no text in short description
    now i see you have a shortcode (%wc_shortdesc%)
    but with the shortcode (%wc_shortdesc%) the text of the short description is shown in the seo

    but now that I have no text in the short description do you also have a code that can read the full description and display it in the seo
    I tried (%description%) and (%wc_fulldesc%) but it doesn’t work

    would you have a solution for this
    or can you tell me how I can make this possible

    thanks in advance

Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    You can use the default %excerpt% variable. This is the order we follow to generate meta descriptions for WooCommerce products:
    1. Content from the SEO Description field
    If that is missing, then:
    2. WooCommerce Excerpt or Product Short Description
    If that is missing, then:
    3. Template From General Settings in WordPress Dashboard > Rank Math > Titles & Meta > Products
    If that is missing, then:
    4. Auto generated Content from the product page

    If you do not have any data in the short description field, the %excerpt% variable would fetch the description from the long description field.

    Hope this helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘woocommerce – %wc_shortdesc%’ is closed to new replies.