We need to alter the way the current order_editor works in oscommerce. We also have a modified second copy of this file to create a [url removed, login to view] file that this will need to be mirrored in. Please only bid if you are confident you can write high quality code and can start work within 48 hours. There is an opportunity for quite a bit more work if you are selected for this job. This oscommerce site is heavily modified. You will be working on a duplication of the site on a different server
We need to rework the way order_editor (with ajax) works to allow for specific changes. Changes are described as follows:
1- Shipping modules need to be included. Currently flat rate modules appear in the order editor. If you change the shipping address to a different country, the order editor will not display the shipping rates (only for the US). We need the FedEx shipping rates to appear in the order editor as they do currently in the customer checkout_shipping page.
2- Coupons need to be listed (only currently available coupons with a certain exception by name) in a popup linked in the editor order_totals section (see pink check in screenshot). This popup will have a search button and an add to order button. When an order is changed in any way, the coupon will recalculate based on those changes.
3- A residential checkbox needs to be added in the shipping address section. This will simply flag a 1 in a column within the orders table in the db
4- Order totals--- this is the main section. Right now the order editor allows one to add any number of order total modules inserting them as custom totals in the db. We need each order to have all order_total types available to them so that our reporting is accurate at the end of the month. Each order total is explained thoroughly in the screen shots and below:
a. Subtotal (no change) sort order 1
b. Coupon (as described above) checkbox to the right to remove coupon from order
c. Shipping (as described above)
d. Signature (checkbox) if checked, add $[url removed, login to view] to order. Order total class ot_fedex_fees
e. Insurance (checkbox) if checked, add cost. (For orders with subtotal $0- $99 add $[url removed, login to view] but still write order_total, From $100-199, add $[url removed, login to view], from $200-299 add $[url removed, login to view], from $300 - $399, add $[url removed, login to view] and so on.
f. Saturday delivery, add $15 (fedex_fees)
g. Ship Now/Ship Later (Right now in customer checkout, if an item has a backorder status in the products table (or products stock table for products with attributes) of "mark as backordered" and the stock level is < 0, the product name is appended with "(Backordered)". If a product that is marked as backordered is added to the same shopping cart as a product that is in stock, the customer gets a choice in checkout to "Hold until all orders are in stock" with an order_total of "ot_backorder_fee" of $0.00. If they opt for the second option "Ship in stock now and the remainder later" they are charged according to the same fee as in the checkout (saved in db)
h. Restocking fee If marked, add Restocking fee of 15% off subtotal (ot_restock)
i. Tax No Change
j. Custom Fee: Allow for insertion of custom order total (same funtion as current green plus sign)
k. Total: Calculate all order totals
Please see screenshots for more information and ask any questions you need in order to accurately (both time and cost) bid on this project.