Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #214964

    I recently installed the WooCommerce Sold Out Products plug-in. I can see the badge for brief moment before the product image covers it.

    The plugin author has suggested that the enfold theme seems to be overriding the shop loop template and that I should contact you to make sure that there is a woocommerce_before_shop_loop_item_title action in there as this is used to display the sold out badge on a product.

    Another poster on that subject suggested that adding woocommerce_before_shop_loop_item_title to the content-product.php template would fix the problem, but I don’t see a content-product.php file to add that bid of code to.

    Can you help?

    Thanks.

    Nana

    #215711

    Hey NanaKuo!

    We did not remove this action. In fact our theme even uses it to add a div to the default product grid template. I.e. search for following code in wp-content/themes/enfold/config-woocommerce/config.php

    
    add_action( 'woocommerce_before_shop_loop_item_title', 'avia_shop_overview_extra_header_div', 20);
    function avia_shop_overview_extra_header_div()
    {
    	echo "<div class='inner_product_header'><div class='avia-arrow'></div>";
    }
    

    – as you can see the avia_shop_overview_extra_header_div() function also uses the same action. Please contact the plugin author and ask him to debug the code.

    Best regards,
    Peter

    #245960

    It’s not possible to add css ; z-index 500 for woomerce shoploopitemtitle and aviashopoverviewviewdiv and set css zindex lets say 900 for avia shop overview/?

    #245976

    http://www.shopelegal.com/new-arrivals/ – The sold out plugins work perfectly but why is it just a font text on
    http://www.shopelegal.com/dress/ ???
    For the princess dress product

    #246167

    Hi!

    Thank you for using the support forum!

    I checked the link (http://www.shopelegal.com/dress/) but I don’t see the sold out text. Please add it again, we’ll be happy to provide you with a possible solution after. If you don’t mind, please post a screenshot of how you want the “sold out” string to look like.

    Cheers!
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘enfold theme overriding shop loop template?’ is closed to new replies.