No results found. Try again with different words?

Search must be at least 3 characters.

Display Coupon Field on Checkout & Cart Pages

Sidebar Image

Did not find a solution? We are here to help you succeed.

By default, WooCommerce displays a ‘Have a coupon? Click here’ link on the Checkout and Cart pages, requiring users to click before they can enter a coupon code.

If you prefer to show the coupon field immediately, you can use the following Custom CSS code.

Add this CSS to Customize >> Additional CSS option

#ast-checkout-coupon .coupon {
    display: flex;
}

#ast-checkout-coupon #ast-coupon-trigger {
    display: none;
}

This will ensure that the coupon field is always visible and remove the clickable link, improving user experience and reducing friction in the checkout process.

For more information on adding Custom CSS code , please check this doc: https://wpastra.com/docs/adding-custom-css-code/

Note: This CSS applies to both the Checkout and Cart pages. If the changes do not reflect immediately, try clearing your site and browser cache.

If you have further questions about this, please feel free to leave a comment below.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Download is Just A Click Away!

Membership Retention Checklist Download

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form