Custom shipping rate based on an specific product category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #94750
    Milton
    Guest

    Hi,

    I’m trying to set a custom shipping rate based on an specific product category, and it should be applied only if any product of this category is the only product in the cart. If any other product is added to the cart, this custom shipping rate should not be applied.

    This is what I’ve done so far:
    I set the category ID in the Required product categories field, and it shows this Custom Shipping if I set the Require Type as:
    At least one of the required products has to be in cart
    All of the required products have to be in cart

    But if I set the Require Type as any of the two below, and all the products in the cart belongs to this specific category, it doesn’t show up.
    Only the required products have to be in cart
    All and only the required products have to be in cart

    The option I believe I should use is: Only the required products have to be in cart, but it’s not working as expected.

    Any advice about how can I achieve this?

    Thanks in advance for any help you can provide.

    #94751
    Dhara
    Guest

    Hi Milton,

    A very good day. 🙂

    Yes, you are correct, the option ‘Only the required products have to be in cart’ should work in your case.

    I have tested this option with the latest versions of plugins and for me it is working fine. The custom shipping option is showing up if all the products in the cart belongs to that specific category.

    To help you with this we will need few more details about your site. We are emailing you shortly with our requirements. Kindly revert back there.

    Regards,
    Dhara

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Custom Shipping Methods for WooCommerce’ is closed to new topics and replies.