www.webdeveloper.com
Results 1 to 4 of 4

Thread: math calculator help

  1. #1
    Join Date
    Apr 2008
    Posts
    2

    math calculator help

    I am hoping someone can help me. I need to put an area calculator in my website that would calculate the square inches of a product then multiply that by the cost per sq. inch for a particular material thickness. I have four different materials available. then i need that to put into the shopping cart where the quantity would also be calculated. Heres the problem, I know absolutely NOTHING about code. I can copy and paste thats about it. I was told it the best way to do this would be in JavaScript. My site is a "static" site.

  2. #2
    Join Date
    May 2007
    Location
    Cleveland, OH
    Posts
    1,403
    Are you looking to learn javascript and build your own calculator(recommended), or just copy/paste some code and modify it to your needs?

  3. #3
    Join Date
    Apr 2008
    Location
    Ohio
    Posts
    35
    Using a form with formulas via many languages can achieve these results. My concern is with the mention of a shopping cart. Assuming your lack of knowledge of code I would recommend just creating options or attributes for the product to be added to the cart and set the prices accordingly. Especially since you only have four materials. I would highly doubt that you will find premade code for such a request that you could merely copy and paste.

  4. #4
    Join Date
    Apr 2008
    Posts
    2

    calculator help

    It's not looking good for finding a premade script that I could just insert into my site. I see you have listed a few books to read, thank you. I will take a look and see if it is something I could try. I thought I might be able to find a program that maybe a company like a rug distributor might use, but no luck.
    Thanks for your help.

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