online store, custom translations 'Qty'

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi, and thanks for reading

I am trying to change word 'Qty' to 'Months' in Shopping Bag

I have uploaded the Ecwid html from
http://help.ecwid.com/customer/portal/articles/1674334-custom-translations#HowcanIchangeortranslate

<script type="text/javascript">
  ecwidMessages = {
    "Qty":"Months",
  };
</script>

but nothing has changed and it still says, 'Qty'

Many thanks for helping,
Tulsi
Photo of Tulsi Mckinloch

Tulsi Mckinloch

  • 12 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hello Tulsi,

Try this modification:

  • Copy the code below.
  • Insert it to your site pages, before any Ecwid code.
  • Reload your site's page.

<script>
ecwidMessages = {
"ShoppingCartView.qty":"Months"
}
</script>
(Edited)
Photo of Tulsi Mckinloch

Tulsi Mckinloch

  • 12 Posts
  • 0 Reply Likes
Thanks Gop
Thats champion - it works in the shopping cart !!!
 
but please have a look to this screenshot


It still says QTY on that one
What HTML would I need to insert to make that one say Months.

IE: What is that box called?........

Thanks so much
Leonard
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
You need to identify that component and then alter tthe code relevant for that component. I can't see your site so I can't do it remotely with FireBug.

I don't know why it says that your site is not published?
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Try this and I'm really working in the dark on this one:

<script>ecwidMessages = {
"OrderBox.qty":"Months"
}
</script>
Photo of Rod

Rod, Employee

  • 22 Posts
  • 1 Reply Like
Hi Leonard,

Thank you for your patience.

I have emailed you to confirm that we have resolved your issue with changing the word "Quantity" to "Months".

For your reference here is the code that did the trick:

<script type="text/javascript">
ecwidMessages = {
"OrderBox.qty":"Months",
"OrderComponent.gty":"Months\:",
"ProductDetails.qty":"Months",
"ShoppingCartView.qty":"Months"
}
</script>


PS. The above code will need to be pasted inside of an HTML code widget on each store page of your site.