Skip to Content
0
Former Member
Jun 28, 2017 at 06:38 AM

lazy loading on product listing, but no add to cart button appear

451 Views

Hi all. I am quite new to hybris and spring framework.

I currently doing search product listing with lazy loading and had done it successfully. However, the product that got lazy loaded does not have add to cart button appear with it.

As I go thru the code, I found that in productListerItem.tag there is the following code:

         <div id="actions-container-for-${component.uid}" class="row">
             <action:actions element="div" parentComponent="${component}"  />
         </div>

Where does this ${component} come from? I did not see it add into model attribute anywhere in SearchPageController.java

Could anyone please help guide me? or did I do anything wrong here?

Thank you.