Orderform 2.0: Make it possible to hide the coupon code link
complete
Tue Olesen
When no coupon codes are available, i'd like to have the coupon code link in the order form hidden.
In the "classic" order form this could be done via CSS.
It would be useful to assign a CSS selector or class to the orderform 2.0 coupon code link, so that it can be hidden via account-wide CSS settings.
Even more helpful would be to hide/show the coupon code link depending on whether there are active coupon codes set up in the simplero system, valid for the specific product.
Thanks.
Tue
Log In
Owais Khan
complete
We'll now automatically hide the coupon code field if no coupons are applicable to any items in the cart (that is you don't have a coupon code or a coupon price applicable for any product in your cart).
Tue Olesen
Owais Khan: Excellent - that's a great, simple solution!
Nicole Warner
Agreed, this can frequently make people think they're missing out on something when they're not and it can disrupt the check-out process. (Happens to me on other sites all the time.)
Brian Hahn
Is there an option to remove the coupon code field in the original order form (not 2.0)?
Tue Olesen
Brian Hahn: Not as far as i know. I've done it via CSS, in account settings > Colors and Logos > Add Custom CSS > #coupon_code_field_container{display:none;}
Brian Hahn
Tue Olesen: Awesome, thanks for sharing!