storefront-child-theme | blank starter child theme for WooThemes free StoreFront | Theme library
kandi X-RAY | storefront-child-theme Summary
kandi X-RAY | storefront-child-theme Summary
The StoreFront Child Theme is a starter blank child theme for WooThemes StoreFront WooCommerce theme.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of storefront-child-theme
storefront-child-theme Key Features
storefront-child-theme Examples and Code Snippets
Community Discussions
Trending Discussions on storefront-child-theme
QUESTION
I am using on of the Widgets included with WooCommerce called Filter products by attribute. I created a widgetized area on the category page in my Storefront-child-theme functions.php
(see code below).
But when I filter by attribue size M
for example, it lists products where size M is out of stock...
Any idea how to fix this?
EXAMPLE: Filtering by size M displays this product, which is not available:
...ANSWER
Answered 2020-Oct-14 at 17:49I'll be direct : by default, you can't. It's not related to a certain theme or plugin, but to Woocommerce itself. This is a problem that exists in woocommerce for a very long time. It's not possible by default in woocommerce to handle variable products stock visibility (stock status) based on it's variations visibility as it's something necessary and needed by Woocommerce1.
A way of doing this is to add this action function :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install storefront-child-theme
Goto WordPress > Appearance > Themes > Add New.
Click Upload Theme and Choose File, then select the theme's .zip file. Click Install Now.
Click Activate to use your new theme right away.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page