Woocommerce shortcode not displaying product content

I have a fresh install of WordPress with X Pro and Woocommerce. I have created a standard page using the woocommerce shortcodes for product category and products. Product categories are showing fine but the products themselves are not displaying on the page. However the product info is visible in the code view starting at line 156 but is somehow hidden on the page. See http://visiongain.wpengine.com/?page_id=29

The theme has not been customized yet. Any help would be appreciated.

Thanks

Mark

Hi Mark,

Thank you for writing in, this looks like a bug but I like to confirm first. Would mind sharing what version of WooCommerce you have and the shortcode that you use? We need to try to replicate the issue on our end.

In the meantime, please review if you have the correct shortcodes and attributes.

Cheers!

The shortcode is being used correctly and the products are displaying when using the storefront theme. I’m using WooCommerce 3.2.5 and WP 4.8.4. The issue is occurring on both PHP 5 and PHP 7. As mentioned this is a brand new install/instance being built from scratch so very little custom coding has been added so far.

The shortcode that is not displaying is

[products category=“automotive”]

Here’s a screenshot when the storefront theme is activated

Hey @markcfrancis,

This is the case in Ethos stack. Please add a featured image for each of your products.

In case you don’t want to put a featured image, you need to add a minimum height to the product entry. Add this code to your Global CSS.

.woocommerce li.product .entry-product {
    min-height: 210px;
}

Thanks.

Perfect, this now works. Thank you

You’re welcome :slight_smile:

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