Amazon Product Search

category($searchFor)->ResponseGroup('Large')->Keywords($keywords); $results = $amazon->search(); if ($results->totalResults() > 0) { echo '
'; echo '

Search Results

'; foreach ($results as $result) { echo "
"; echo "

$result->Title

"; if (isset($result->MediumImage)) { ?>

Average Rating: AverageRating; ?>
Total Reviews: TotalReviews; ?>
Price: FormattedPrice)) ? $result->FormattedPrice : "Not available"; ?>
More Details...

DetailPageURL}'>More Details..."; } echo "
"; } echo '
'; } } catch (Zend_Service_Exception $e) { echo '

An error occured, please try again later. (' .$e->getMessage(). ')

'; } } ?>

Powered by the Zend Framework