WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
robotsmeta: index,follow showing up on product page (2 posts)

  1. ibeleeb
    Member
    Posted 9 months ago #

    Greetings!
    On all single product pages, the words or phrase

    robotsmeta: index,follow

    shows up just after the product description, and just before the pricing. I have tried disabling all other plugins and changing the theme, and it is still there.

    WordPress 3.6.1
    WP-Ecommerce 3.8.12.1
    Example page: http://pontoonanchormount.com/?wpsc-product=deckmount-premier

    Any help would be greatly appreciated.
    Lee

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

  2. mginop
    Member
    Posted 9 months ago #

    Try removing or commenting out the following code from wpsc-single_product.php in your themes folder.

    <?php
    /**
    * Custom meta HTML and loop
    */
    ?>
    <?php if (wpsc_have_custom_meta()) : ?>
    <div class="custom_meta">
    <?php while ( wpsc_have_custom_meta() ) : wpsc_the_custom_meta(); ?>
    <?php if (stripos(wpsc_custom_meta_name(),'g:') !== FALSE) continue; ?>
    <?php echo wpsc_custom_meta_name(); ?>: <?php echo wpsc_custom_meta_value(); ?>
    <?php endwhile; ?>
    </div><!--close custom_meta-->
    <?php endif; ?>

Reply

You must log in to post.

About this Plugin

About this Topic