536074 JavaScript Customized Script 2

In Progress Posted Nov 18, 2011 Paid on delivery
In Progress Paid on delivery

I'm looking for a JavaScript pro to create a script for me that will modify the displayed search results for a very specific purpose. THE SCRIPT MUST NOT CONFLICT WITH THE EXISTING JS SCRIPTS IN THE PAGE.

Currently, when someone searches for a certain type of product (e.g. "ladies talking watches"), all items in that category are retrieved. It gives both the list price and the sales price for each item (if they are different), or only the list price (if the item is not on sale). Check it out here: [url removed, login to view] .

The price display is controlled by the following JS:

<script type="text/javascript">

var curListPrice = '<!---USERDEF9--->';

var curNowPrice = '<!---PRICE--->';

if( curListPrice == curNowPrice )

showNowPrice = 'none';

else

showNowPrice = 'block';

</script>

I want to keep the above functionality so please do not modify this script in any way. As I said earlier, I need a new script for a very specific purpose:

I need a script that will create a page with promotional or sales items only. This page has to be derived from this "search all" query: [url removed, login to view] This query retrieves ALL items in the shopping cart, both promotional and non-promotional.

I want the new script to only keep the promotional items and get rid of the non-promotional ones. In other words, if curNow Price < curListPrice --> show item (with both prices). If curNowPrice = curListPrice --> hide item.

Each item is represented by the following:

- thumbnail picture <---THUMB--->

- name of the product <---DESC--->

- short product description <---USERDEF8--->

- item code <---SKU--->

- list price <---DEF9--->

- sales price <---PRICE--->

- "More Info" button

- "Add to Cart" button

In addition to performing the above, the new script needs to rewrite the page title from "all" to "Promotional Items". This is just for "search all" and should not interfere with other types of search.

Attached: Search Result html template

PLEASE NOTICE: MY COMPANY DOES NOT ALLOW THIRD PARTY ACCESS TO OUR WEBSITE. YOU SHOULD BE ABLE TO CREATE THE SCRIPT ON YOUR OWN AND ONCE IT'S READY, SUBMIT IT TO US FOR INSTALLATION. THANK YOU.

Article Rewriting JavaScript Odd Jobs Perl PHP Shell Script Shopping Carts Templates Website Management

Project ID: #2282011

About the project

Remote project Active Jul 11, 2012