WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] How do I remove add to cart button for some products? (5 posts)

  1. thebvc
    Member
    Posted 1 year ago #

    Hi,

    I was wondering if it was possible to include the add to cart button for some products and not all? As I am using the shopping cart to display training courses and course material but some things aren't purchasable.

    Look forward to a reply.

    Thank you

    Amy

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

  2. Justin Sainton
    Member
    Plugin Author

    Posted 1 year ago #

    You could target specific pages via CSS (See the <body> tag for page-specific classes) and hide them that way.

  3. thebvc
    Member
    Posted 1 year ago #

    That worked great thank you! Is there anyway you can hide the price too, as it is displaying £0.00?

    Thanks again.

  4. Justin Sainton
    Member
    Plugin Author

    Posted 1 year ago #

    You'd do the same thing (except target the price, which I believe would be span.pricedisplay)

  5. thebvc
    Member
    Posted 1 year ago #

    Thank you that worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic