Hi there,
I am looking to add a new label to my product. At the moment I can use the tag 'new' on the product tags, and it will add a NEW label to the product image in the shop (see attached image - upper left hand corner). I'd like to do the same but have it say Coming Soon. Can you please tell me where I am looking to find the code for this?
My site is at
https://grimride.comI am running Fatmoon theme on Wordpress 4.9.6
jason.
Comments
Code for our "new" tag is in fatmoon\advance\utilities\woocommerce.php line ~351: You can add your own tag by copying this code below existing one. You could change it like this: And now you can add
coming-soon
tag to your product.After you make it work, best would be to make overwrite of this function
apollo13framework_wc_single_product_labels()
in child theme https://rifetheme.com/apollo13-framework/docs/modifications-of-theme/changing-theme-functions/With kind regards.
With kind regards.
I got it working, by adding the following code at line 274: Then adding the following code at 366: This was how I had placed the code you gave me - which wasn't working: Thanks for your help.
WIth kind regards.