Home › Forums › WoodMart support forum › YITH Badge Management & Shortcode – NOT WORKING
YITH Badge Management & Shortcode – NOT WORKING
- This topic has 11 replies, 2 voices, and was last updated 4 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
April 28, 2020 at 9:40 am #190505
akarrasParticipantHi,
- i am using yith badge management to add a custom “featured” badge in the website.
I have tried both to assign the custom badge to a specific product and replace the default badge for New products with mine from the Yith badge settings. - I have added to the functions.php a function in order to echo a message in the basket widget saying that “you need to buy a minimum of 20 euros worth of products. I want to use the echo do_shortcode function in order to display a shortcode there but whenever i do echo a shortcode there it breaks the website.
April 28, 2020 at 12:58 pm #190598
Elise NoromitMemberHello,
Please contact the plugin support on this issue. You can check the functionality on the Storefront theme, first of all, to see if the problem is caused by configuration or something else.
Best Regards
April 28, 2020 at 1:48 pm #190624
akarrasParticipantPlease take some time to check my query..first of all it was a two question ticket and you answered just the first question without even taking the time to do so…
1. there is an answer to that but it is from 3 years ago…can you point me to the right direction please? https://xtemos.com/forums/topic/problem-with-the-yith-woocommerce-badge-management-plugin/
2. you haven’t answered me why the site breaks down when i add the echo do_shortcode in the functions.php
thank you in advance
April 28, 2020 at 9:30 pm #190700
Elise NoromitMemberHello,
You can create an attribute with the item “Featured” and add to the product, then enable showing labels on the product. We shall provide the CSS to customize.
As for the code, our support does not cover checking and fixing third side code.
Best Regards
April 29, 2020 at 9:15 am #190802
akarrasParticipantHi,
can you please give me the css in order to have this badge for featured products?
Also, it’s just an echo shortcode, and that is not even working with the shortcodes generated from the html blocks. It’s not like i am writing a custom function and it breaks the website…
April 29, 2020 at 11:37 am #190854
Elise NoromitMemberHello,
As for the code, when you insert the valid code it works. It means you are trying to insert not valid code.
Please provide the page URL with the bade.
Best Regards
April 29, 2020 at 3:55 pm #190968
akarrasParticipantLet me know if you need anything else from me,
thank you
April 30, 2020 at 12:57 pm #191261
Elise NoromitMemberHello,
I have checked your attributes and I do not see which one to customize. I mean I will provide custom on changing bage of the Woocommerce attribute. I do not see which one to customize.
As for the plugin badge, please contact the plugin support as we do not have any instructions on how to configure for the feature products.
Best Regards
April 30, 2020 at 2:20 pm #191282
akarrasParticipantHi,
i want to customize the Featured product attribute. Now the badge that appears for the featured products from your theme is the “Hot” badge in the red circle. I just need to use the image that i sent you in the url.
April 30, 2020 at 10:39 pm #191386
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .product-label.featured { background-image: url(http://www.3dc.tzambaspiti.gr/wp-content/uploads/2020/04/zero_small.png); background-repeat: no-repeat; background-position:top center; background-size:contain; background-color:transparent; width:100px; height:100px; }
Best Regards
May 1, 2020 at 10:28 am #191491
akarrasParticipantHi,
it is working fine, thank you very much.
May 1, 2020 at 12:32 pm #191518
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
- i am using yith badge management to add a custom “featured” badge in the website.
-
AuthorPosts
Tagged: echo shortcode, Yith Badge Management
The topic ‘YITH Badge Management & Shortcode – NOT WORKING’ is closed to new replies.
- You must be logged in to create new topics. Login / Register