www.webdeveloper.com
Results 1 to 2 of 2

Thread: Html code for displaying price based off of percentages

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Html code for displaying price based off of percentages

    Hello I am a 23 yr. old college student who is trying to design a website smartsolutionsstore.com I am having problems with displaying values for my website's pricing page http://www.smartsolutionsstore.com/pricing/ I can't not seem to get it to display values for the "Ikea Order Total" box and the "Zip Code box" there is a similar website that I will like to follow http://www.modernash.com/about/pricing but I cannot get this set up correctly I am a rookie to website so if anyone could help me with the equations it would be greatly appreciated. I am doing this for my senior thesis and I am trying to graduate.

    Here is the percentages:
    $100 35% 0 - 150

    $200 32% 150 250

    $300 29% 250 - 400

    $500 26% 400 - 650

    $750 23% 650 - 850
    Florence IKEA

    1000 21% 850 1250

    1500 20% 1250 - 1750

    2000 19% 1750 2500 (2500-3000)

    18% (3000-3500) 17%

    4000 16% 3500 4500

    ( 4500++++) 15%



    100 38 38% 0 - 150

    200 70 35% 150 - 250

    300 92 31% 250 - 400

    500 135 27% 400 - 650

    750 187 25% 650 - 850 Myrtle Beach IKEA

    1000 230 23% 850 - 1250

    1500 330 22% 1250 - 1750

    2000 400 20% 1750 2500 (2500-3000) 19% (3000-3500) 18%

    4000 680 17% 3500 4500 (4500+++) 16%


    I need a mininum of $25 on an order so anything that falls below $20 should be $20

  2. #2
    Join Date
    Mar 2012
    Posts
    1,112
    You cannot do any calculations in html. The two main alternatives are php and javascript. The choice depends upon whether you want calculations to be done by the client web page (js), or by the server (php). I prefer the server option, but the example looks like js. Also, I do not understand your figures, e.g. what is the third column about???
    Last edited by jedaisoul; 09-12-2012 at 11:43 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles