Products description

#130478
  • Resolved Duvarikon
    free

    Hi,

    My products, short descriptions is standard.
    I want to descriptions use.
    is it possible

    I tried the previous ticket support reply codes. It didn’t work in preview.

    %wc_shortdesc% —> %wc_desc% ?

    thank u

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

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

    If you have made customizations on your description shortcodes, this will likely return the value in the front end. You can also use this tool to check your URLs: https://www.heymeta.com/

    If it shows the wrong meta, please share some screenshots of your settings using a tool like https://imgbb.com so we can check from our end.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks for your answer.

    I want to use “short description” instead of “description”

    for meta description

    Thank you Michael

    Hello,

    Thank you for that information.

    I’ve checked the product you are referring to and getting a different description. Have you made any changes to the description?

    https://i.rankmath.com/vtJ5p0

    Thank you, and looking forward to your update.

    yes i was just experimenting,

    I want to use “short description” instead of “description”

    for meta descriptionion

    Hello,

    This is the order we follow to generate meta descriptions for WooCommerce products:
    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 you want to use other description meta, you can customize this using this filter: https://rankmath.com/kb/filters-hooks-api-developer/#change-meta-description

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Thanks for your help.

    for this product
    https://duvarikon.com/deneme/

    I can see Meta Description
    “Short Description” (> Sizin duvar ölçünüze….)

    i want to change
    “Description” (Lorem ipsum dolor sit amet…….)

    _________________________________________________________________________________

    i added to (childtheme>funcions.php)

    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
    	return $description;
    });

    but there was no change. Do I have to do anything else?

    you are an experienced team.

    I can not explain well

    please help me.

    There will be a lot of product. Bulk edit will add 3k-4k products. I need to resolve this.

    Hello,

    You can use the WP All Import plugin to bulk import data:
    https://wordpress.org/plugins/import-xml-csv-settings-to-rank-math-seo/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    thank you

    can you look at this

    for this product
    https://duvarikon.com/deneme/

    I can see Meta Description
    “Short Description” (> Sizin duvar ölçünüze….)

    i want to change
    “Description” (Lorem ipsum dolor sit amet…….)

    _________________________________________________________________________________

    i added to (childtheme>funcions.php)

    /**
    * Allow changing the meta description sentence from within the theme.
    *
    * @param string $description The description sentence.
    */
    add_filter( ‘rank_math/frontend/description’, function( $description ) {
    return $description;
    });
    but there was no change. Do I have to do anything else?

    you are an experienced team.

    I can not explain well

    please help me.

    Hello,

    I added the following code to your theme functions.php to return the long product description for all your products:

    
    add_action( 'rank_math/frontend/description', function( $description ) {
     global $post;
     $desc = RankMath\Post::get_meta( 'description', $post->ID );
    
     if ( is_product() ) {
     $desc = apply_filters( 'the_content', $post->post_content );
    	 
     return RankMath\Helper::replace_vars( $desc, $post );
     }
     return $description;
    });
    

    Please let us know if this helps.

    Thank you

    THIS IS REALLY GREAT NEWS

    Thank you so much.

    Danial
    business

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    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 14 replies - 1 through 14 (of 14 total)

The ticket ‘Products description’ is closed to new replies.