I just want to insert a wrapper to the woocommerce_get_product_thumbnail I can see that my wrapper appeared but It doesn’t have a fall back image if there’s no image. How do I output the default …
Tag: product
Adding a “return to shop” button on single product pages that leads back to product parent category
My client wants to place a “return to shop” button on single product pages in WooCommerce that leads back to the previous page and not the main shop page. I have explained that all browsers have back buttons but they are dead set on having this button. I’ve even mentioned activating breadcrumbs but they don’t like those either. How can
How to display custom sidebar in specific WooCommerce category?
I have specific question about WooCommerce plugin. I am using WooCommerce Product Categories widget to show category menu on the left sidebar. On my website I have a category for special offers (which contains some subcategories and products) and I want other categories to be hidden from Woocommerce Product Categories widget when user opens this “Special Offers” category. I already
WooCommerce hide order item meta from front end (not admin)
I have a couple of order item meta details that I would not like the customer to see (on the view orders page under account info). I have found a filter that will remove this data from the ADMIN (…
Get custom product attributes in Woocommerce
In Woocommerce, I am trying to get product custom attribute values but I fail miserably and I don’t get anything. So I tried: And I’m getting this raw data: I know that there is a value because it is shown in the attribute section, but I just can’t find a way to get it displayed with my custom code. Answer