ePages 7.0.0 - DE_EPAGES/Ebay/API/TLE/EbayHandler.pm

Package DE_EPAGES::Ebay::API::TLE::EbayHandler

tle handler for ebay

Functions

AuctionsByShopEnvironmentID
PercentageByCurrentBid
TransactionsByOrderID

AuctionsByShopEnvironmentID

Returns the number auf auctions of this EbayShopEnvironment Note: the shop default auction does not count

Syntax
#AuctionsByShopEnvironmentID(#EbayShopEnvironmentID)
Example
#IF(#AuctionsByShopEnvironmentID(#EbayShopEnvironmentID))) {ShopEnvironmentContainsAuctions} #ENDIF
Return
$AuctionCount

PercentageByCurrentBid

Returns a diff (from -100% to +100%) Used to set a pixel on a percentage scale to identify how good the current bid is in relation to the regular product price.

Syntax
#PercentageByCurrentBid(#ListPrice, #CurrentBid)
Example
#SET("PIXEL", #FUNCTION("PercentageByCurrentBid", #ListPrice, #CurrentBid)
Return
#PercentageDiff (float)
difference in percent

TransactionsByOrderID

Returns the number auf Ebay Transactions found for this order.

Syntax
#TransactionsByOrderID(#OrderID)
Example
#IF(#TransactionsByOrderID(#OrderID))) {IsEbayOrder} #ENDIF
Return
#TransactionCount (int)
number of eBay transactions