-
AuthorPosts
-
July 24, 2017 at 12:10 am #828802
Hello ,
I have problem with badge plugin. I am using https://yithemes.com/themes/plugins/yith-woocommerce-badge-management/ plugin.
Problem is that I see badge on shop but when I try to open item I dont see that badge on single item. I have open ticket on YITH but they are sy that is template over ride that woocommerce function.
I have try to change from enfold to Woocommerce gallery but after that is all messed up.Can you help me ?
Regards
July 24, 2017 at 4:05 am #828860Hey Zaccc,
Sure, Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to switch to default wordpress theme (just for checking how it works on the default theme)
Best regards,
NikkoJuly 24, 2017 at 9:57 am #828930This reply has been marked as private.July 25, 2017 at 5:46 am #829366Hi,
Thanks, can you ask the hook/action they use on the single product page? there are lots listed in config.php of config-woocommerce folder of the enfold theme, I’m not sure which woocommerce hook/action they are using.
Best regards,
NikkoJuly 25, 2017 at 7:39 am #829395Hello,
They have send me this CSS but it is not working. I can ask him for a hook.
add_action( ‘after_setup_theme’, ‘show_badges_on_single_products’ );
function show_badges_on_single_products() {remove_filter( ‘woocommerce_single_product_image_thumbnail_html’, ‘avia_woocommerce_gallery_thumbnail_description’, 10 );
add_filter( ‘woocommerce_single_product_image_thumbnail_html’, ‘avia_woocommerce_gallery_thumbnail_description’, 9, 4 );}
Regards
July 29, 2017 at 9:49 am #831418Hi Zaccc,
I am seeing the badge on your single product page. Did you manage to get it working? It could have been just a cache issue. Could you please clear the cache, check again and get back to us.
Best regards,
VictoriaJuly 30, 2017 at 12:49 pm #831803Hello,
I have get support from Yith support. I have ad in child theme in php functions this code and it is working.
add_action( ‘after_setup_theme’, ‘show_badges_on_single_products’ );
function show_badges_on_single_products() {remove_filter( ‘woocommerce_single_product_image_thumbnail_html’, ‘avia_woocommerce_gallery_thumbnail_description’, 10 );
add_filter( ‘woocommerce_single_product_image_thumbnail_html’, ‘avia_woocommerce_gallery_thumbnail_description’, 9, 4 );}
if (defined( ‘YITH_WCBM_PREMIUM’ ) && YITH_WCBM_PREMIUM && function_exists(‘YITH_WCBM_Frontend’)){
add_filter( ‘woocommerce_single_product_image_thumbnail_html’, array( YITH_WCBM_Frontend(), ‘show_badge_on_product_thumbnail’ ), 99, 2 );
}Regards
July 31, 2017 at 10:05 pm #832459Hi Zaccc,
Great! Glad you got it working for you and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.