• Resolved ginacc

    (@ginacc)


    Hi,

    I would like to know if it’s possible to add an extra “meta data” in the woocommerce gutenberg blocks (for example the best selling products and the newest products blocks) to show the category of the products. So far they offer the possibility of showing image, title, price, rating and add to cart button.

    I’m quite new at the front-end developing stuff so I’m still learning. Thank you in advance for the possible help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @ginacc!

    Thanks for reaching out!

    I would like to know if it’s possible to add an extra “meta data” in the woocommerce gutenberg blocks (for example the best selling products and the newest products blocks) to show the category of the products.

    The WooCommerce Blocks for Best Selling and Newest Products don’t have a native way to display product categories on the products.

    What you can do as a workaround is to insert multiple Best Selling/Newest Products blocks and filter each one by their category from your Block settings under the Filter by Product Category section.

    Let us know if this helps!

    Thread Starter ginacc

    (@ginacc)

    Hi @tamirat22 thank you for your reply!
    I wanted to ask one last thing and sorry in advance if it seems ignorant xD I’m quite new with this. Sometimes I have seen that with some plugins you can “enable” or “disable” some features by writing a function on the “functions.php” file of a child theme. I have tried that before by copying and pasting the function I would need (that I would find online). So my question is: is there any function like that with Woocommerce where I could “enable” the characteristic of category that I want?

    Again sorry if it’s not possible. And if not I will try your suggestion.
    Thanks again.

    • This reply was modified 2 years, 7 months ago by ginacc.
    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @ginacc!

    Thanks for the reply!

    is there any function like that with Woocommerce where I could “enable” the characteristic of category that I want?

    This is a customization/development topic, which is not covered under our support policy here.

    For any customization tasks related to the WooCommerce platform, you can consult our Woo-vetted experts here: WooCommerce Customizations Page.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    Hope this was helpful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to show the category of product in the woocommerce gutenberg blocks’ is closed to new replies.