Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MaartenVissers 32 posts 150 karma points
    Dec 02, 2020 @ 18:23
    MaartenVissers
    0

    Vendr select/disable shipment for product

    Hi, I have a question about Vendr.

    I was wondering if it is possible to disable a shipping method for a product with Vendr? E.g. the "e-mail" shipping method can be used for tickets but not for clothing. Or one product can be shipped but the other can only be collected.

    Thank you

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Dec 03, 2020 @ 09:17
    Matt Brailsford
    1

    Hey,

    The showing / hiding of payment / shipping methods is generally left to the implementer to handle, so when you render your list, you could check what is in the order and decide whether to show or hide an option.

    One option could be that on a product you state whether it is physical or digital, then copy that value to the order line using properties https://vendr.net/docs/core/1-3-0/key-concepts/properties/ then when you render your list of providers, you can check all the orderlines to see if they are physical or digital and then show the relevant options.

    Hope this helps

    Matt

  • MaartenVissers 32 posts 150 karma points
    Dec 03, 2020 @ 09:26
    MaartenVissers
    100

    Hey Matt, thanks for the answer. There are indeed several options.

    In the meantime I have created my own editor, which I use on the "product" doctype. It is a "Shipping Method Picker" where you can choose from a list of all shipping methods and disable a method for a specific product.

    When generating the list of shipping providers, filtering is done on the basis of that property.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Dec 03, 2020 @ 09:34
    Matt Brailsford
    0

    Hi Maarten,

    Ahh, that's great. Sounds like a good solution.

    Glad you were able to implement something that works for you. 👍

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft