Support » Plugin: WP eCommerce » Remove "Visit the shop" from Shop page?

  • oldrambler


    Store URL:
    WordPress version: 3.6.1
    WP e-Commerce version:
    Gold Cart version: N/A
    Theme: Themia Theme Pro

    I did this: Set up site and added WP e-Commerce Grid View PRO, WP E-Commerce shop styling and WP E-Commerce shop styling Transaction Results Page upgrade.

    I expected WP e-Commerce to do this: When you go the shop page at and the shopping cart is empty you see a link “Visit the shop” that takes you to the page that you are already on. This just confuses the visitors. Is there any safe way to remove this or have I missed a setting?

Viewing 4 replies - 1 through 4 (of 4 total)
  • gmet


    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.

    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.