Search the Community
Showing results for tags 'ebay'.
-
I have an ebay script which I'm working on, but am not familiar with how to : call a couple of ebay arrays ($ship for shipping cost, and $cat1 for the product category), and a couple of other items ($condition to show if it is new,used etc, and $binauc to show if it is a buy it now or auction product) Any help would be appreciated. Here is the relevant part of the script: $country = isset($result['country'][0]) ? $result['country'][0] : ""; $condition = isset($result['condition'][0]) ? $result['condition'][0] : ""; $ship = sprintf("%01.2f", $result->shippingInfo->fshippingCost); $binauc = isset($result['listingInfo'][0]) ? $result['listingInfo'][0] : ""; $cat1 = sprintf($result->primaryCategory->categoryName); <div class="col-lg-3 thumbnail"><img class="img-responsive" src="'.$img.'"></div> <div class="col-lg-4 caption"><a target="_blank" href="'.$url.'"><h3>'.$title.'</h3></a></div> <div class="col-lg-2"><p class="lead">'.$price.'</p> <img style="width:30px;height:30px" src="images/flags/'.$country.'.png" /> '.$condition.' '.$ship.' '.$binauc.' '.$cat1.' </div> </div>'; Thanks