• Resolved ranaxdx

    (@ranaxdx)


    Hi, Is there a way to exclude product from deposit through code? I saw there is an option in General Setting -> Exclude products. But, I need to apply more condition before exclude any specific products.

    That’s why we want to know whether we can achieve it through code or not.

    • This topic was modified 1 year, 8 months ago by Yui.
    • This topic was modified 1 year, 8 months ago by ranaxdx.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Niloy

    (@im_niloy)

    Hi,
    Thanks for your query.
    Exclude products for deposit are available in the pro version.

    Thread Starter ranaxdx

    (@ranaxdx)

    Hi,

    Perhaps I should rewrite my question.

    Is there a way to exclude product from deposit through custom code in function.php?

    Or your answer is we can exclude product from deposit through custom code in function.php in the pro version?

    • This reply was modified 1 year, 8 months ago by ranaxdx.
    Plugin Author Niloy

    (@im_niloy)

    Is there a way to exclude product from deposit through custom code in?function.php?
    Yes, if you know how WooCommerce works, you can easily archive it using custom code.
    Or your answer is we can exclude product from deposit through custom code in function.php in the pro version?
    No, you don’t need to add custom code in the pro version because we already added the condition, so all you need to do is select products from the deposit settings that you want to exclude

    Thread Starter ranaxdx

    (@ranaxdx)

    I am aware that we can exclude products from deposit function through dashboard because I use Pro version.

    But for my case, I don’t want to exclude product. I want to exclude products based on product Variation.

    For example, I have one Product name Apple. Within that product, I have one attribute called Variation. There are 3 Variations. Sample, 10×6, 20×10.

    Each Variation has different prices. Like: Apple Sample 10$, Apple 10×6 50$, APPLE 20×10 is 100$. And I want to exclude only Apple Sample for deposit and partial payment.

    So, I cannot achieve this by using Exclude products because it can exclude only Product (Apple) not Product Variation (Apple Sample).

    That’s why I want to know whether we can achieve it using custom code in function.php.

    Plugin Author Niloy

    (@im_niloy)

    For Pro version support kindly fill up this form https://www.codeixer.com/contact-us/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to exlude product from deposit through code?’ is closed to new replies.