Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Thanked 1 Time in 1 Post

    Shop: Enter amount of Credits and calculate price

    Hello ,

    So I'm going to have a little shop that will sell virual credits. The user needs to enter how many credits they want and it will calculate the price

    $1 = 100 Credits or 1 cent = 1 credit

    If possible auto update a value with Ajax or jquery and have the amount passed as a variable for checkout


  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 Posts
    Okay, and what is your question?
    You know how many credits purchased per cent. Multiply it by the number of cents sold and update accordingly.

  • #3
    Regular Coder jdswebservice's Avatar
    Join Date
    Aug 2010
    Moon Township, PA
    Thanked 5 Times in 5 Posts
    He's trying to get US to write the code for him. Write your code, post your code, and if any errors occur, then we will help. This is NOT the right board for getting someone to write code for you. Might i suggest the PHP Snippets page or the Projects page to you.
    Jonathan R.
    Email: jonathan@logicaldevelopment.net
    Skype, Aim, & Jabber: logicaldevelopment
    Website: http://logicaldevelopment.net/

    NOTE: When contacting me please have the following things ready:

    Thread ID (This can be found in the URL of your thread)
    Budget of Project
    Methods of contacting you/your organization
    Preferred method if many methods are provided

    Any website information that you PM, Email, IM, or otherwise is strictly confidential and will not be disseminated, distributed, or copied in any way, shape or form.


    Posting Permissions

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