Edit Order Dashboard (woocommerce) – Remove quantity column

Hello,

When on website back-end, viewing a Woocommerce Edit Order page, I’ve been trying to remove the quantity column. I’m using Gravity forms to obtain my quantity (because of the extensive amount of variables for many of our products). So, I need to remove the Quantity column as it is no longer needed or accurate.

Please see screenshot in secure note of what trying to accomplish.

I’ve targeted the CSS below. When in “inspect” mode, I add “display:none” to this item the quantity column disappears as desired. However, when I add this in my Pro-Child… woocommerce / assets / css / admin.css
and even my own style.css nothing happens. Please HELP!

#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity {
display: none  !important;
}

Hello @RocktheHouse1876,

Thanks for writing in!

Just add your custom css in Pro > Theme Options > Custom CSS or in your child theme’s style.css file instead.

Hope this helps. Please let us know how it goes.

Thank you for taking a look at this. I’ve added it to my Pro > Theme Options > Custom CSS, cleared the cached, though I do not see a change?

Hi @RocktheHouse1876,

While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here. Try this trick provided here.

If your own custom CSS did not work, try this instead.

.woocommerce_order_items th.quantity,
.woocommerce_order_items td.quantity {
  display: none !important;
}

Hope it helps,
Cheers!

@friech T H A N K Y O U for your GREAT kindness!! Your tip and trick worked! I’ve spent hours and hours troubleshooting. Amazing support…

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.