Override Pricing
Copyright © 2004, William Weiland
Overview
Charge your customers by the variable price of the item they are ordering.
Initial Setup
1) In admin, click Add Modules
2) Click the file upload button
3) Browse to find the override.mvc file on your hard drive and upload
4) Click Add to add it to the domain
5) Click the image to the left of your store name
6) Click on the System Extension Configuration link
7) Check the box to the left of Override Pricing and select Update
8) Click the Override Pricing tab to enter the configuration setting.
9) Click on Add Modules again
10) Click the file upload button
11) Browse to find the cim_log.mv file on your hard drive and upload
12) Click Add to add it to the domain
13) Click the image to the left of your store name
14) Click on the Logging Configuration link
15) Check the box to the left of CIM Activity Log and select Update

Usage
Include an attribute in any product you want this action to apply. The attribute CODE must begin with OP- You can follow that with anything, e.g. OP-Offer. This will add an input on the product page that can be used to retrieve the offer/bid price. An alternative way to link to the page and insert it automatically in the basket would be in the format of:
http://www.emporiumplus.com/merchant2/merchant.mvc?Screen=BASK&Action=ADPR&Store_Code=wcw&Product_Code=1AA00215&AttributeCode1=OP-Offer&AttributeValue1=33.00&AttributeCode2=Version&AttributeValue2=4.5&AttributeCode3=Domain&AttributeValue3=www.yourstore.com&AttributeCount=3&Quantity=1&Attributes=&Order=

If you have .htaccess re-write capability you could shorten the url considerably.
RewriteCond %{REQUEST_URI} ^/override/(.*)/(.*)/(.*)/(.*)/(.*) [NC] RewriteRule (.*) /merchant2/merchant.mvc?Screen=BASK&Store_Code=%1&Action=ADPR&Product_Code=%2&AttributeCode1=OP-Offer&AttributeValue1=%3&AttributeCode2=Version&AttributeValue2=%4&AttributeCode3=Domain&AttributeValue3=%5&AttributeCount=3&Quantity=1&Attributes=&Order= [R,L]
With .htaccess re-write the above URL would be:
http://www.emporiumplus.com/override/wcw/1AA00215/33.00/4.5/www.yourdomain.com

In this example I am supplying 5 parameters; store code, product code, offer/bid price, version, and domain. You could use a button to insert the item into the basket, for example:

Pay Now




If you were using Override Pricing for an auction item you would only need the store code, product code, bid price, and optionally, the item ID. You could use the long url but better would be to use the .htaccess re-write to shorten the URL. You can automate (with Autotext) the notification of the winning bidder and use the .htaccess re-write to provide your winners an easy way to add the item to their basket. eBay has an winning bidder notification (Autotext) template in the Seller Manager that you can modify to contain a shortened URL. Within the Autotext template you can include a link like:
http://www.emporiumplus.com/highbid/wcw/SAMPLE/{CLOSING$}/{ITEM#}
In this url, you can see: domain URL, directory to match the one you are using in the .htaccess to identify the re-write condition, your store code, the actual product code in your store, the winning bid, and the eBay item ID. A button example could look like:

Pay Now


For more info on Autotext, you can go to http://pages.ebay.com/help/sell/autotext.html
If you have .htaccess re-write capability you could accept a short
autotext generated link. Example re-write code in the .htaccess file.
RewriteCond %{REQUEST_URI} ^/highbid/(.*)/(.*)/(.*)/(.*) [NC]
RewriteRule (.*) /merchant2/merchant.mvc?Screen=BASK&Store_Code=%1&Action=ADPR&Product_Code=%2&AttributeCode1=OP-HighBid&AttributeValue1=%3&AttributeCode2=AuctionID&AttributeValue2=%4&AttributeCount=2&Quantity=1&Attributes=&Order= [R,L]