Support » Plugin: WooCommerce » Read more button

Viewing 6 replies - 1 through 6 (of 6 total)
  • The snippet should do exactly what you describe. Latest version of WooCommerce?

    @vskylabv
    Yes 3.4.2

    Plugin Support Jesse Pearson

    (@jessepearson)

    Automattic Happiness Engineer

    @semsembanhawy This appears to be working for me. I took the code from above and added into my functions.php file and this was the result:


    Link to image: http://cld.wthms.co/3DovFk

    Do your products have prices?

    @jessepearson
    yes the product have a price
    this the url to check
    https://esstudio-eg.com/store/
    maybe because i used this snippet to add the ” add to cart ” button ?

    // register add to cart action
    add_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_add_to_cart’, 10 );

    Plugin Support Jesse Pearson

    (@jessepearson)

    Automattic Happiness Engineer

    @semsembanhawy I cannot be certain as to why the snippet is not working for you, it may be a conflict with your theme, Divi. With my testing the snippet worked as it should.

    The snippet checks to make sure the product is in stock and is purchasable. The is purchasable check makes sure there’s a price and the product is published.

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Read more button’ is closed to new replies.