Notifications

13 views

Description

 

1) Loading over 1000+ catalog items takes longer than expected when using the below glide script to load them:

 

catalogItemJS.getItemSummary();



2) This is related to PRB1374491

Release or Environment

 

This has been seen in New York Patch 2

Cause

 

Starting in the New York release there was a logic change on the glide code logic below which by default it also re-calculates pricing which causes more overhead when loading a lot of catalog items:

 

catalogItemJS.getItemSummary();

Resolution

 

If your not displaying the price for the catalog items:

 

To increase the performance of loading the catalog items, you can exclude pricing calculation while fetching item summary. This can be done by changing the below code:

 

From:

catalogItemJS.getItemSummary();

 

To:

catalogItemJS.getItemSummary(true/* isPortal*/, "no_price"/*stops fetching price*/);

Article Information

Last Updated:2019-11-18 12:18:27
Published:2019-11-18