![]() |
attempt to create apple like shopping cart page (price updates based on customization
i am trying to make a cart page where based on each selection the price updates as you see on this page http://store.apple.com/us_smb_78313/...co=MTk4Mjc2MDA
if you notice on the apple page that each radio fields value has a number like 095-344 and this value is some how sent via ajax to a serverside who then receives a price value to be added to the cart as a total that is viewed. i created something similar here is the link. http://69.231.228.101:8888/demo/ i have made only the first two fields to work which is quantity and type. when the page loads the 3rd option is auto selected and its price is displayed. and when the section select is selected the items value is accumulated to the value that already exists in the upper right. the problem im having is if you now select the quantity again to change the amount of quantity you wanted the value resets instead of do the right math. what am i doing wrong? plus, would you know of a jquery site or some site that has attempted this that i can study? i have looked long and hard and cannot find anything of this kind created. i just see a bunch of simple cart calculation pages and nothing like what im looking for. alot of sites have something like this that im looking for for example apple, dell, hp, for product customizations and the price updates based on your selection. what im wondering how and where did they learn how to do it. there must be a site that teaches it. |
I made a script that is somewhat similar, the sliders can just be seen as drop down menus: http://www.caratnetworks.com/sliders...tion-plans.php. Also do know that sites don't teach everything, I built that one mostly by figuring it out for myself.
After a few read though I am afraid I still don't understand the specific problem you are having. No offense but please try to use better grammar (at least use MS word or something), it really makes things easier to read. |
| All times are GMT. The time now is 10:45 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0