• Resolved Avinash Patel

    (@avinashdigitl)


    Hello, in my site there are shipping rule is set based on cart items count, i want to do is if product has specific meta data “Sample: Yes” or product price is 0, then do not count that product from cart total count, so that my shipping method will apply to only those product who has price more then 0.

    https://prnt.sc/GjUURed8SWIo

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

Viewing 1 replies (of 1 total)
  • Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi @avinashdigitl,

    Thank you for reaching out!

    With the default WooCommerce shipping methods, it isn’t possible to count shipping per number of products (or per number of products of a certain shipping class) so the exact implementation depends on the plugin you’re using for this, and you may want to reach out to the support team of that plugin for further guidance.

    Alternatively, you could use a plugin that calculates shipping according to table rates (you could google Table Rate Shipping to find such a plugin) since with such plugins, it is normally possible to specify a condition (such as “only shipping class X”) and a price per item.

    So, with such a plugin, you could only calculate the price per item for products with certain shipping classes, and you wouldn’t need to use any sort of additional metadata and custom logic/code.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘It is possible to not count product which has specific meta data?’ is closed to new replies.