Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    All I can say this need much customization.

    You can check cart contents and total, fetch products if conditions met. these links may give you some hints. make your logic and work it out.
    https://docs.woothemes.com/document/show-cart-contents-total/

    https://www.thecodepoetry.com/update-woocommerce-cart-price-with-code/

    Alternatively, you can hook to add to cart redirect

    add_filter ('add_to_cart_redirect', 'redirect_to_free');
    
    function redirect_to_free() {
     //chck you condition here and redirect to free page
    }

    hope that helps!

    Thread Starter pokhsujan

    (@pokhsujan)

    Thanks safeer. I appreciate your suggestion.
    Can you help me on this,
    I’ve made a coupen which will be applied if price in cart is more than some specied amount and for certain types of products only.
    What i need is, if price in cart is more than some specied amount but the product is not in the coupen list then the message will be send or displayed to him giving some information.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List products from a category if certain condition is met’ is closed to new replies.