Home Forums WoodMart support forum YITH Compare, hangs when removing

YITH Compare, hangs when removing

Viewing 30 posts - 1 through 30 (of 39 total)
  • Author
    Posts
  • #81128

    Jakob40004000
    Participant

    Hi, 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?)

    https://youtu.be/KRj1LWho_G8

    See site here: https://www.repower.dk/vare-kategori/brugt-baerbar/

    #81136

    Artem Temos
    Keymaster

    Hello,

    Are you able to disable all external plugins and send us your admin and FTP access so we can check it?

    Thank you

    #81141

    Jakob40004000
    Participant

    Hi, it´s a live shop, so I cant do that. Any change you can check without if you get ftp? Please see private.

    #81147

    Artem Temos
    Keymaster

    We 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.

    #81165

    Jakob40004000
    Participant

    Okay, so I have created a staging copy and deactivated all that are not from Woodmart. Please have a look. Info updated.

    #81166

    Artem Temos
    Keymaster

    We need your staging website URL and admin access.

    #81171

    Jakob40004000
    Participant

    Ohh sorry, updated

    #81225

    Artem Temos
    Keymaster

    Yes, 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.

    #81300

    Jakob40004000
    Participant

    Perfekt, Thanks.

    #81315

    Artem Temos
    Keymaster

    You are welcome.

    #82142

    Jakob40004000
    Participant

    Hi, 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?

    #82149

    Artem Temos
    Keymaster

    Yes, we will fix this in our next theme update that will be released in a few weeks.

    #83594

    Jakob40004000
    Participant

    Hi 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?

    #83595

    Artem Temos
    Keymaster

    Try to install and check how it works in the latest 3.1 version.

    #83675

    Jakob40004000
    Participant

    I will try, but the backend does not say there an update available yet? Can I force this, or should jeg I just wait?

    #83689

    Artem Temos
    Keymaster

    Try to click on check again button in Dashboard -> Updates.

    #83995

    Jakob40004000
    Participant

    Hi, 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?

    #84046

    Artem Temos
    Keymaster

    Could 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?

    #84109

    Jakob40004000
    Participant

    Hi, 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

    #84112

    Jakob40004000
    Participant

    Update: 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 – gsmtp

    I have instead sent you a dropbox share link.

    #84242

    Artem Temos
    Keymaster

    We 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.

    #84255

    Jakob40004000
    Participant

    Hi, 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.

    #84280

    Artem Temos
    Keymaster

    Try 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>';
    	}
    #84286

    Jakob40004000
    Participant

    Hi, I have just done that. Didnt solve the problem :/ Can you check?

    #84318

    Artem Temos
    Keymaster

    Could you please send us a screenshot where did you put that code?

    #84431

    Jakob40004000
    Participant

    Hi, I have added pic.

    Attachments:
    You must be logged in to view attached files.
    #84437

    Artem Temos
    Keymaster

    You need to activate the child theme in Appearance -> Themes.

    #84518

    Jakob40004000
    Participant

    Ahh 🙂 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.

    #84520

    Jakob40004000
    Participant

    Also, it would be great to have a icon on the top (mobile view) to access the “Compare” page (just like the Wishlist function)

    #84528

    Artem Temos
    Keymaster

    We just tested this button and it works correctly for us.
    Unfortunately, there is no compare button in the header for our theme.

Viewing 30 posts - 1 through 30 (of 39 total)

The topic ‘YITH Compare, hangs when removing’ is closed to new replies.