Developer forum

Forum » Swift » Price field is loading continuously at Product Compact View

Price field is loading continuously at Product Compact View

Nang Ei Ei Aung
Reply

Dear All , 

In product list page I had added product list:compact view , after added , I faced price field is loading continuously and can't click Add to cart button.

Please refer this video for more information : 

https://www.loom.com/share/fc3356791da04dfa9f7a023f98d851cb

Regards

Nang Ei Ei Aung


Replies

 
Nicolai Pedersen
Reply

I think it is because you have enabled lazy loading live prices in live integration. And are you sure your live integration is setup correctly?

When you view your page, what does the network and console tab reveals in your browser developer tools - any indication of errors?

Thanks, Nicolai

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nan Ei Ei Aung,

 

That has been fixed in Swift v1.11.0 https://github.com/dynamicweb/Swift/releases/tag/v1.11.0

 

Sorry for the inconvinience.

 

Nuno Aguiar

 
Nang Ei Ei Aung
Reply

Dear Nuno Aguiar,

Currently we are using with SWIFT version v1.10.0 and if we upgrade to v1.11.0 , may I know will it be impact to our existing configured setting or data in SWIFT version v1.10.0?

Regards

Nang Ei Ei Aung

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nang Ei EI Aung,

 

It really depends on a few things. But if all you need is to fix that, follow this change

  • Go to Templates/Designs/Swift/Paragraph/Swift_ProductListCompactView.cshtml
  • Search for isLazyLoadingForProductInfoEnabled = true;
  • Delete that entire line

https://github.com/dynamicweb/Swift/commit/0bd490c3e8224f4563de74438a0df8659124e4ed

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum