Viewing 4 replies - 1 through 4 (of 4 total)
  • search Visit the shop in your WPEC files

    mine is wpsc-theme/wpsc-cart_widget.php

    line 58 – 59

    you my have a different version of the plugin, so double check.

    comment it out and see if it works.

    Thread Starter oldrambler

    (@oldrambler)

    Dear gmet
    Thank you so much for your help. I was unable to comment out the lines, using either a // or # so I just deleted the two lines (see below) and “Visit the shop” has now dissappeared.
    The lines deleted were:

    <?php _e('Your shopping cart is empty', 'wpsc'); ?>
    		<a>" class="visitshop" title="<?php esc_html_e('Visit Shop', 'wpsc'); ?>"><?php esc_html_e('Visit the shop', 'wpsc'); ?></a>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum’s parser.]

    Thank you again.

    use PHP code

    see below where ‘content’ is the code you want to comment out

    <?php /*?>content<?php */?>

    yep had a quick look, you got it.

    add this back in the beginning if you wanted the ‘Your shopping cart is empty’ back. That will disappear at a purchase.

    <?php _e('Your shopping cart is empty', 'wpsc'); ?><br />

    Good luck

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove "Visit the shop" from Shop page?’ is closed to new replies.