The grid don't show the products
-
Hi. I have a grid at the homepage with 4 different filters, some of these show the grid in a wrong way.
Look at the site you see only 2 products, and when you push the button it shows some more, but it has empty spaces.
All the images at the web have the same width.
Some clue?
NOTE: this problem is ONLY in the french (second language) version.
Attachments:
You must be
logged in to view attached files.
Hi,
Try to go to Dashboard -> WooCommerce -> Settings -> Products -> Inventory and disable this option https://gyazo.com/fe46d3e0a1e9c1ad5713b4b537d1908a
Regards
Hi! Thank you for your rapid answer.
The “visual problem” is solved, but now we show the products we haven’t at the stock. Don’t you have another solution from the theme to hide the out of stock products?
Thanks!
Try to edit the file basel/inc/shortcodes.php
and customize the function basel_shortcode_products();
as shown on screenshot http://prntscr.com/jwress
Add the following code
if ( 'yes' === get_option( 'woocommerce_hide_out_of_stock_items' ) ) {
$args['meta_query'][] = array( 'key' => '_stock_status', 'value' => 'outofstock', 'compare' => 'NOT IN' );
}
I think nothing changes…
https://vaive.shoes/fr/#1535363391044-80824083-a4a2
I don’t make enable again the “hide the products out of stock”.
Thanks for your help!
Use the code we sent and enable this option on your website.
The topic ‘The grid don't show the products’ is closed to new replies.