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 5 of 5

Thread: Product Conflicts

  1. #1
    nktm85 is offline Junior Member
    Join Date
    Aug 2009
    Posts
    3

    Default Product Conflicts

    Is there a way to block products being added to the cart if it conflicts with another product already in the cart?

  2. #2
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    You could modify the aspdnsf_AddItemToCart stored procedure, look for the IF block just next to the comment: -- if item already exists in the cart update it's quantity and comment out that block and that should be it...

  3. #3
    nktm85 is offline Junior Member
    Join Date
    Aug 2009
    Posts
    3

    Default

    hmmmm sorry, wasn't quite what I was asking. I meant if I already have Product A in my cart, and I try to add Product B, (which is incompatible), I want to block Product B from being added. Also it should be true vice versa.

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    There's nothing built in to do that, that's going to take some customization.

  5. #5
    jsimacek is offline Senior Member
    Join Date
    Dec 2008
    Location
    Phoenix, AZ
    Posts
    373

    Default

    nktm85, please contact Jan at jsimacek@compunix.us for this customizations, it's not a difficult one ;-)
    Jan Simacek - Compunix, LLC
    AspDotNetStorefront trusted Devnet Partner and Reseller since 2005

    AspDotNetStorefront Mods and Add-Ons at http://www.ecommercecartmods.com/
    - Searching, Filtering and Sorting (like cSearch, Dealer Locator, Price Ranges, Blog)
    - Reports (like Cart Abandonment and Net Sales)
    - Customer Experience (like Question/Answers)
    - Site and Data Management (like Entity Product Mapper, Bulk Updaters, Make/Model/Year filters)