markowi3 Posted February 5, 2008 Posted February 5, 2008 I want to know if anyone knows of a way to limit what a customer can purchase. Say if they buy item x it is the ONLY item that they can purchase in that order. Perhaps this will make sense. I have a store that has 5 different categories, I am going to add a new one that is pre-orders (which will have 8 different products in it). If they are ordering preorder stuff, I want that to be the only item they purchase in the order (I am doing this for tracking purposes). So if they order a preorder item they cant order anything else including other preorder items in that same order. I hope this makes sense and someone can point me in the right direction. Thank You Leslie
chipshot Posted February 5, 2008 Posted February 5, 2008 this might be what your looking for; http://addons.oscommerce.com/info/4155/v,22
markowi3 Posted February 5, 2008 Author Posted February 5, 2008 Thank you for taking the time to respond. Its close, but not quite. Its not that I only want them to be able to order 1 of this item (they can order 100 if they want) its that if they do order that item (however many) that they can not order any other items with it. For example if I sell fruit, they can order 20 oranges and 50 pineapples if they want, but apples fall under the preorder cat and if they order apples (no matter how many) then they CAN NOT order oranges or pineapples in that same order Thanks again leslie this might be what your looking for; http://addons.oscommerce.com/info/4155/v,22
Mav666 Posted February 5, 2008 Posted February 5, 2008 You could display the "add to cart" button only if similar items are in the cart. i.e. if you order apples, the orange page would say something like "oranges would upset the apple cart, please check out first". That should be a fairly easy mod to write ... Even at a Mensa convention someone is the dumbest person in the room.
markowi3 Posted February 5, 2008 Author Posted February 5, 2008 without even a mod (which I am not so sure I have been at this long enough to write) I am sure I could put up some kind of message, but people tend not to read them so I was looking for a way to force it. Thanks Leslie You could display the "add to cart" button only if similar items are in the cart. i.e. if you order apples, the orange page would say something like "oranges would upset the apple cart, please check out first". That should be a fairly easy mod to write ...
Mav666 Posted February 5, 2008 Posted February 5, 2008 LOL - even if you force it people will email you asking why. The mod could be fairly simple, you have to add a field to your products that allows you to specify pre-order vs. normal items, then in products_info.php replace the add to cart button with an if-clause that only displays it if the flag in the cart matches the flag of the item displaying. Even at a Mensa convention someone is the dumbest person in the room.
markowi3 Posted February 5, 2008 Author Posted February 5, 2008 Thanks. I'd have to say I cant imagine I am the only one out there that has needed such a thing. I dont think I can code it, but now I have a better idea of what to look for. Thank you very much. Leslie LOL - even if you force it people will email you asking why. The mod could be fairly simple, you have to add a field to your products that allows you to specify pre-order vs. normal items, then in products_info.php replace the add to cart button with an if-clause that only displays it if the flag in the cart matches the flag of the item displaying.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.