Copied to clipboard

Flag this post as spam?

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


  • Tobbe 81 posts 387 karma points c-trib
    Aug 27, 2014 @ 16:30
    Tobbe
    0

    Minmum quantity on products

    How can I prevent users from buying less than a minimum quantity of a product (can be different for different products, and some doesnt have a minium quantity)? Im adding products with the javascript API

  • Anders Burla 2560 posts 8256 karma points
    Aug 28, 2014 @ 08:25
    Anders Burla
    100

    Hi Tobbe

    You would add a property to your product node specifying the min quantity that people should buy. Now use that value in your javascript to ensure the quantity field is smaller than the min quantity. If you want to be sure about the amount you can use the .net API and use the Notification center to look at the quantity that is added for an order line and remove it if you want to.

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft