WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
Add "Search Site" Placeholder for Live Search (2 posts)

  1. photo_ed
    Member
    Posted 7 months ago #

    I am trying to figure out where and how to add a place holder that says "Search Site" into the Gold Cart Live Search box. I have seen mention of making changes in the gold_shopping_cart.php line 484 but their line numbers do not match up with mine (gold cart v2.9.7.3 WPe-C version 3.8.12.1)

    Any help would be appreciated.
    http://mcpvb.com

    thanks
    Ed

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

  2. GFHS
    Member
    Posted 2 weeks ago #

    Not sure whether to copy gold_shopping_cart.php to my theme directory but here is the line I modified ..
    Line 596:
    ' <input type="text" id="wpsc_search_autocomplete" name="product_search" value="<?php echo esc_attr( $product_search ); ?>" placeholder ="<?php _e( 'Search ...', 'wpsc' ); ?>"class ="<?php echo esc_attr( $search_box_classes ); ?>" /> '

Reply

You must log in to post.

About this Plugin

About this Topic