• Resolved roeller

    (@roeller)


    Hello,

    Our website HIGHLY relies on WooCommerce and WooCommer Product Vendors.
    Would it be possible to set a tag in the Meta Description, so that it displays the ‘WooCommerce Product Vendors Profile Description’ by default?

    Product used: WooCommerce Product Vendors (official WooCommerce plugin).
    Custom Taxonomy name: wcpv_product_vendors (?)

    Normally the URL for product vendors is like: https://sitename.com/vendors/<VendorName&gt;

    I saw that it is possible to use:
    %%ct_desc_<custom-tax-name>%% (that would make it: %%ct_desc_wcpv_product_vendors%% but will I don’t think that will work)

    and also:
    %%cf_<custom-field-name>%% (however, the field name is: vendor_data[profile] )

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support devnihil

    (@devnihil)

    @roeller If the custom variables for WooCommerce elements as described here aren’t working for you, there is also an option to add your own template variables using the wpseo_register_extra_replacements filter. You can find some examples of it’s usage here.

    Unfortunately we can’t offer support on custom code. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Thread Starter roeller

    (@roeller)

    @devnihil
    I understand I can manually do something with
    add_filter( 'wpseo_replacements', 'filter_wpseo_replacements', 10, 1 );

    and then in ‘filter_wpseo_replacements’ : Check if on the vendor page and then replace some variable with the Vendor description.

    But the thing is: Shouldn’t Yoast SEO just have this built in? And the %%term_description%% or %%category_description%% or %%excerpt%% should have the Vendor’s profile description? There are millions of sites that are using Woocommerce Product Vendors (official Woocommerce plugin).

    It’s not that hard for me to write the code but this is sooo basic functionality, I would have expected it in the native plugin.

    Plugin Support Suwash

    (@suascat_wp)

    @roeller We thank for you for suggesting a new feature for our plugin. We’re actively using the bug tracking on our GitHub repository so your best next step would be to create a new feature request for our developers at https://github.com/Yoast/wordpress-seo/issues/new. You can create a new issue to submit your feature request. You will need an account to create one.

    Don’t forget to include the URL to this conversation in your feature request!

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product Vendors (wcpv) Profile description as META Description?’ is closed to new replies.