Support » Plugin: Auto Coupons for WooCommerce » Cart Auto Apply & Disable Animation

  • Resolved xolite


    The standard response in woocommerce when a coupon code is added it appears in the cart as “Coupon:CODE” when using the auto apply it stripes “Coupon:” and only shows the code.

    Is it possible have the plugin not strip the word “Coupon:”

    As well, how do you disable the animation, it appears to be
    .woocommerce .cart-discount td::after, .woocommerce .cart-discount td[data-title]::after
    and transition:none;

    Thank you for your time and the good work on the plugin. =)

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


    Hi xolite,

    You may remove the animation using the following style in an html block on the cart and checkout pages…

    .woocommerce .cart-discount td:after, .woocommerce .cart-discount td[data-title]:after{content:''!important;display:none!important}

    In a future release I will add a formal option to disable animation and have the “Coupon:” text reinstated.

    Thank you!

    Plugin Author Rhett


    Today’s release includes an option to relabel the coupon line item. Thank you!

    Thread Starter xolite


    I apologize, I did intended to reply to this thread, I got side tracked reviewing the plugin! Thank you Rhett again for everything. If there was an award for the fastest reply from a developer, we can easily say you win!

    Thread Starter xolite


    Works perfect, just a suggestion for future releases is to inherit css styling or not hardcode *new css styles.

    table th { } class, if we inherit the styling then the font-weight:600; in this class is not re-written forcing me to

    .table th {
    font-weight:600 !important;
    } again.

    If that makes sense? If the styling is already present ( which it will for most themes/woocommerce ) I do see the need to hardcode new styles, only the function of the field changes, if the function is outside woocommerce/theme styling, then it would make sense.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cart Auto Apply & Disable Animation’ is closed to new replies.