WordPress.org

Forums

WooCommerce - excelling eCommerce
Add To Cart Shortcode (2 posts)

  1. buddhafish
    Member
    Posted 1 year ago #

    Hello,

    I'm using the Add to Cart shortcode to display a button on an event (that is then linked to a product) so that a user can sign up for the event. My issue is that the shortcode also displays the cost, which I have displayed two other places already. I would like to take it the cost out, and accomplished that by adding display:none to the span, however that then takes away the amount on the checkout page. Here is a link to the page - http://www.fshtnkdesign.com/blog/event/summer-a-creative-movement-ages-3-5/

    Any help anyone could offer would be greatly appreciated!

    https://wordpress.org/plugins/woocommerce/

  2. Chrome Orange
    Member
    Posted 1 year ago #

    Try more specific CSS to remove the price e.g.

    p.product span.amount {
    display:none;
    }

    or

    single span.amount {
    display:none;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic