SEOClerks

I want someone to modify a simple PHP module

I want someone to modify a simple PHP module

The module is a real time freight quote tool that returns freight prices based on input from a HTML form. I need someone with PHP and HTML knowledge to add additional functionality to the module so that it will return additional information based on the contents of a drop down list.


Requirements

The scope of work is to modify an existing tool that provides real time freight quotes for Ebay Listings. The tool consists of 2 parts, some HTML code that is included in Ebay Listings and a PHP file that resides on a Web server.

Currently when a customer enters their postcode into a form and clicks submit the required parameters are sent to the display_quotes.php file, the PHP file makes an API call to the courier company and then displays the cost to freight the item to the customers postcode.

The goal is to provide varied output depending on the weight and type of the item being quoted. Our Courier offers 2 delivery options, delivery to the customers door (depot2door) OR delivery to their nearest transport depot. (depot2depot)

The display_quotes.php page should display the following results based on the weight and type of the item. There are 3 variations or classes of freight, items under 35KG, Items under 70KG and Items over 70Kg


1. If the weight of the item is less than 35KG. – just display the cost.
The display_quotes.php should display the freight cost returned from the EGO calculator plus $10 displayed as - Delivery to will be $xx.xx.
Beneath that line display the following Text “Goods will be dispatched within 2 business days of payment, please allow up to 7 days for delivery.
There should be a close window button with test “Back to Listing”

2. If the weight of the item is greater than 35 kg but less than 70kg – display the cost and an option to select delivery to a local courier depot.
The display_quotes.php should display the freight cost returned from the EGO calculator plus $10 if the type is carton or plus $20 if the type is not carton, displayed as - Delivery to will be $xx.xx.
Then display the following text beneath the quote - This item weighs more than 35kg, you will need to be available and able to assist the courier to unload. If you are unable to assist with unloading please use the Depot Delivery option.
Choose your closest transport depot
Button Get Depot Price
Goods will be dispatched within 2 business days of payment, please allow up to 7 days for delivery.
If the button get depot price is clicked should return the depot delivery price plus $10 displayed immediately under the Delivery to Postcode Answer as - Delivery to Local courier depot at will be $xx.xx

3. If the weight of the item is greater than 70kg – display the cost, advise a forklift is required, and an option to select delivery to a local courier depot.
The display_quotes.php should display the freight cost returned from the EGO calculator plus $10 if the type is carton or plus $20 if the type is not carton, displayed as - Delivery to will be $xx.xx.
Then display the following text beneath the quote - This item weighs more than 70kg, you will need have a forklift available to unload. If you do not have a forklift available to unload a tail lift truck will be required at an additional cost of $132. Alternatively you may choose to collect your goods from a local transport depot.
Choose your closest transport depot
Button Get Depot Price
Text - Goods will be dispatched within 2 business days of payment, please allow up to 7 days for delivery.
If the button get depot price is clicked it should return the depot delivery price plus $10 displayed immediately under the Delivery to Postcode answer as - Delivery to Local courier depot at will be $xx.xx


Skills Required

Php

Bids

i am a php developer & have worked on a similar situation.
i can modify the script for you to process the variations in your result page.
analyzing the job, it will be safe to say that i can deliver you the script change within the time requirement you have stated (i.e 2 days).

Bid On Listing Created 12 years ago in Programming

Other jobs by kushalahuja85

Order Now
Process Time: 0.062065839767456

Possible Duplicate queries found!
MatchCountSQLScript
SELECT * FROM members_ledger WHERE ip = ? AND added>=unix_timestamp(NOW())-864001SELECT querystring, added FROM members_ledger WHERE ip = ? AND added>=unix_timestamp(NOW())-86400

/opt/clerks-staging/docroot/include/functions/includes/security.php 398 fetchMemberLedger() include_once()

SELECT * FROM wanttobuy A, categories_wanttobuy B, seoclerks.members C WHERE A.wantid='9541' AND A.category=B.CATID AND A.USERID=C.USERID1SELECT A.*, B.name, B.seo, C.username, C.userlevel, C.footer_code, C.rating, C.ratingcount, C.googleplus_profile, C.total_recommendations, C.USERID, C.profilepicture, C.average_response_time, C.lastlogin, C.addtime FROM wanttobuy A, categories_wanttobuy B, seoclerks.members C WHERE A.wantid='9541' AND A.category=B.CATID AND A.USERID=C.USERID

