estrange Posted October 3, 2005 Posted October 3, 2005 Hi there. The items which I sell are very unique and usually have stock of only 1. Therefore, when someone purchases the item, the items needs to be taken off the shop when added to the cart. Is there a way to do this? Thanks, estrange
estrange Posted October 6, 2005 Author Posted October 6, 2005 Hi there. The items which I sell are very unique and usually have stock of only 1. Therefore, when someone purchases the item, the items needs to be taken off the shop when added to the cart. Is there a way to do this? Thanks, estrange If it's not possible to do it on this software can someone point me to a company that's able to do this?
Jack_mcs Posted October 6, 2005 Posted October 6, 2005 There's nothing built into the package that will do this. You need to add the code to delete the product. This would not be a simple deletion since more than one table is involved. If you delete it when the order is placed and that order gets canceled then you will have to add it back in. It would probably be better to just change its status as unvailable. Then in admin, when the order is marked as shipped, it would delete the items. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
estrange Posted October 17, 2005 Author Posted October 17, 2005 There's nothing built into the package that will do this. You need to add the code to delete the product. This would not be a simple deletion since more than one table is involved. If you delete it when the order is placed and that order gets canceled then you will have to add it back in. It would probably be better to just change its status as unvailable. Then in admin, when the order is marked as shipped, it would delete the items. Jack Thats for the response. When you mention to change the status as unavailable will that be automatic? For instance, when a customer purchases something it will just change the status by itself to unavailable. If so that will be even better. Eststrange
Jack_mcs Posted October 18, 2005 Posted October 18, 2005 The products table has a status field. So in checkout_process.php, when the order is completed, that field could be updated to show out of stock. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.