How To Disable Coupon Code Field From Cart And Checkout?

Hi, I disabled Gift certificates addon but the field for coupon codes is still visible in cart and during checkout - how can I disable it or hide?

Try to disable all promotions which use coupon code in the conditions

If what you're wanting is to not display the input box at all, you can create a file (assuming the my_changes addon is active) of

design/themes/[YOUR THEME]/templates/addons/my_changes/hooks/checkout/discount_coupon.override.tpl

that contains a single HTML comment line like

You can then still use promotions that don't involve a coupon and they will still be displayed if they've been applied to the order or the cart. You may have to make a similar change for the cart page/dialog (I didn't look).

Note that the override file must not be empty, otherwise it will be ignored.

As alternative just add the following code to the CSS section of the Theme editor

.ty-checkout-summary__item, .ty-coupons__container {
    display: none !important;
}

Actually you will only need to make sure there is no active coupon code and then the coupon code box will not be shown.

Thank you a lot, disabling promotions which use coupon code solved this problem.

Actually you will only need to make sure there is no active coupon code and then the coupon code box will not be shown.

And that gift certificate addon is not active since both use the same input.

tony

And that gift certificate addon is not active since both use the same input.

tony

It was mentioned in the post #1