cancel
Showing results for 
Search instead for 
Did you mean: 

Classifying Category takes 10 minutes to load in HMC

Former Member
0 Kudos

Hello there!

We have a Classifying Category which includes 253310 products and it takes 10 minutes to load.

If it would only be the "Category Structure" Tab which needs 10 minutes, then I would say this is OK, but it already needs 10 minutes for the first tab - or any other tab where the products are not even displayed.

Can you help me there? What could be the reason and how can I fix it?

Thank you for your time in advance,

Nic

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you for your answer.

I have taken your advice and replaced the products attribute by this button, but this does not change anything.

As I said, it loads 10 minutes, even on tabs which do not display any products. Classifying Categories which do not have so many products load at normal speed.

It must prefetch them on every load. But prefetch is on servicelayer.prefetch=default so i guess its off.

We are on hybris 5.5, but we had the problem on 5.1 already.

Maybe someone has another idea?

hiddebroerse
Participant
0 Kudos

We use something like this to hide the products on the category page in HMC. The original products attrbute is removed and we added a button to query all products for the category.

     <type name="Category" mode="append">
         <organizer>
             <editor>
                 <exclude>
                     <exclusion attribute="products" />
                 </exclude>
 
                 <tab name="tab.structure" mode="append">
                     <section name="section.subcategoriesandproducts" mode="append">
                         <table>
                             <tr>
                                 <td width="16" />
                                 <td width="200">
                                     <shortcut name="findproductsforcategory" type="Product"
                                         usage="finder" autoperform="true">
                                         <preset targetattribute="code" />
                                     </shortcut>
                                 </td>
                             </tr>
                         </table>
                     </section>
                 </tab>
             </editor>
         </organizer>
     </type>