WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] E-commerce Plug In query - Hiding the 'Price' on the product page (4 posts)

  1. quercusrobur
    Member
    Posted 1 year ago #

    Hi, sorry if this already been covered, but just wondering if there is any way I can hide the 'Price' at the bottom of the single product page?

    On one product page I've created for a course I am running I have created a 'variant' option to pay the deposit for a course place which is £40, although the full course actually costs £120. However the product price which shows up is 'Prices from £40', which is not actually the case and may confuse potential customers. I'd prefer to be able to hide the price altogether.

    I have also used the 'variants' page to create various postage options for another item I am selling, these also show up as 'Prices from' on the product page, again I would prefer the product price without postage to be shown. I'm happy to manually enter this with the product information and again would prefer to hide the automatically generated price on the Product Page.

    Hope the above makes sense, many thanks in advance for any help or advice.

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

  2. quercusrobur
    Member
    Posted 1 year ago #

    it's OK I've figured it out - I simply removed this line from the 'single product' and 'products' pages whuch has done the trick!

    <?php wpsc_the_product_price_display(); ?>

  3. deepeyes
    Member
    Posted 1 year ago #

    Hi

    I still don't know how to hide the price, do you mind to share how to do that ?

    Thanks

  4. zackklein
    Member
    Posted 1 year ago #

    In /wp-content/plugins/wp-e-commerce/wpsc-theme

    There is a file called wpsc-products_page.php

    On about line number 172 there is the line of code
    <?php wpsc_the_product_price_display(); ?>

    Delete that line of code and save the file. This removes it from the Products Page list displaying all of your products, but not on your single products page. Now you need to find the fie called wpsc-single_product.php

    On about line number 140 there is a line of code
    <?php wpsc_the_product_price_display(); ?>

    Delete and save the file and it should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.