• Resolved femalewrestlingchannel

    (@femalewrestlingchannel)


    The member discount button generally hovers over the picture of whatever product you are selling near the top. It’s moved to the bottom on my site along with the checkout module.

    How do you remove the – Member discount! – button completely?

    Annoyingly it’s showing up to members and non-members.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter femalewrestlingchannel

    (@femalewrestlingchannel)

    I found this:
    add_filter(‘wc_memberships_member_discount_badge’, ‘__return_empty_string’);

    And it removed it on the pages. On the products themselves, I had the product module moved to the bottom of the page and the member discount badge along with it. I think it drove one of my developers nuts. lol.

    In any case, how do I remove the badge on product pages?

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @femalewrestlingchannel!

    We have resolved this for you in live chat, using some CSS code.

    With that said, I’ll go ahead and resolve this ticket but do feel free to come back should you need further help.

    Cheers!

    Thread Starter femalewrestlingchannel

    (@femalewrestlingchannel)

    Indeed you did and thank you as that was awesome. Feel free to post the CSS code for the public if you don’t mind.

    I happen to need some CSS code for the Membership Discount badge, so it is unfortunate that the code was not posted here. Instead, I sent a support request to SkyVerge, which handles the support for this.

    While I cannot be sure that the code would solve my problem, there is a chance that some time and effort could have been saved by posting the code.

    Perhaps someone could post that code now?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do you remove Member Discount Button from Product postings?’ is closed to new replies.