Home › Forums › WoodMart support forum › YITH Compare, hangs when removing
YITH Compare, hangs when removing
- This topic has 38 replies, 2 voices, and was last updated 6 years, 4 months ago by
Artem Temos.
-
AuthorPosts
-
October 5, 2018 at 11:01 am #81128
Jakob40004000ParticipantHi, I have a problem with this function. It does not used to be a problem.. I have tryed several things, including reinstalling.
When I press “Remove/fjern” it will just hang. Please see video.
Also, I have tryed the Premium version of this plugin. With Premium the problem is gone, but Woodmart still does not support the Premium version? My site will break if using the Premium, so not a solution (I have asked about the premium some months ago, but theres still not a solution?)
See site here: https://www.repower.dk/vare-kategori/brugt-baerbar/
October 5, 2018 at 11:32 am #81136
Artem TemosKeymasterHello,
Are you able to disable all external plugins and send us your admin and FTP access so we can check it?
Thank you
October 5, 2018 at 12:12 pm #81141
Jakob40004000ParticipantHi, it´s a live shop, so I cant do that. Any change you can check without if you get ftp? Please see private.
October 5, 2018 at 12:27 pm #81147
Artem TemosKeymasterWe will need to perform some debugging so it is necessary to disable all external plugins. Please, create a staging copy of your website where you will be able to investigate such kind of problems.
October 5, 2018 at 2:08 pm #81165
Jakob40004000ParticipantOkay, so I have created a staging copy and deactivated all that are not from Woodmart. Please have a look. Info updated.
October 5, 2018 at 2:08 pm #81166
Artem TemosKeymasterWe need your staging website URL and admin access.
October 5, 2018 at 2:14 pm #81171
Jakob40004000ParticipantOhh sorry, updated
October 5, 2018 at 8:19 pm #81225
Artem TemosKeymasterYes, it seems to be a problem with compatibility of our theme and the latest version of the plugin. Keep the previous version of the plugin until the next theme update. We will fix this in our next update.
October 6, 2018 at 10:44 am #81300
Jakob40004000ParticipantPerfekt, Thanks.
October 6, 2018 at 11:33 am #81315
Artem TemosKeymasterYou are welcome.
October 11, 2018 at 8:27 am #82142
Jakob40004000ParticipantHi, just to let you guys know. I had Yith to look at the problem, they write:
Hi Jakob,
the issue is due to your theme.
It overwrites the template compare.php, you find it in /public/wp-content/themes/woodmart/woocommerce/compare.php
If you remove that file, the plugin loads the original template and it works correctly.
You have to contact the theme author and ask to solve the issue.
Best regards,
Alessio.Also, when can I expect the new version of Woodmart that adresses this issue?
October 11, 2018 at 8:48 am #82149
Artem TemosKeymasterYes, we will fix this in our next theme update that will be released in a few weeks.
October 18, 2018 at 12:45 pm #83594
Jakob40004000ParticipantHi are you any closer to getting this problem fixed? Its a real problem to me.
Also, will the premium version of Yith compare work on the next update of Woodmart?
October 18, 2018 at 12:45 pm #83595
Artem TemosKeymasterTry to install and check how it works in the latest 3.1 version.
October 18, 2018 at 5:29 pm #83675
Jakob40004000ParticipantI will try, but the backend does not say there an update available yet? Can I force this, or should jeg I just wait?
October 18, 2018 at 6:05 pm #83689
Artem TemosKeymasterTry to click on check again button in Dashboard -> Updates.
October 20, 2018 at 6:11 am #83995
Jakob40004000ParticipantHi, thanks it worked, and the “remove” now also works. Thanks! BUT…: The Premium version of the plugin still breaks the theme. I dont understand why you guys dont seem to priorities this? Its a huge deal on a webshop
Will you be working on it?
October 20, 2018 at 3:50 pm #84046
Artem TemosKeymasterCould you please describe what kind of problems do you have with the premium version and send us the premium version of the plugin via email?
October 21, 2018 at 7:24 am #84109
Jakob40004000ParticipantHi, yes I have just sent the plugin to your email.
I adressed this before in this thread: https://xtemos.com/forums/topic/categoriview-urgent-problem/ (Found that it was the premium version on the last two posts)
This is how it breaks when using the premium version. https://xtemos.nyc3.digitaloceanspaces.com/wp-content/uploads/2018/06/Categories-view.png
October 21, 2018 at 7:31 am #84112
Jakob40004000ParticipantUpdate: I cant send the file to your email. I get this:
mx.google.com udløste denne fejl:
This message was blocked because its content presents a potential security issue. Please visit https://support.google.com/mail/?p=BlockedMessage to review our message content and attachment content guidelines. t27-v6si7154389wmc.115 – gsmtpI have instead sent you a dropbox share link.
October 22, 2018 at 6:29 am #84242
Artem TemosKeymasterWe can’t reproduce the issue on our side. Could you please activate the premium version on your website so we can check directly? And we need your admin access as well.
October 22, 2018 at 7:30 am #84255
Jakob40004000ParticipantHi, its because its a live site – so its the free version where it works.
I have made a staging-kopi of the site and activated the premium plugin.
You can see the problem alot of places. eg the frontpage…
Logins added.
October 22, 2018 at 8:52 am #84280
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file
function woodmart_compare_btn() { if( ! class_exists( 'YITH_Woocompare' ) ) return; if( get_option('yith_woocompare_compare_button_in_products_list') != 'yes' ) return; echo '<div class="product-compare-button">'; global $product; $product_id = $product->get_id(); // return if product doesn't exist if ( empty( $product_id ) || apply_filters( 'yith_woocompare_remove_compare_link_by_cat', false, $product_id ) ) { echo '</div>'; return; } $is_button = ! isset( $button_or_link ) || ! $button_or_link ? get_option( 'yith_woocompare_is_button' ) : $button_or_link; if ( ! isset( $button_text ) || $button_text == 'default' ) { $button_text = get_option( 'yith_woocompare_button_text', esc_html__( 'Compare', 'woodmart' ) ); } printf( '<a href="%s" class="%s" data-product_id="%d" rel="nofollow">%s</a>', woodmart_compare_add_product_url( $product_id ), 'compare' . ( $is_button == 'button' ? ' button' : '' ), $product_id, $button_text ); echo '</div>'; }
October 22, 2018 at 9:10 am #84286
Jakob40004000ParticipantHi, I have just done that. Didnt solve the problem :/ Can you check?
October 22, 2018 at 11:02 am #84318
Artem TemosKeymasterCould you please send us a screenshot where did you put that code?
October 22, 2018 at 5:03 pm #84431
Jakob40004000ParticipantHi, I have added pic.
Attachments:
You must be logged in to view attached files.October 22, 2018 at 5:07 pm #84437
Artem TemosKeymasterYou need to activate the child theme in Appearance -> Themes.
October 23, 2018 at 10:54 am #84518
Jakob40004000ParticipantAhh 🙂 Thank you, now it works, but I still cannot press “Remove” / (Fjern in danish)”
I can however if I choose to open in i lightbox, but that will cause other problems…
Please have a look at my live site: http://www.repower.dk and choose two products to compare.
October 23, 2018 at 11:01 am #84520
Jakob40004000ParticipantAlso, it would be great to have a icon on the top (mobile view) to access the “Compare” page (just like the Wishlist function)
October 23, 2018 at 11:57 am #84528
Artem TemosKeymasterWe just tested this button and it works correctly for us.
Unfortunately, there is no compare button in the header for our theme. -
AuthorPosts
The topic ‘YITH Compare, hangs when removing’ is closed to new replies.
- You must be logged in to create new topics. Login / Register