Jump to content

mav910623

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mav910623's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yup that almost rite.. i would like to charge a flat rate of $20 per additional hour the car is booked. i just don't have the source that's the problem... you mid going over the php file for me ? h
  2. I really am unsure about the code structure as i was not the one who wrote it.. Im just editting. All i vae done is added $flatrate = $numberofHours * 20; $total = $total + $flatrate; and it stopped working as soon as i revert it back to original it worked.. there was no other modification done...
  3. Hey I Tried what you said but my additional code makes the script completely dysfunctional. . . can you take a look at it? :-\ [attachment deleted by admin]
  4. Thanks For the quick reply urm, what i would actually like to do is set the code to charge an additional $20 for every hour rather than just calculate the actual cost or renting the said car for an extra hour u get what i mean? Example: Car A cost $24 a day, with the current script it would charge an extra $1 for each extra hour. like the script says dayprice/24 What i want is for the script to charge $20 as a flat rate no matter how much the rental of said car is per day.. Hope you guys get it this time... if u need the entire script just let me know maybe something else is affecting it.. cheers
  5. Hi guys. I have this Car Rental Script and would like to change so price issues. The thing is the system chargers extra hours of rental by calculating the daily price divided against 24. This creates uneven numbers when proceeding to checkout phase. I would like to change the script to give a fixed price of 20 but it is not working. Mind you look at the .php file and help me out . Here iss a snippet of the code.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.