• Dave

    (@davevdoorn)


    Hi,

    I am curious where I can translate the Qty: which appears on Child products and is visible in the flyout menu. I cannot find it anywhere…

    <div class="xoo-wsc-child-qty"><span>Qty:</span><span>12</span></div>

    * I also discovered that the Subtotal: below in the flyout menu is also not translated. I translated it with Loco translate. Also the language file .pot But I cannot change those words into my own language.

    Anyone has a clue?

    Thanks.

    Dave

    • This topic was modified 4 years, 7 months ago by Dave.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,
    I guess you saw the below link from the previous posts and followed up.

    https://docs.xootix.com/side-cart-for-woocommerce/#translation

    I also suffered same issue and above link didn’t help me because it is missing some information. After saving a translation with poEdit, it only creates a .po file. And copying it under /wp-content/languages doesn’t help. You need to copy .mo file as well. I found it by chance, and it works fine for me at the moment. I was able to translate SubTotal

    Thread Starter Dave

    (@davevdoorn)

    Hi,

    Thank you for the tip. I will give it a try. Right now I found the core files which I translated those words. But translating a different way is much safer. Thanks for your help!

    Plugin Author xootix

    (@xootix)

    Hello guys,

    @davevdoorn
    I have updated the plugin.
    Missing word “Qty” is now available.
    Please updated and re sync your .pot file in loco translate
    Thanks for reporting.

    @ozanyilmaz2017
    Two files .po & .mo are generated when you do the translations and save.
    You need to copy both. I will make it more clear in the documentations too.
    Thanks for mentioning.

    • This reply was modified 4 years, 7 months ago by xootix.
    Thread Starter Dave

    (@davevdoorn)

    Hi @xootix

    Thanks mate! I am happy with the update! Getting to change the .pot file immediately. I can imagine you haven’t thought about the child Qty: as many people doesn’t have child products. Thanks man! Considering to get the premium license too. Wanna customize a bit more.

    Maybe a small advise. I like to use the basket button permanently visible. But I have not because the basket button is allmost at the same spot as my ‘Go to top of page’ button. It would be nice if the basket button on mobile can be positioned. Like left, right, center or something like that.

    Anyway, thank you for the update!

    Cheers,
    Dave

    Plugin Author xootix

    (@xootix)

    Hi @davevdoorn

    Please use this CSS, this will set the basket position to left for devices less than 600px.

    @media only screen and (max-width: 600px) {
      .xoo-wsc-basket{
          left: 20px;
          right: auto;
      }
    }
    Thread Starter Dave

    (@davevdoorn)

    Hi @xootix
    That is neat! Thanks. I thought about it too to get it done by css. But I haven’t ?? So, now i have it. But, I made some custom CSS. Just to make some tweaks. And I have all custom CSS in an external shylesheet file in a child theme. When I put your style in my external file, the code is not working. When I put your code under the Advanced tab of the WSC, it does work. Any idea why it’s not working in my external file?

    Oh, and i changed the 600 to 830. Lot of devices has a higher resolution ??

    Thanks man. Very helpful again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translating Qty and Subtotal in flyout menu’ is closed to new replies.