Home Forums WoodMart support forum YITH Badge Management & Shortcode – NOT WORKING

YITH Badge Management & Shortcode – NOT WORKING

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #190505

    akarras
    Participant

    Hi,

    • 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.
    #190598

    Hello,

    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

    #190624

    akarras
    Participant

    Please 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

    #190700

    Hello,

    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

    #190802

    akarras
    Participant

    Hi,

    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…

    #190854

    Hello,

    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

    #190968

    akarras
    Participant

    Let me know if you need anything else from me,

    thank you

    #191261

    Hello,

    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

    #191282

    akarras
    Participant

    Hi,

    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.

    #191386

    Hello,

    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

    #191491

    akarras
    Participant

    Hi,

    it is working fine, thank you very much.

    #191518

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘YITH Badge Management & Shortcode – NOT WORKING’ is closed to new replies.