Описание товара в снипете

#530637
  • Здраствуйте. Подскажите какую переменную надо использовать, что бы описание товара подгружалось в снипет seo – описание. Раньше использовал %excerpt%, но теперь он не работает. жду помощи.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    The %excerpt% variable is used on the posts/pages that automatically pick up the first 160 characters on your content. For the products, you can use the %wc_shortdesc% variable and this will automatically pick a description from your Product short description field.
    https://rankmath.com/kb/variables-in-seo-title-description/#num-50-products-short-description

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

    Thank you.

    ​​​​​​​

    Спасибо за совет, но я не использую короткое описание на странице товара. Может эта информация поможет, эти проблемы начались после обновления woocommerce на версию 7.4.0. Когда я открываю консоль разработчика я вижу что есть метки title и description и они заполнены, а когда нахожусь в редакторе страницы товара, в поле как будет отображаться в поиске, виден только заголовок, описание не отображается.

    Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    This is the order we follow to generate meta descriptions for WooCommerce products or product categories for that matter:

    1. Content from 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 this order wasn’t applied to your product pages, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Попробую сменить тему, спасибо.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Описание товара в снипете’ is closed to new replies.