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

  1. andrea.spila
    Posted 2 years 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)

    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?



  2. orangesandlime
    Posted 2 years 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.


  3. hejhenning
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.