Support » Plugin: Auto Coupons for WooCommerce » Checkout coupon “discount applied” animation

  • Resolved speakoutenglish

    (@speakoutenglish)


    When a coupon is auto applied using this plugin, there is some kind of animation that happens I suspect to draw the customer’s eye to the amount discounted with a box that shrinks in size. I would like to remove that animation.

    It also removed the default “[Remove]” link after the discount amount. Can this also be prevented from happening?

    Is there an easy way to do that?

    Thank you.

    Iain

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rhett

    (@rermis)

    Hi Iain,

    Sure, just add the following code in an HTML block on the cart & checkout pages. Substitute “COUPON-NAME” for the coupon of your choice. Just a note: I don’t recommend showing the remove link on coupons that set up for Auto Apply, because the plugin will attempt to apply the coupon on each page load if it is not applied.

    <style>
    .woocommerce .cart-discount td:after, .woocommerce .cart-discount td[data-title]:after{content:''!important;display:none!important} 
    .cart-discount.COUPON-NAME .woocommerce-remove-coupon{display:block!important}
    </style>
    Thread Starter speakoutenglish

    (@speakoutenglish)

    Thank you Ill give it a try!
    Iain

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checkout coupon “discount applied” animation’ is closed to new replies.