ASA2 Functions
  • Package
  • Function

Packages

  • API
  • Helper
  • i18n
  • Options
  • OptionsShortcuts
  • Renderer
  • Repo

Functions

  • asa2_item_batch_lookup
  • asa2_item_lookup
  • asa2_item_lookup_api
  • asa2_item_search

Function asa2_item_lookup

Retrieves an ASA2 item object that contains the values of an Amazon product. This function takes the ASA2 Repo into consideration. If the requested item is already in the Repo, it will be loaded from there instead of the Amazon API.

Example:

$item = asa2_item_lookup('B01M2AYHBV', array('country_code' => 'UK'));

if (asa2_is_item_object($item)) {
echo '<h3>' . $item->getTitle() . '</h3>';
}
Package: API
Since: 1.8.0
Located at functions_service.php

Parameters summary

string $asin Amazon ASIN.
array $options Optional.

Return value summary

Asa2_Service_Amazon_Item_Wrapper_Abstract|null Asa2_Service_Amazon_Item_Wrapper_Abstract|null
ASA2 Functions API documentation generated by ApiGen