Forum Moderators: buckworks
The site (PHP) will give a customer a quotation - that is based on some complicated formula and the calculation is to be done in PHP. The formula depends on weight, size, material and a couple of other factors in some non linear fashion.. so every quotation is unique. Given the price, the customer should then be able to place an order and pay for it online.
This does not seem to fit well with the shopping cart paradigm which seesm to assume the existence of a catalog of items with fixed prices.
How do I go about this?
We don't catalog our products in our cart, although the option is there. What you are proposing is to perform all of your calculations on-page, and when completed send the necessary information to the cart. If your cart requires cataloged items you might want to look for a different cart.
Using a php script, and with a little help from javascript, cookies and session info I can perform calculations and determine options from hundreds of available selections. My cart knows nothing of this, it only receives the final totals.
>> How do I go about this?
Set yourself down with a pad of paper and a pencil and begin your script design. Flowcharting your process will make everything a lot clearer from the beginning.