Translate Sales Clock from English

To translate the sales clock from English on your theme, follow these steps:

  1. Duplicate themes, to create a backup copy.
  2. From "Shopify Admin", select Online Store.

    select online store 

  3. Select Actions.

    select actions 

  4. Select Edit HTML / CSS.

    select edit html / css 

  5. Under "Layout", select theme.liquid.

    select theme.liquid 

  6. Add this code, anywhere between the <head> and </head> tags.
    function shappify_overwrite_sales_clock_text() {
    shappify_sale_over_label = "Sale Over";
    shappify_sale_ends_in_label = "Sale ends in";
    shappify_day_label = "day";
    shappify_days_label = "days";
    shappify_hour_label = "hour";
    shappify_hours_label = "hours";
    shappify_minute_label = "minute";
    shappify_minutes_label = "minutes";
    shappify_second_label = "second";
    shappify_seconds_label = "seconds";

    paste this code 

  7. Change the text in quotes to the desired translation.

    change the text in quotes 

  8. Select Save.

    Select save 

That's it!

Note: This method may not work with languages using special characters.

Have more questions? Submit a request