Okay
  Public Ticket #205544
No WooCommerce Cart In Nav
Closed

Comments

  •  2
    Younes started the conversation

    Hello!
    The 'WooCommerce Cart In Nav' doesn't appear anymore since the last update of Wordpress 3.9 ... I also noticed that the ThemeNectar admin doesn't record my last modification... any idea on what's going on?!

  •  8,839
    Tahir replied

    Hey!

    I see you have updated to version 4.0.3 . Could you please confirm if updating resolved your issues ?. Also please try deactivating all third party plugins since alot of plugins are causing issue due to the TIny MCE 4.0 update in WP 3.9 .

    Thanks 


    ThemeNectar Support Team 

  •  2
    Younes replied

    Hello thank you for you answer!
    So I disabled all my plugins to find the one that caused the issue with the Nectar theme... and I found it!!!
    The troublemaker is WPML String Translation plugin... I have no idea why it's causing the WooCommerce Cart In Nav not to work...
    As your theme is normaly compatible with WPML could you please fixe this bug.
    Thank you!

  •  8,839
    Tahir replied

    Hey Again!

    Thank you for identifying the problem plugin. I have notified the author so it can be fixed in future updates. 

    Cheers


    ThemeNectar Support Team 

  •  2
    Younes replied

    Perfect! Thank you!
    Could you tell me when the next update with this bug fixed will be available? Because WPML is almost useless without the string translation plugin.
    Thank you

  •  8,839
    Tahir replied

    Hey Younes!

    It should take about 1-2 weeks. 

    Thanks


    ThemeNectar Support Team 

  •  2
    Younes replied

    Hello!
    Just to let you know that I updated wordpress for 3.9.1 but unfortunately it doesn't fixe the bug between ThemeNectar and WPML string translation plugin :/
    Thank you

  •  1,071
    ThemeNectar replied

    Hey Younes!

    I just tested with that plugin locally and couldn't replicate this behavior - I wonder if your server could simply be running out of resources between woocommerce/wpml & the page builder as there's also been no other reports of this conflict yet. If you wanna supply login credentials I'd be glad to go in and take a look around :)

  •   Younes replied privately
  •  1,071
    ThemeNectar replied

    Hey Younes, I wasn't referring to the server memory usage I meant PHP's memory:

    http://www.bubbleindia.com/check-increase-php-memory-limit-wordpress/ however if you're capped a small memory amount defining a larger amount won't do anything - you should reach out to your hosting company and ask what the current PHP memory limit is and if it's less than 64, ask to raise it :)


  •  2
    Younes replied

    Hey Nectar!
    It's one of the first thing I've looked :)
    My Php memory limit is 256. I installed the plugin memory overview and I'm using only 27%.
    There is something going wrong the WPML string translation and I really don't know what it is...

  •  1,071
    ThemeNectar replied

    Hey again!

    In that case, we need to start by eliminating the theme from causing the issue - right now your ajax add to cart button also is not working, which is the add to cart button on the main products page (see attachment). By default that should not take you away from the current page and should simply add the item into the cart while remaining where you are. Can you deactivate Salient and check to see if that button works correctly as it should:

    http://demo2.woothemes.com/hub/shop/

    or if it still leads to the single product page.

  •  2
    Younes replied

    hello! Thank you for your answer

    Ok, so here are my different tests:

    Salient ON + WPML string translation plugin ON = 'Ajax add to cart' button DOESN'T WORK
    Salient ON + WPML string translation plugin OFF = 'Ajax add to cart' button WORKS
    Salient OFF + WPML string translation plugin ON = 'Ajax add to cart' button WORKS
    Salient OFF + WPML string translation plugin OFF = 'Ajax add to cart' button WORKS

    So it actually means that there is a problem with the Salient theme and WPML string translation plugin that affect Woocommerce and ThemeNectar backend admin panel (when salient is ON)...

    EDIT: Sooo I dug a litle bit more and I realised that when I disabled 'Woocommerce Multilingual' plugin the 'cart in nav' works but not the 'Ajax add to cart' button... I think the problem comes from how Salient + Woocommerce Multilingual + WPML string translation work together...


    any idea on how to fix this?

  •  8,839
    Tahir replied

    Hey Younes!

    Thank you for the detailed feedback. I am sure Nectar has been looking into it and will be releasing an update soon. 

    Best,

    -T


    ThemeNectar Support Team 

  •  2
    Younes replied

    Salam Tahir,
    Thank you for you answer. I really hope that Nectar will find a fix for this bug quickly because it has already been 3 weeks since I'm struggling with this and I know that i've lost some selling because of that... I really hope you guys find a solution soon.
    Best

  •  2
    Younes replied

    Hello,

    Just updated for Salient 4.1 but I'm frustrated to see that the problem is not resolved... There is still the bug with Salient + Woocommerce Multilingual plugin + WPML string translation plugin

    I'm disappointed to see that it's been over three weeks that I've reported this problem. I took the time to respond in detail to all your questions, I even created an administrator account on my website so that you can see by yourself... and I've never had a clear answer or solution.

    I hope that you will take more time on my problem and that you will find a solution

    Thank you

  •  1,071
    ThemeNectar replied

    Hey Younes, this is not an issue that can be troubleshooted on your live server further since it wouldn't be practical - I need to work this all locally as to not disturb your site. Unfortunately I don't have the same version of WPML as you which is also causing a problem since this does not occur on my end using WPML String Translation 1.6.1 and has not been reported by other uses yet - can you please attach a copy of your current plugin so I can test on my end with it? Alternatively you can provide FTP access so i can get it that way.

    Cheers

  •   Younes replied privately
  •  1,071
    ThemeNectar replied

    Thanks Younes! Unfortunately the latest version of WooCommerce Multilingual is also requesting new versions of WPML Media & WPML Translation Management

     
    WooCommerce Multilingual is enabled but not effective. It is not compatible with WPML Translation Management versions prior 1.9.
    
    WooCommerce Multilingual is enabled but not effective. It is not compatible with WPML Media versions prior 2.1.
    
    Can you kindly provide those as well?

    Cheers

  •   Younes replied privately
  •  2
    Younes replied

    Hello. Just installed the new update 4.1.1 and I still have the problem...
    Did you try with the plugins I send you?

  •  1,071
    ThemeNectar replied

    Hey again Younes!

    I believe I have the fix now - can you allow me admin access again so I can apply it for you? The credntials you supplied earlier don't seem to have admin level access anymore:

    Log: nectar
    Pw: 2014mmmCCC212

    Cheers


  •  2
    Younes replied

    Alleluia!!!

    Your account is now set to ADMIN level.
    I'm really curious to know what was the problem... Could you tell me how you fixed this

    Let me know when you made the changes on my site.
    Thank you

  • [deleted] replied

    I have the same problem. When i add a product to my cart, the cart icon dont appear on the nav. What can i do?

  •  1,071
    ThemeNectar replied

    The combination of all those plugins together caused the cart in header to sometimes not load for 2-3 seconds after the page load on your server and the cart check is only run at page load so when it was running it was seeing nothing and never slid the cart in. I create a loop to check every couple hundred miliseconds for the existence of the cart in header and once it was found it now gets shown correctly.

    You should be able to see it now :)

  •  2
    Younes replied

    Hey Nectar.
    I just tried on my site but your modification doesn't change anything... :(

    I still have all these errors :
    'Cart in Nav' not working
    'Ajax add to cart button' not working
    'ThemeNectar backend admin panel' not saving any modification

    I really hope that you'll find a solution. It's been more than a month now that I'm struggling with this...

  •   Younes replied privately
  •  2
    Younes replied

    Hey Nectar!

    Sooooo I continued my investigation trying to find the solution and I figured that the problem could come from the combination of the Ajax you use in your theme with Wpml plugins and woocommerce... and I was right!
    When I disable the Nectar 'AJAX from search', everything get back to normal and the 'Cart in Nav' and 'Ajax add to cart button' work again !!!!

    Seriously man, it's been more than a month that I reported this bug and it looks like you didn't really take time to find a solution...
    You should really consider update your theme with a fix now you know where it comes from.

    best

  • Suska replied

    I have this same problem, im going to try your solution Younis! I HATE WPML, but unfortunatly have to use it :(

  • Suska replied

    Salient Auther, can you please fix this issue? I have the same problem as Younis.

    Younis, when I am in your English Store, and I add a product to the cart, it shows the product and all the buttons in French.

    https://www.dropbox.com/s/2cr8uf373rj1irs/Screensh...

    I have the same problem on my site as well... any updates on this issue Nectar? I can provide you all the WPML plugins for testing I have the developer account.

    Suzana

  •  2
    Younes replied

    Hello Suzana!

    This is more a problem between Salient VS WPML String Translation.
    The problem is that the Salient theme is NOT fully translatable with WPML even by using WPML String Translation.
    You can find a solution here: http://wpml.org/forums/topic/theme-calls-string-fr...
    It worked very well for me until the last update 4.8.x :(

    Let me know if it works for you
    Pce

  • Suska replied

    Hi Younes! 

    So I investigated this issue with WPML and they have just released a beta version which I upgraded on my website, and now there are no more problems!!!

    Here is the exact message from WMPL:

    Thank you for contacting WPML support!!

    ***Please take FULL BACKUP of your database and website.***

    We have just released beta version 3.1.8-b3.

    Can you please upgrade your "WPML CMS 3.1.7.2" plugin to "CMS Beta 3.1.8-b3" version. You can download CMS Beta package from:
    => wpml.org => Your Account => Downloads
    [ Please find CMS Beta package at bottom of the page ]

    Note: "CMS Beta" package contains 13 different plugins. Make sure to only upgrade "WPML CMS" plugin.

    Basically upload 'sitepress-multilingual-cms' to your site and it should be fixed!!

    Let me know how it goes so we can celebrate together

    Suzana