WordPress.org

Forums

[resolved] Remove Add To Cart Button (8 posts)

  1. joshuawine
    Member
    Posted 1 year ago #

    I know this one sounds crazy but does anyone know how I can delete the Add to Cart button. I am using marketify with easy digital downloads plugin. I tried searching the php files to delete the code but couldn't find it. Is there a line of code I could add to make it not show?

  2. Do you want to remove the one that's in the sidebar of Marketify?

  3. joshuawine
    Member
    Posted 1 year ago #

    Yep. I don't want it anywhere on my site for now. We will probably add it back in later but for the early stages we don't want it there because it may confuse people.

  4. Try this:

    remove_action( 'edd_after_download_content', 'edd_append_purchase_link' );
  5. joshuawine
    Member
    Posted 1 year ago #

    Worked perfect! Thanks!

  6. Glad to hear it!

  7. Amay111
    Member
    Posted 9 months ago #

    How do you remove the "add to cart" button on the actual sidebar widget?

  8. Please open your own, separate ticket.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags