Home | How it works | Projects archive | Contact Us
Air Compressor Bot
 
The Career Path of Freelance Programming Jobs 

   Simple Javascript Script

Bidding Time:
22/04/2005 19:54 - 29/04/2005 19:54
Budget:
N/A
Status:
Closed


Job Type:
Javascript
Description:



Basically, I need a script that reprices my items as the lowest price in similar
or better condition.
So if I have an item priced Very good at $2.99 and somebody else has an item
listed Like New at $2.79 then I should undercut them by 1 penny ($2.78)
This script runs within my Fillz.com inventory management account. I just need
javascript code. Please see below for a list of variables
**************************************************************

The following functions and variables are available in the FillZ pricing
scripts:
venue - the current venue from this list: Abebooks, Alibris, Amazon, AmazonCA,
AmazonDE, AmazonUK, Chrislands, Custom1, Custom2, Custom3, EBay, Gemm, Half,
TextbookX . Capitalization is important.
setPrice(price) - store the price you want to set for the venue using this
function.
item - the current item. This object has the following data elements:
item.basePrice - the base price.
item.sku - the SKU.
item.condition - the numeric item condition - see getPrices.
item.title - the title.
item.quantity - the quantity available in your inventory.
item.manufacturer - the publisher.
item.type - the type of item - book, DVD, etc.
item.cost - the cost entered by you.
item.location - the location.
item.lastModified - when the item was last modified.
item.isExpedited - whether you specified expedited shipping available.
item.isInternational - whether you specified int'l shipping available.
item.standing - the standing of the item.
item.asin - the ASIN of the item.
item.upc - the UPC of the item - can be undefined.
item.note - your item description.
getRank() - the sales rank of the current item. Can be undefined.
debug - this variable is true if the debug checkbox is checked.
alert(string) - prints a string on the results page.
getPrices(condition) get the market prices for a condition type. Condition can
be a number - use the following range: 11 - new, 1 - like new, 2 - very good, 3
- good, 4 - acceptable. The result can be an empty array, so check the length.


What functions and variables are available for the object returned by
getPrices(condition)?
This is a simple JavaScript array with the usual length property. Each element
of the array has the following properties: price, sellerrating, sellercountry,
sellername.

Start your work-at-home career for $7.00. Get direct access to thousands of freelance and home-based jobs. Click here to find work now.

Related Projects:
Drawing in Visio + Intelligent + Creative
Small Databse Job
Excel Sheet To .exe Applicatn
Classified Photo Ad Site
Buysellwebsite Clone

This project is the proprietary information of . Click here to remove this project from OUR database.
Operating System:
(I don't know)
Database System:
(None)
<<< back

Recent Projects Archive:

Thursday - Wednesday - Tuesday - Monday - Sunday - Saturday - Friday

View all freelance web projects

 
Home | Projects archive | RSS | Resources | Links | Contact Us © 2004-2008 ProjectsList.biz /5.786