WordPress.org

Support

Support » Plugins and Hacks » WP e-Commerce Plug-in – Simple Text Change? Not working.

WP e-Commerce Plug-in – Simple Text Change? Not working.

  • I am using a child theme… and I want to change the text that says:

    “Personalize Your Product
    Complete this form to include a personalized message with your purchase.”

    I know this needs to be changed in the wpsc-single_product.php page –

    I have copied this file over to the “child theme” directory and edited the text to a test message – “Personalize Your Product – Test” but it is not showing up at all – I have cleared cache… etc. I am not finding where it would be pulling this file from. I would imagine it would have to be the plug-in directory or the child theme directory but neither change is showing up.

    I have even gone in and edited the wpsc-single_product.php that is in the actual plug in directory and that did not work either.

    here is the page I am referring to:

    http://www.badgerbrownie.com/wp/products-page/brownies/badger-brownie-minis/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m running into the same issue. I just want to change the text where it currently says “Personalize your product” but I’m not having any luck with making changes to wpsc-single_product.php and getting the change to show up. Did you end up solving this?

    Any input is greatly appreciated. Thanks!

    WPShowCase
    Member

    @wpshowcase

    The original line:
    <legend><?php _e( 'Personalize Your Product', 'wpsc' ); ?></legend>

    uses the _e function – which is for multi-language. If you remove this function then hopefully it will work:
    <legend>Personalize Your Product</legend>

    Lee Willis
    Participant

    @leewillis77

    The string is translatable, so if you’re struggling to override the template you could use a plugin such as:

    http://wordpress.org/extend/plugins/say-what

    This should let you change the string pretty easily.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP e-Commerce Plug-in – Simple Text Change? Not working.’ is closed to new replies.