Discount Sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'MDS30' Limited Offer!!

Star

Home > Docs > Smart Coupons for WooCommerce > Hide ‘My Coupons’ and ‘Store Credits’ from My Account in WooCommerce

Hide ‘My Coupons’ and ‘Store Credits’ from My Account in WooCommerce

Last updated on February 10, 2025

Smart coupon for WooCommerce plugin, by default, lists My Coupons and My Store Credits on the My Accounts page. This article will help you hide ‘My Coupons’ & ‘Store Credits’ tab from Account Page with the help of a code snippet.

That is, customers can view the applicable Coupons and Store Credits from the My Accounts section as shown below

Smart Coupons for WooCommerce - My account section
Smart Coupons for WooCommerce – My account section

Code snippet to hide ‘My Coupons’ & ‘Store Credits’ tab from Account Page

However, store owners can hide My coupons or My store credits from the My Account page by using a code snippet.

  • From your WordPress dashboard, go to Appearance > Theme editor.
  • Then, add the below given code snippet at the bottom end of functions.php of the active theme file.

After inserting the code, customers will not be able to view coupons or store credits from My Accounts.