/opt/clerks-staging/docroot/viewwant.php 163 () ()

SELECT * FROM ratings_buyer WHERE USERID=1087031SELECT sum(good) as thumbup, sum(bad) as thumbdown FROM ratings_buyer WHERE USERID=108703

/opt/clerks-staging/docroot/include/functions/main.php 19523 GetRatingsAsBuyerTotal() ()

SELECT * FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 9541 AND A.category=B.CATID AND A.active=1 AND (A.tags like '%Php%' ) LIMIT 41SELECT A.wantid, A.title, A.p1, A.maxprice, B.name, B.seo FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 9541 AND A.category=B.CATID AND A.active=1 AND (A.tags like '%Php%' ) LIMIT 4

/opt/clerks-staging/docroot/viewwant.php 551 () ()

SELECT * FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 9541 AND A.category=B.CATID AND A.active=1 AND A.USERID=108703 LIMIT 41SELECT A.wantid, A.title, A.p1, A.maxprice, B.name, B.seo FROM wanttobuy A, categories_wanttobuy B WHERE A.wantid != 9541 AND A.category=B.CATID AND A.active=1 AND A.USERID=108703 LIMIT 4

/opt/clerks-staging/docroot/viewwant.php 568 () ()

SELECT * FROM wantcomments a, seoclerks.members b WHERE a.PID='9541' AND a.USERID=b.USERID and b.status='1' AND a.status=1 order by a.CID asc1SELECT a.comment, a.USERID, a.CID, a.time_added, a.istranslated, a.parentid, b.username, b.profilepicture FROM wantcomments a, seoclerks.members b WHERE a.PID='9541' AND a.USERID=b.USERID and b.status='1' AND a.status=1 order by a.CID asc

/opt/clerks-staging/docroot/viewwant.php 835 () ()

UPDATE wanttobuy SET viewcount = viewcount + 1 WHERE wantid='9541'1UPDATE wanttobuy SET viewcount = viewcount + 1 WHERE wantid='9541'

/opt/clerks-staging/docroot/include/functions/main.php 1729 update_wantviewcount() ()

SELECT * FROM wantbids as w, seoclerks.members AS m WHERE w.active=1 AND m.USERID=w.USERID AND m.status=1 AND w.USERID>0 AND w.wantid='9541' ORDER BY w.bidid ASC 1SELECT w.bidid, w.PID, w.comment, w.title, w.pricepublic, w.USERID, w.adjustedprice, w.ip, m.profilepicture FROM wantbids as w, seoclerks.members AS m WHERE w.active=1 AND m.USERID=w.USERID AND m.status=1 AND w.USERID>0 AND w.wantid='9541' ORDER BY w.bidid ASC

/opt/clerks-staging/docroot/viewwant.php 1192 () ()

SELECT * FROM seoclerks.members as m WHERE m.USERID=256651SELECT m.username, m.skills, m.userlevel, m.ip, m.total_recommendations FROM seoclerks.members as m WHERE m.USERID=25665

/opt/clerks-staging/docroot/viewwant.php 1258 () ()

SELECT * FROM categories_wanttobuy1SELECT * FROM categories_wanttobuy

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() parseRedundantQueriesCache()

SELECT * FROM posts WHERE USERID=1087031SELECT sum(positive_ratings) as thumbup, sum(negative_ratings) as thumbdown FROM posts WHERE USERID=108703

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() GetBuyerRatingsTotal()

SELECT * FROM categories1SELECT * FROM categories

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() parseRedundantQueriesCache()

select * from categories_software order by name asc1select * from categories_software order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_GetSoftwareCategories()

select * from categories_wanttobuy order by name asc1select * from categories_wanttobuy order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_wantcategories()

select * from categories_wanttotrade order by name asc1select * from categories_wanttotrade order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_tradecategories()

SELECT * FROM seoclerks.members WHERE USERID='25665'1SELECT profilepicture FROM seoclerks.members WHERE USERID='25665'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='108703'1SELECT profile_data FROM seoclerks.members WHERE USERID='108703'

/opt/clerks-staging/docroot/include/functions/main.php 1927 getUserBackground() include()

Invalid SQL

count(*)sql1error_msg

Expensive SQL

Tuning the following SQL could reduce the server load substantially
LoadCountSQLMaxMin

Suspicious SQL

The following SQL have high average execution times
Avg TimeCountSQLMaxMin