I need a small change made to the addon for osCommerce, Item Count Fee ( [url removed, login to view] ) I have attached it to this post too.
Currently this addon simply checks how many items you are purchasing, and if it's below the set minimum it adds a surcharge. I need this changed so that it checks how many "Pre Order" items are being purchased, and applies the rule to them only, not to the 'In Stock" items.
My site is [[url removed, login to view]] . I have 2 types of products, In Stock and Pre Order, what I want is, to set a condition on the Pre Order items, that to get the price on the website, they must purchase at least 3 Pre Order items in a single order, otherwise there is a surcharge of 100 baht for every pre order item below 3. (I hope that makes sense).
I was thinking there are 2 ways of doing this:
1. All pre order items have a product code of ?€˜Pre?€™ and in stock is ?€˜IN?€™, e.g. pre order is Pre-D-A001, and in stock is IN-D-A002, so if you can filter by product code of each item, and simply tally up the number of ?€˜Pre?€™ items, then apply the rules.
2. Create a new field with the products description, and flag it either 1 or 0 (1 if it?€™s pre order) then just use that to tally up and apply the rules.
I would rather go with option 1 as I don?€™t want to screw with the database, in case of future updates, etc.
This is a very simple and quick change, please don't bid until you have looked at the addon (attached) and at my website.