WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
"Price" "Old Price" and "You save" string localization (3 posts)

  1. andrea.spila
    Member
    Posted 6 months ago #

    Hi there,

    I've seen a few queries on this issue but apparently the code has changed since then.
    On product pages I always get the Price, Old Price and You Save strings untranslated and cannot find them anywhere. (Theme is Purevision)
    (http://www.e-schooloftranslation.org/shop/corsi-registrati/diventare-traduttore-corso-online)

    In the .po file for Italian I find these lines:

    #: wpsc-theme/wpsc-single_product.php:144
    #: wpsc-theme/wpsc-products_page.php:176
    msgid "You save"
    msgstr "Risparmi"

    But the "You save" strings is not in those files!
    Anyone can help?

    Thanks
    Andrea

    http://wordpress.org/plugins/wp-e-commerce/

  2. orangesandlime
    Member
    Posted 6 months ago #

    This took me a while to find (downloaded the plugin and did a search for "Old Price" in Finder):

    wp e-commerce > wpsc-components > theme-engine-v1 > helpers > template-tags.php

    You can find the Price, Old Price and You Save text on lines 1604, 1605 and 1607 respectively.

    For my purpose I wanted to remove the words Price and Old Price, I did this by removing the words but leaving the %s otherwise the price will not display.

    Hope this helps you as well, Andrea.

    Ciao!

  3. hejhenning
    Member
    Posted 4 months ago #

    THANK YOU, orangesandlime! Exactly what I was looking for. :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.