Is there a way to block products being added to the cart if it conflicts with another product already in the cart?
Is there a way to block products being added to the cart if it conflicts with another product already in the cart?
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...
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.
There's nothing built in to do that, that's going to take some customization.
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)