You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original has 8 products which can be compared.
If I add more products, then there is an incorrect pagination in the display (see attached screenshot).
(Tested in Google Chrome Version 91.0.4472.77 and Safari Version 14.1.1)
The problem is not noticeable when resized the browser window.
I have currently corrected the problem via main.js as follows:
jQuery(document).ready(function($){
// Fix #1: Prevent automatic pagination when displaying many products.
var myValues = {};
function productsTable( element ) {
this.element = element;
this.table = this.element.children('.cd-products-table');
...
// Fix #1:
myValues.updatedColumnsWidth = this.productWidth * this.productsNumber;
}
...
// Fix #1:
$(".cd-products-columns").css('width', myValues.updatedColumnsWidth + 'px')
});
Otherwise, it only remains for me to say that "products-comparison-table" is a great solution 👍. Many thanks for that!
Best regards cregx
The text was updated successfully, but these errors were encountered:
The original has 8 products which can be compared.
If I add more products, then there is an incorrect pagination in the display (see attached screenshot).
(Tested in Google Chrome Version 91.0.4472.77 and Safari Version 14.1.1)
The problem is not noticeable when resized the browser window.
I have currently corrected the problem via main.js as follows:
Otherwise, it only remains for me to say that "products-comparison-table" is a great solution 👍. Many thanks for that!
Best regards cregx
The text was updated successfully, but these errors were encountered: