WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Plug-in - Simple Text Change? Not working. (4 posts)

  1. felinawi
    Member
    Posted 1 year ago #

    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/

  2. eyerish1
    Member
    Posted 8 months ago #

    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!

  3. WPShowCase
    Inactive
    Posted 8 months ago #

    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>

  4. Lee Willis
    Member
    Posted 8 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic