Okay
  Public Ticket #881708
Mobile: Show cart only when it contains items
Closed

Comments

  •  2
    David started the conversation

    Hi there,

    is there any way that the shopping cart in the mobile menu stays hidden, as long as it is empty? So same behaviour as on desktop.

    Thank you,

    David

  •  1,560
    Laborator replied

    Hi David,

    Can you please send us your site URL first, so we can investigate your site and then get back to you with possible solution.

    P.S. make sure you've disabled the Maintenance/Coming Soon mode

    Also, normally the cart is hidden  by default, I don't know how you want to hide it?

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   David replied privately
  •  1,560
    Laborator replied

    Hi David,

    Now I understand, but that's not possible because there isn't any class that will define when the class is empty and when it's ready to checkout.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    David replied

    Ok, I see.. It would be nice to add that in a future version.

    Until then: Can you tell me where I can change the text label "cart"?

    Thank you,

    David

  •  1,560
    Laborator replied

    Hi David,

    Currently we have a huge to-do list and we will see when we can add a feature like this in the upcoming updates, regarding the "cart" string question - you can change it with a string translation plugin such as "Loco Translate".

    To translate theme strings, you can do this via Loco Translate plugin. If you don't have this plugin, please install and activate it in your WordPress site.

    1. Then go to Loco Translate > Manage Translations

    2. Click "New Language" for the current active theme (if you didn't created it yet, otherwise ignore this step). On the new language page, choose these options – click here http://d.pr/i/1ewoc

    3. After that you will be redirected to the editing screen for theme translations. Before you continue make sure this is true – click here http://d.pr/i/18h0w

    4. Follow these instructions to learn how to translate strings – http://d.pr/i/1jsek

    5. The changes will be applied immediately – http://d.pr/i/1ju6w



    Note: Translation files will be saved to wp-content/themes/{theme-name}/languages folder. Here you have the explanation – http://d.pr/i/1lBCJ

    After you make your changes, always save a backup when there is new theme update. After you update the theme (languages folder will be replaced), just move the backup files you previously saved to the same languages directory and your changes will still be applied.


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group