• Hi

    im using elementor and astra theme and of course woocommerce. i was reading some post in the forums to se if i can solve it myself but without resuts.
    i added the custom code :

    add_filter( ‘somdn_product_page_content_woo’, ‘somdn_product_page_content_woo_custom’ );
    function somdn_product_page_content_woo_custom() {
    // Return a different WooCommerce product page hook
    return ‘woocommerce_simple_add_to_cart’;

    }
    but is not working. the button add to cart is still showing instead of download now.
    i use also woocommerce membership and subscription. i seleected the right settings i think : ( Include selected memberships only , Include paid items that have 100% discounts for members).
    and in membership plans i selected the las option (Allow Free Downloads for these members ).
    i think its the theme. please i need help asap as we have a launch date. i can give credential to get in admin panel and also theme files. thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Download button not showing’ is closed to new replies.