guarts Posted May 2, 2006 Posted May 2, 2006 One of the features my sales department is looking for in an online store is the ability to place orders at arbitrary prices. Is there some way that one of our internal employees could log in to a private interface (like the osCommerce admin panel) and place an order for Product X at a price other than the configured default price of Product X? Thanks
radders Posted May 2, 2006 Posted May 2, 2006 I know it isn't quite the same thing but you could with some simple coding do this through the catalog side using the contribution 'Easy Discount'. You could give a specific discount on the entire order. You create an admin coupon code that consists of a code word and an arbitrary amount or percentage discount that you specify in the coupon box. Then unpack the coupon code box and give that discount on the order. Does that work for you?
guarts Posted May 2, 2006 Author Posted May 2, 2006 I know it isn't quite the same thing but you could with some simple coding do this through the catalog side using the contribution 'Easy Discount'. You could give a specific discount on the entire order. You create an admin coupon code that consists of a code word and an arbitrary amount or percentage discount that you specify in the coupon box. Then unpack the coupon code box and give that discount on the order. Does that work for you? I suppose that might work. I'll grab 'Easy Discount' and check it out. Thanks for the quick reply!
carlost Posted May 20, 2006 Posted May 20, 2006 Hey Stephen! To begin with, just so you know, I have used this writing, almost verbatim, as a response to another post too. I am working on something similar (I think) to what you are describing. My objective is two fold: (1) I want customers who purchase a gift certificate via my already installed "Credit Class & Gift Voucher" contribution - to be able to just insert whatever amount they want to via a text input field. Presently you have to set an amount (as you do with any product), and a customer can increase it by adding more quantities of it. (2) I want to have a "Payment" page, where a customer can insert any amount for payment, as well as a brief description of what the payment is for, also using text input fields. Presently, using some of the code from three separate contributions (Make An Offer, Options Type, & Maximum Order Quantity) - I am almost able to achieve what I am looking for. From the Make An Offer contribution, I am able to get a text input field to carry an inserted $ amount over into the shopping cart. From the Options Type contribution, I am able to get a text input field to carry an inserted brief payment description over into the shopping cart as an attribute. From the Maximum Order Quantity contribution, I am able to prevent more than one gift certificate and/or more than one payment amount, to be processed per order. I am afraid though, the finishing touches are beyond my limited ability to customize some, using others code, which is all that I can really do. (Though I am still, searching through the forums, and contributions, for more info on how I might accomplish what I want to.) What's left that needs to be done is: (1) Need to be able to validate the two text input fields involved, which are generated in product_info.php (To be able to control the $ amount range, & to insure a description is inserted - would like to do this using an "alert" statement.) (2) Presently, the "Gift Certificate" (product) page passes through the checkout procedure going from the cart directly to checkout_payment.php, skipping checkout_shipping.php. The "Payment" (product) page does not (I do know it has to do with the "Product Description" text attribute that carries through). It goes through checkout_shipping.php first - this needs to be changed to do the same as the "Gift Certificate" (product) page. (3) When using the Free Shipping Over A Given Amount feature, I need to be able to exclude both the "Gift Certificate" (product) amount, and/or the "Payment" (product) amount - from being included in the tally/sum. (4) In most files that I have tried to, I am able to separate the 2 products (which in my case are 1 & 2 "Gift Certificate" & "Payment" respectively) by using some variation of (($products['products_id'] == 1) && ($products['products_id'] == 2) ) with an "if" statement, or "if else" statements. I have not been able to figure out, or find an example of the variation that works with the checkout files (checkout_shipping.php, checkout_payment.php, checkout_confirmation.php, & checkout_success.php) I need to, to be able to custom the info presented - which will depend on which products are purchased (different for 1 & 2, than the rest). To the point of my telling all this here: I am trying to generate some interest in completing these last areas, which I so far, have not been able to do. I am very close though. Presently I am working in an XAMPP environment on my computer. If you or anyone else has an interest to see what I've got done so far, with an eye towards collaborating, I would be glad to publish it on my server. It also has the potential to be a useful hybrid contribution when finished. Regards, Carlos
Recommended Posts
Archived
This topic is now archived and is closed to further replies.