Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Limit Quantity?

  1. #1
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default Limit Quantity?

    Is there anyway to limit the quantity of a variant that a customer can add to the cart? We have 4 variants on each product, each variant is a different size but one variant is a sample size and we only want to allow a quantity 1.

    Thanks

  2. #2
    mbertulli is offline Senior Member
    Join Date
    Aug 2008
    Posts
    243

    Default

    pretty sure that's custom ssgumby...
    Matthew Bertulli
    Demac Media
    mbertulli@demacmedia.com
    Custom Web Design & E-Commerce Development
    AspDotNetStoreFront Platinum DevNet Partner
    ----

    Custom Skinning & Design
    Web Services Integration
    Custom Reporting
    Salesforce.com eCommerce AspDotNetStoreFront Integration

  3. #3
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    That can certainly done out of the box. All that needs to be done is to set the Restricted Quantity variant attribute to 1 on that variant.

    http://manual.aspdotnetstorefront.co...ttributes.aspx
    Last edited by John Reasons; 02-09-2010 at 09:54 AM.

  4. #4
    mbertulli is offline Senior Member
    Join Date
    Aug 2008
    Posts
    243

    Default

    Sweet, learn something new every day! Never used that property/field before.
    Matthew Bertulli
    Demac Media
    mbertulli@demacmedia.com
    Custom Web Design & E-Commerce Development
    AspDotNetStoreFront Platinum DevNet Partner
    ----

    Custom Skinning & Design
    Web Services Integration
    Custom Reporting
    Salesforce.com eCommerce AspDotNetStoreFront Integration

  5. #5
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    Very cool, thanks John!

    Lots of power in this cart!

  6. #6
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    Glad to have helped. Yup this really is a very powerful cart indeed, and with the new version it will be even better.