[英]woocommerce - display variations in stock
I have enabled the attributes widgets on the shop page. 我已在商店页面上启用了属性小部件。 My products use two attributes: style and size. 我的产品使用两个属性:样式和大小。 Let's say a customer selects style as boys and size as large. 假设客户选择样式为男孩,尺寸选择为大。 All the products with the variation boys large show up. 所有带有变体男孩的产品都会出现。
But many of these variations are out of stock. 但是,这些变体中的许多都没有货。 How can I restrict the display to show only products with that variation that is in stock? 如何限制显示范围,使其仅显示具有该变化的产品?
example: display products with the variation (boys large) in stock and hide products with the variation (boys large) out of stock. 示例:显示库存变化较大(男孩大)的产品,隐藏库存变化较大(男孩大)的产品。
From the dashboard: 从仪表板:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.