Okay
  Public Ticket #3735926
Update errors
Closed

Comments

  •  14
    bluegraphics started the conversation

    Hello kind people at Laborator,

    I am sure you guys are doing your best to keep up with the update craziness.. hopefully we will all soon come into terms with this major update, but it doesn't look like it is going to be easy... the bar with Kalium 3 was very high,.... 

    Anyway.

    I am experiencing an issue with the backend layout on most of the sites I have updated, you might be aware already but when trying to edit on WPBackery on backend the layout moves to the site, and it gets really difficult to work. Resizing the window might help but it is not ideal... any suggestions?

    on this particular site, after the update to 4, the products dont seem to want to go to the cart. Let me explain, go to any product, click add to cart and nothing happens... I've looked at the issue but havent found a solution yet. Ideas?

    thank you

  •  14
    bluegraphics replied

    On regards to the products. it seems like the add to cart button adds the product to the cart, but there is no sign of action, or no transition to the cart. Neither the cart on the top bar adds the count, and when clicking on it, it does not respond to go to cart action


  •  1,559
    Laborator replied

    Hi there,

    Thank you for your kind words!

    Regarding WPBakery, we aren’t aware of any backend layout issues like the one you’re describing. As for the cart issue, the notifications were removed in Kalium 3 because they interfered with the layout, in the meantime we're working on a more user friendly notification form (toast notifications). However, in Kalium 4, there’s an option to open the cart directly after adding a product. This could be the issue you’re facing.

    Please share your website login credentials so I can test this. To safely include your credentials click the Insert Credentials button in the editor toolbar (see how), or you can create a temporary login without a password (see how).

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   bluegraphics replied privately
  •  1,559
    Laborator replied

    I just tested it, and for me it seems to be working just fine, just to make clear we're on the same page -  I am editing using the Back-end editor, are you using the Front-end editor when editing the site? Could you please share a video of what you're experiencing when trying to edit the page.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   bluegraphics replied privately
  •  1,559
    Laborator replied

    Hi again,

    Please take a look at my screenshot:

    medium
    (view large version)

    Have you tried it in Private browsing mode, where the browser plugins are not enabled.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  14
    bluegraphics replied

    thank you Art for your answer.

    I have tried on private, no change, but you made me try on Chrome and the problem is not there anymore.

    Seems like it's Safari that is giving me trouble.... 

  •  1,559
    Laborator replied

    I actually tested on both, Chrome and Safari and I did not have any issue. But Safar is known for keepin the cache for a very long time, so I would advise you do some hard refreshes (CMD + R) to see if that fixes the problem.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  14
    bluegraphics replied

    did try that with no luck.

    now I know it is Safari, I will figure it out within. 

    thanks for your help


  •  1,559
    Laborator replied

    No worries, I see you also have caching plugins so I would recommend clearing the cache or disabling them temprarily so you can see the changes live.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  14
    bluegraphics replied

    Art,

    On regards to> As for the cart issue, the notifications were removed in Kalium 3 because they interfered with the layout, in the meantime we're working on a more user friendly notification form (toast notifications). However, in Kalium 4, there’s an option to open the cart directly after adding a product. This could be the issue you’re facing.

    can you point me into the solution, please?

  • [deleted] replied

    Hi,

    I've managed to fix the issue with add to cart redirect, however I am not able to fix this issue:

    medium
    (view large image)

    Can you please send your FTP credentials (privately) so I can change php files and try to figure out why this is not working.

    I've found the issue but cannot make changes on your site because it is not allowed through admin to modify theme files.

     

  •   bluegraphics replied privately
  • [deleted] replied

    Hi,

    I am trying to login to your FTP but the provided credentials seems not to work. Can you please resend working ones or tell me if I am doing something wrong?

    I am trying to login with SFTP (port 22)

  •   bluegraphics replied privately
  • [deleted] replied

    Hello,

    After investigating this issue I was able to find the problem. It related to the Nexcess must-use plugin which disables the WooCommerce cart fragments, which I don't know why!

    I've added a custom code snippet to enable cart fragments and it now works well on your site, but this is approach quite "hacky":

    add_action( 'wp_enqueue_scripts', function () {
    	$script_path = 'assets/js/frontend/cart-fragments.min.js';
    	$script_path = apply_filters( 'woocommerce_get_asset_url', plugins_url( $script_path, WC_PLUGIN_FILE ), $script_path );
    
    	$handle = 'wc-cart-fragments-include';
    
    	wp_register_script( $handle, $script_path, [ 'jquery', 'js-cookie' ], kalium()->get_version(), [
    		'in_footer' => true,
    	] );
    	wp_localize_script( $handle, 'wc_cart_fragments_params', [
    		'ajax_url'        => WC()->ajax_url(),
    		'wc_ajax_url'     => WC_AJAX::get_endpoint( '%%endpoint%%' ),
    		'cart_hash_key'   => apply_filters( 'woocommerce_cart_hash_key', 'wc_cart_hash_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ),
    		'fragment_name'   => apply_filters( 'woocommerce_cart_fragment_name', 'wc_fragments_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ),
    		'request_timeout' => 5000,
    	] );
    
    	wp_enqueue_script( $handle );
    } );
    

    You may ask them how stop disabling the WooCommerce cart fragments script in the meantime.

  •  14
    bluegraphics replied

    I have followed up with Nexcess on your response. 

    Thank you so much for looking into this and finding a fix!

    Appreciated!
    Have a nice day


  •  14
    bluegraphics replied

    Hello Arlind

    I have submitted the issue to Nexcess. I hope they will help us find a stable solution.

    In the meantime I have a question. I have other sites facing the same issue. 

    Could you please point me to where to paste the code snippet you sent me on other kalium sites with the same issue, please.


    thank you

  •   [deleted] replied privately