ePages 6.17.17 - DE_EPAGES/Amazon/UI/JSON.pm

Package DE_EPAGES::Amazon::UI::JSON

Handler for AJAX request to reload a main product

Base
DE_EPAGES::Presentation::UI::JSON

Functions

JSONViewMainProduct

JSONViewMainProduct

The function receive a main product ASIN via POST and call the MWSProduct web service. With the response from Amazon it processes the main product html template. The Result will retuned as a String back to the Java script. If a Error appears the function will return a positiv Error flag.

Syntax
JSONViewMainProduct( $Servlet );
Input
$Servlet (object)
servlet object
Return
$ReturnValue (String)
a html template