Home › Forums › WoodMart support forum › Problem with the YITH WOOCOMMERCE BADGE MANAGEMENT plugin
Problem with the YITH WOOCOMMERCE BADGE MANAGEMENT plugin
- This topic has 29 replies, 3 voices, and was last updated 7 years ago by Artem Temos.
-
AuthorPosts
-
December 3, 2017 at 12:21 pm #26861
PavelParticipantI put the YITH WOOCOMMERCE BADGE MANAGEMENT plugin, but the badges in the product list are not displayed, only those that come with the woodmart theme are displayed
Attachments:
You must be logged in to view attached files.December 3, 2017 at 5:12 pm #26884
Artem TemosKeymasterHi,
Could you please provide us your admin and FTP access so we can check it? Also, give us a link to the product with some badges added so we can see how they should work with default WordPress theme.
Thank you
December 3, 2017 at 5:54 pm #26908
PavelParticipantIn the attachment
December 3, 2017 at 5:59 pm #26912
Artem TemosKeymasterBut what badge should be on this product? Could you please send a screenshot how it looks with default WordPress theme?
December 3, 2017 at 6:04 pm #26915December 3, 2017 at 6:07 pm #26918
Artem TemosKeymasterTry to add the following code snippet to the functions.php file in the child theme to fix it
add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 ); remove_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );
Regards
December 3, 2017 at 7:10 pm #26941December 3, 2017 at 8:22 pm #26947
newsprinceParticipantCan confirm. There is some problem with yith badge managment plugin. Doesn’t display the badges correctly
December 3, 2017 at 8:29 pm #26952
Artem TemosKeymasterTry to comment or remove the code from the file
inc/woocommerce.php
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 ); add_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );
Regards
December 3, 2017 at 8:43 pm #26957
PavelParticipantinc/woocommerce.php
where can I find this folder and file?
In the directory I did not see itDecember 4, 2017 at 7:06 am #26969
Artem TemosKeymasterHi,
This folder
inc/
is located in our theme folder. Find it inwp-content/themes/woodmart/inc/
Regards
December 4, 2017 at 8:42 am #26992
newsprinceParticipantNop it half works. When you assign a badge for a category it doesn’t show the badge. Only when you assign badge for recent products or on sale it overlaps your theme badge.
Do you want to send you the plugin to test it?
Thanks.
December 4, 2017 at 10:08 am #27001
Artem TemosKeymasterYes, it may be possible that this plugin’s badges overlap our theme badges. You need to choose which one to use.
December 4, 2017 at 10:29 am #27009
newsprinceParticipantThe plug in has the option to disable default badge and use its own. The thing is that it halfs work. When you assign a badge for a specific category and go to that category the badge doesn’t even show.
December 4, 2017 at 10:35 am #27011
Artem TemosKeymasterCould you please provide us some examples so we can check on your side?
December 4, 2017 at 11:17 am #27021
newsprinceParticipantI can’t provide because it doesn’t work to show you something.
Do you want to send the plug in so you can test it?
December 4, 2017 at 12:35 pm #27042
Artem TemosKeymasterIn this case, just provide us a link to the page with badges and give us your admin access so we can test it with default WordPress theme.
December 4, 2017 at 1:46 pm #27075
newsprinceParticipantI’ll setup a test environment and send you the details.
Thank you.
December 4, 2017 at 2:11 pm #27076
PavelParticipantThank you
December 4, 2017 at 2:17 pm #27079
PavelParticipantlast advice helped
It is necessary to add a setting for disabling theme badgesDecember 4, 2017 at 2:26 pm #27082
newsprinceParticipantCredentials Sent
December 4, 2017 at 2:40 pm #27088
Artem TemosKeymasterHi,
@newprince, so where we should look at the problem, on the home page or on some particular category page?
@Pavel, do you want us to provide you with a custom CSS code to disable our theme labels for now?Regards
December 4, 2017 at 2:48 pm #27089
newsprinceParticipantThe problem is with your theme. When you assign a badge for some particular category etc. As you can see now i enable the badge for 2 of 3 default categories and is working with storefront theme.
Shall i upload your theme in this development installation to test it?
Thank you.
December 4, 2017 at 2:49 pm #27090
Artem TemosKeymasterYes, please. Also, be sure that you have applied the changes in the code we described earlier.
December 4, 2017 at 2:58 pm #27092
newsprinceParticipantCan you check it now.
Thanks.
December 4, 2017 at 3:24 pm #27100
Artem TemosKeymasterBut now labels seems to be visible on your categories pages.
December 4, 2017 at 3:30 pm #27102
newsprinceParticipantYeah you are right. I removed the two lines of code that you mentioned above and works. I guess something else is wrong in my main development environment.
Only your sale badge doesn’t hide but i can remove it with some CSS.
Thank you.
December 4, 2017 at 3:31 pm #27103
Artem TemosKeymasterYes, use this CSS snippet to hide our labels completely
.product-labels { display: none!important; }
Regards
December 5, 2017 at 3:19 am #27158
PavelParticipantThanks, it works
December 5, 2017 at 7:36 am #27169
Artem TemosKeymasterYou are welcome!
-
AuthorPosts
- You must be logged in to create new topics. Login / Register