Display set text in woocommerce cart description, woocommerce completed order and woocommerce order receipt for certain product categories - woocommerce

I found this [this code]provides a short description in woocommerce cart for specified products. How can I alter it to show set text in the same place for certain product categories? I also need it to show in the woocommerce order receipt and completed order emails.
For example all products with the Category - Digital License need to have the set text Annual Digital License next to the product title in the cart and order emails.
I tried to alter the linked code but don't know how to add the set text to display for these categories

Related

Display product category image in Woocommerce email order details

How can I add the product category image to the order email with woocommerce? Managed to get the category name in there but need image as well if possible.

woocommerce change order of meta boxes on Edit Product page

The content for my Products is quite lengthy so it would be great to display the Product data (and Product short description) meta boxes above the Content Editor in the Edit Product page.
Seems simple and if ACF can do it ('High, below Title') I am sure that Woocommerce must be able to.
How do I reorder the admin metaboxes?

How can I show a custom ACF product tag in the product archive page with wordpress and elementor?

I've setup a shop with wordpress and elementor page builder, the idea is that people can see handmade products and book a reservation to come see the product in person. I have created a custom product status with ACF to show if a product is available, reserved or sold. This status is properly shown at the product detail page, as can be shown here: https://houtprofessor.with-itwebdesign.nl/product/tafel-op-wielen/. Now the client has asked if this status can also be shown in the product archive page, and I can't find the place where to add this custom field to the products element in elementor. Is there any way to show this product status here under the product title as well?
So here the status is shown under the price of the product properly: https://houtprofessor.with-itwebdesign.nl/product/tafel-op-wielen/
And here I need to show the same status but I can't find how: https://houtprofessor.with-itwebdesign.nl/producten/tafels/
How am i able to add this custom field to the product archive?

How to get Customer mobile number when click add cart button when order in Woocommerce?

Woocommerce Wordpress :
Is there any way to ask customer to provide his phone number before placing an order?
what I need to do is that once a customer adds a product to cart (Before placing the order), customer should be asked to provide his details, plus that I need to notify the admin about the customer and products details

product title is different in the cart

I finished adding a product to my woo commerce and the titles show the name of each product correctly, however, when I add the products to the cart, in the cart the title shows a different name of the product. it seems like, when I duplicated products, the title of the first item is still there. but it is only incorrect in "View cart".

Resources