|
#IF(#ListingType EQ "Chinese" OR #ListingType EQ "Dutch")
#IF(#Status == 0)
#ELSIF(#Status == 1)
#ELSIF(#Status == 2)
#ELSIF(#Status == 4 OR #Status == 32)
#IF(#BidCount)
#ELSE
#ENDIF
#ELSIF(#Status == 8)
#ENDIF
#ELSIF(#ListingType EQ "FixedPriceItem")
#IF(#Status == 0)
#ELSIF(#Status == 1)
#ELSIF(#Status == 2)
#ELSIF(#Status == 4 OR #Status == 32)
#IF(#BidCount)
#ELSE
#ENDIF
#ELSIF(#Status == 8)
#ENDIF
#ENDIF
#IF(#Status == 0 OR #Status == 1 OR #Status == 8)
#IF((#COUNT(#EbayShopEnvironments) OR #COUNT(#Shop.EbayShopEnvironments)) AND NOT #INPUT.PopUp)
#Name[slice:25,html]
#ELSE
#Name[slice:25,html]
#ENDIF
#ELSIF(#Status == 2 OR #Status == 4 OR #Status == 32)
#IF((#COUNT(#EbayShopEnvironments) OR #COUNT(#Shop.EbayShopEnvironments)) AND NOT #INPUT.PopUp)
#Name[slice:25,html]
#ELSE
#Name[slice:25,html]
#ENDIF
#ENDIF
#IF(NOT (#Quantity == 1))(#Quantity)#ENDIF
#IF(#DEFINED(#Product))
#WITH(#Product)
#INCLUDE("INC-ProductIcon")
#ENDWITH
#ENDIF
#IF(#Status == 4 OR #Status == 32 OR #BidCount > 0)
#LOCAL("ShowEbayIncomplete", 0)
#LOOP(#EbayTransactions)
#IF(NOT(#IsEbayComplete) AND NOT(#IsPurchased))#SET("ShowEbayIncomplete", 1) #ENDIF
#ENDLOOP
#IF(#ShowEbayIncomplete)
{IncompleteOrders}
#ENDIF
#ENDLOCAL
#ENDIF
#IF(#DEFINED(#Product))#WITH(#Product)#IF(#StockAlert EQ "OUT_STOCK")
{NotAvailable}
#ENDIF#ENDWITH#ENDIF
|
#IF(#ExternalAuctionId AND #ExternalAuctionId NE " ")
#ExternalAuctionId
#ELSE
#EbayShopEnvironment.Name[slice:15,html]
#ENDIF
|
#IF(#Status > 1)#StartTime[datetime]#ELSE#StartTime[datetime]#ENDIF |
#IF(#Status > 1)#EndTime[datetime]#ENDIF |
#IF(#Status == 2 OR #Status == 4)
#LOOP(#Shop.Currencies)
#LOCAL("ShopCurrencyID", #CurrencyID)
#IF(#EbayShopEnvironment.EbayEnvironment.CurrencyID EQ #ShopCurrencyID)
#IF(#DEFINED(#Product))
#LOCAL("ListPrice",#FUNCTION("LISTPRICE", #Product.Object, #CurrencyID, #Shop.TaxModel))
#IF(#ListingType EQ "FixedPriceItem")
#StartPrice[money] (#BidCount[integer] {of} #Quantity)
#SET("PIXEL", (#BidCount/#Quantity)*100 - 2)
#ELSE
#CurrentBid[money] (#BidCount[integer])
#SET("PIXEL", #FUNCTION("PercentageByCurrentBid", #ListPrice, #CurrentBid) * 47 + 48)
#ENDIF
#ENDLOCAL
#ENDIF
#ENDIF
#ENDLOCAL
#ENDLOOP
#ENDIF
|