From 83c946602afd68aedc5047c12e0a6565948f6a15 Mon Sep 17 00:00:00 2001 From: barryhughes <3594411+barryhughes@users.noreply.github.com> Date: Wed, 11 Jan 2023 15:25:12 -0800 Subject: [PATCH] Widen the selector used to hide the quantity input (for products that are sold individually). --- .../changelog/fix-36007-sold-individually-amendment | 5 +++++ plugins/woocommerce/client/legacy/css/_common.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 plugins/woocommerce/changelog/fix-36007-sold-individually-amendment diff --git a/plugins/woocommerce/changelog/fix-36007-sold-individually-amendment b/plugins/woocommerce/changelog/fix-36007-sold-individually-amendment new file mode 100644 index 00000000000..6b14c30ea53 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-36007-sold-individually-amendment @@ -0,0 +1,5 @@ +Significance: patch +Type: tweak +Comment: We're tweaking an unreleased change which is already covered by a changelog entry added in PR#36350. + + diff --git a/plugins/woocommerce/client/legacy/css/_common.scss b/plugins/woocommerce/client/legacy/css/_common.scss index 1d645c1e305..9737c39c898 100644 --- a/plugins/woocommerce/client/legacy/css/_common.scss +++ b/plugins/woocommerce/client/legacy/css/_common.scss @@ -3,6 +3,6 @@ */ /* We do not wish to display the quantity selector (within single product pages) if the product is sold individually. */ -.woocommerce.single-product .product.sold-individually input[name="quantity"] { +.woocommerce.single-product .product.sold-individually .quantity { display: none; }