Develop > Controller layer > Order and quote capture integration > Order and Quote Capture Integration in Elite starter store > Order and Quote Capture Integration changes in the Elite starter store > Catalog browsing flows


Product Details

In an Elite starter store enabled with Order and Quote Capture Integration, the Product Details page may additionally display a Get My Offer Price link.

For information on the Product Details page of the base Elite starter store, refer to Product Details.

The Get My Offer Price link is displayed based upon the offer price cache hit for the product. First, the offer price cache is checked for a record for the requested product. If the record exists, the offer price value from the cache is displayed, instead of the Get My Offer Price link. If the cache does not contain a value for offer price, the customer clicks the Get My Offer Price link to retrieve the offer price from the external system.

Product Details screen displaying the Get My Offer Price link

Product Details screen displaying the cached Offer Price

When a customer clicks the Get My Offer Price link, an AJAX request is made to the relevant jsp file. The jsp calls a price data bean. The data bean, in turn, makes a web service request to the external system. Using the data bean response, a JSON object is constructed in the jsp and sent back to the client. Next, the Get My Offer Price link is removed and the offer price is displayed in the client.

In case of an exception, an appropriate message is displayed to the customer.

Also, the root cause of the exception is logged in the SystemOut.log so that the administrator is aware of the issue.

Related reference

Product Compare

Product Details


+

Search Tips   |   Advanced Search