Hi guys can anyone help us? Our club has always had a complicated set of fees... This was made easier for people with a small online calculator (attached to the bottom)... We've recently made our fees structure slightly easier to understand as per https://www.hullarcheryclub.co.uk/fees/ but people are still getting it wrong, especially now we had to retire the calculator. We're looking for someone, who has a few minutes of spare time, along with the relevant skills, to re-write the code so it fits in with our current fee structure. We don't have much in the way of repaying you for this task but can offer you a place on our website in our current sponsor's section, which is on every page (as long as it's family-friendly) Thanks Carl Hull Archery Club <!DOCTYPE HTML> <html> <head> <script type="text/javascript"> var price=new Object(); price.year_adult=24; price.year_child=12; price.session_adult=3; price.session_child=2; price.training_adult=30; price.training_child=24; price.insurance_adult=25; price.insurance_child=15; price.badges_adult=2; price.badges_child=2; price.subs_adult=3; price.subs_child=2; price.equipment_adult=2; price.equipment_child=2; function calculate_fee() { var total=0; var age_group='child'; if(document.getElementById('adult_field').checked) { age_group='adult'; } // subtract passed months from full year var selected_month=document.getElementById('month_field').selectedIndex; var remaining_months=12-selected_month; if(selected_month<9) // Months are counted from zero in javascript, so September is 8. { total+=price['year_'+age_group]/12*remaining_months; var pro_rata=total+' ('+remaining_months+' months)'; } // after September the next full year is added too else { total+=price['year_'+age_group]+remaining_months; var pro_rata=total+' ('+(remaining_months+12)+' months)'; } document.getElementById('year').innerHTML=pro_rata; var extras=document.getElementsByClassName('extras'); var result=document.getElementsByClassName('result'); for(var i=0; i<extras.length; i++) { if(extras[i].checked || extras[i].value=='checked') { result[i].innerHTML=price[extras[i].id+'_'+age_group]; total+=price[extras[i].id+'_'+age_group]; } else { result[i].innerHTML=0; } } document.getElementById('session').innerHTML=total; } </script> </head> <body> <div id="body"> <div id="content"> <div id="section"> <table> <tr> <td> Date of joining <select id="month_field"> <option>January</option> <option>February</option> <option>March</option> <option>April</option> <option>May</option> <option>June</option> <option>July</option> <option>August</option> <option>September</option> <option>October</option> <option>November</option> <option>December</option> </select> </td> <td><input type="radio" name="age" id="child_field" value="child">Age 10-15</td> <td><input type="radio" name="age" value="adult" id="adult_field" checked>Age 16+</td> </tr> <tr> <td>Membership, yearly</td> <td>£12</td> <td>£24</td> </tr> <tr> <td><input type="checkbox" class="extras" id="training">Training, 6 weeks</td> <td>£24</td> <td>£30</td> </tr> <tr> <td> <input type="checkbox" disabled checked> <input type="hidden" class="extras" id="insurance" value="checked">Insurance, yearly </td> <td>£15</td> <td>£25</td> </tr> <tr> <td> <input type="checkbox" disabled checked> <input type="hidden" class="extras" id="badges" value="checked">Badges, quarterly </td> <td>£2</td> <td>£2</td> </tr> <tr> <td> <input type="checkbox" disabled checked> <input type="hidden" class="extras" id="subs" value="checked">Subs, weekly </td> <td>£2</td> <td>£3</td> </tr> <tr> <td><input type="checkbox" class="extras" id="equipment">Equipment, weekly</td> <td>£2</td> <td>£2</td> </tr> </table> <p><input type="button" value="Calculate Fee" onClick="calculate_fee();"></p> <h3> </h3> <h2>Total On first day: £<span id="session">0</span>.</h2> <h3>Breakdown</h3> <p>Pro Rata Membership: £<span id="year">0</span> (Annually, due every January) <br> Training 6 Weeks: £<span class="result" id="training_fee">0</span> (One Off Payment) <br> Insurance: £<span class="result" id="insurance_fee">0</span> (Annually, due every September) <br> Badges: £<span class="result" id="badges_fee">0</span> Quarterly. <br> Subs: £<span class="result" id="subs_fee">0</span> Weekly <br> Equipment Hire: £<span class="result" id="equipment_fee">0</span> (Weekly, when needed) </p> <h2>**Please Add £10 to final price - This covers the costs of an arm guard and finger tab, which is yours to keep **</h2> </div> </div> </div> </body> </html> Code (markup):
I had a play with it, might not be 100% but should be clear enough to allow you to make some more changes https://jsfiddle.net/itamer/0Lwpcy7h/27/
Hi Thanks... We're looking for something so simple as: Month of Joining Age at joining Do you want Archery GB (possibly to work out the fees based on age and date auto add ncas and yaa also if yes) do you need training (if yes add £30) Do you have own equipment (if no add £10) Then show a breakdown and total... If this is possible... it needs to be as simple as possible I dont know how easy or hard this bit would be so please ignore if hard... Ask for a start date, for example today is friday 13th august 2021... then work out that there are 3 Fridays left in the month (including today) and multiply that by £3.50 and add that to the final result Thank you so so much for your help
This should be posted on the jobs board if there is one. Personally I think you need to get a grip on your pricing they're all over the place making it hard to identify what you're actually looking for. For instance does the price per year include training? Is the insurance an option? How much do you charge for you to supply the equipment and what equipment is needed? Does all this apply to a single session or only a yearly membership? Why do you need badges? Why are we paying for them if you're the instructors? What the heck are "subs"? Does that mean your providing lunch? Or substitute instructors? Define your pricing! adult.training =30; adult.insurance =25; adult.incequip =2; adult.persession =3; adult.peryear =24; adult.badges=2; adult.subs=3; child.training =24; child.insurance =15; child.incequip =2; child.persession =2; child.peryear =12; child.badges =2; child.subs =2; Code (markup): Once you define what exactly is supposed to be calculated then coders will be able to make easily.
Hi thats the old one... to show what we had before... thats why i linked the fees page on the website at https://www.hullarcheryclub.co.uk/fees/ to show the new easier fees All there really is as i stated in my previous message There is no child prices, no membership fees, no badges, no insurance Its simply weeks to end of the month * £3.50 + £30 training (if needed, 0 if not) + Equipment £10 upfront and £2 a week if needed if not needed then 0
Honestly I can't make heads nor nails of the new fees page either, so it's really hard to implement what you're asking for. I'm not at all shocked people are having trouble making sense of that as it's riddled with too much useless information and not enough actually explaining what/where/when any of those values apply. Though that old one has horrifying gibberish inaccessible markup... as does the new one but that's to be expected when the train wreck laundry list of how NOT to build websites that is turdpress gets involved.
checked out your fees page and I agree with Shadow, the only phrase that come to mind is, "What the ...?" I guess you have to be a friend of the club understand jow your working out your pricing.
The pricing there falls into simple categories, ie do you need training yes/no and do you have your own equipment yes/no... The governing bodies pricing is nothing that is set by us...
What we keep trying (and failing at) is to tell you you don't need a calculator! YOU ARE THE CALCULATOR! You know what all this means and the public knows how to calculate what they need, you just have to have your fees structured so they can do exactly that! Without all the bull that you guys are throwing in there. Fees structuring should be a key part of your business. It allows you to create group and family specials while maintaining some sense of order from that chaotic crap your displaying(It's confusing). You can allow family discounts etc. when you've created an actual fee structured system. And as for prorating the first month, that should be handled internally,personally, but should not interfer with the actual fee structure itself. Note the example below, based on what I could figure out from that gibberish. Club Membership Fees: (membership fees do not include club services) For the First year: Fees Per Person: monthly yearly Ages 24 and over: £23 £276 Ages 18-24: £17 £204 Ages 18 and under: £16.25 £195 Persons with disabilities: £14.40 £172.80 Each additional year Fees Per Person: monthly yearly Ages 24 and over: £19 £228 Ages 18-24: £15 £180 Ages 18 and under: £14.25 £171 Persons with disabilities: remains the same Membership fees include the following: * YAA Fee - [explain who and what it's for] * NCAS Fee - [explain who and what it's for] * AGB Reaffiliation Fee - [explain who and what it's for] * AGB New members Fees - [explain who and what it's for] Yearly fees will be collected at the first of each new year. Monthly fees will be collected at the first of the month. (I just threw that in there for kicks) Fees can be paid by, cash, credit card or bank transfer which ever you prefer. Club Services: Club services are provided on an as needed basis for your convience and include the following: Archery Instruction Course: One of our own archery instructors will teach you everything you need to know in this comprehensive 6 week course. Course Includes: * Understanding basic equipment needs * positioning * etc. Course: £40 Course (equip. included): £52 Bow Tuning: £30 Daily Equipment Rental: £2 Refreshments: £1 each Refreshments are available upon request and include tea, hot chocolate or coffee for those icy cold winters or flavoured bottled water for those scorching hot summers. C'mon and join the fun! Code (markup): In case your wondering... your monthly fees for the first year were calculated starting with £14. Then the additional fees for each age group were added together and divided by 12. If the result included a decimal it was rounded up to the nearest dollar amount, then added to the £14. That result was then multiplied by 12 to geth the yearly amount. To remove the "new member" fee?? for each additional year, I divided the "new member" fee by 12. If it contained a decimal I trounded it up to the nearest dollar amount then subtracted it from the first years monthly fee per age group and adjusted the yearly fee to show the change as well. The point is you need to create the right pricing for display and let the public do the calculations for themselves.