Placeholder image not working with plugin
-
Hi,
It doesn’t look like your plugin is working with WooCommerce placeholder images. If a featured image is not set for a product, then it is simply not displaying an image instead of using the placeholder image set in WooCommerce.
Here is HTML of an item with featured image set:
<div class=”elements-wrapper layout-1353828″>
<div class=” element-1583955779300″ id=””>
<div class=”featured-mark element-1584136468819″></div>
<div class=” wcps-items-thumb element-1583955783012″></div>
<div class=”wcps-items-title element-1583955783659″>Miracle Ejuice North Pole 60ml</div>
<div class=” wcps-items-price element-1584136494739″><span class=”woocommerce-Price-amount amount”><span class=”woocommerce-Price-currencySymbol”>$</span>25.95</span></div>
<div class=”woocommerce wcps-items-cart element-1584136486109″><p class=”product woocommerce add_to_cart_inline ” style=”border:4px solid #ccc; padding: 12px;”>Select options</p></div>
</div>
</div>Here is HTML of an item WITHOUT featured image set:
<div class=”elements-wrapper layout-1353828″>
<div class=” element-1583955779300″ id=””>
<div class=”wcps-items-title element-1583955783659″>Eleaf iTap Pods</div>
<div class=” wcps-items-price element-1584136494739″><span class=”woocommerce-Price-amount amount”><span class=”woocommerce-Price-currencySymbol”>$</span>5.99</span></div>
<div class=”woocommerce wcps-items-cart element-1584136486109″><p class=”product woocommerce add_to_cart_inline ” style=”border:4px solid #ccc; padding: 12px;”>Add to cart</p></div>
</div>
</div>In this second one, without the featured image set, it does not even out put the div.wcps-items-thumb , there is simply nothing there.
The page I need help with: [log in to see the link]
- The topic ‘Placeholder image not working with plugin’ is closed to new replies.