diff --git a/admin/class-informatiq-sp-admin.php b/admin/class-informatiq-sp-admin.php index 80ed6908..2640bcf5 100644 --- a/admin/class-informatiq-sp-admin.php +++ b/admin/class-informatiq-sp-admin.php @@ -620,6 +620,7 @@ class Informatiq_SP_Admin { + diff --git a/assets/js/admin.js b/assets/js/admin.js index a71e2001..64b7ce59 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -300,7 +300,7 @@ // Render table rows var html = ''; if (pageProducts.length === 0) { - html = 'No products found.'; + html = 'No products found.'; } else { pageProducts.forEach(function(product) { var localPrice = product.local_price ? data.currency + parseFloat(product.local_price).toFixed(2) : '-'; @@ -348,7 +348,8 @@ html += ''; html += '' + checkbox + ''; - html += '' + self.truncate(product.name, 40) + ''; + html += '' + product.sku + ''; + html += '' + self.truncate(product.name, 35) + ''; html += '' + localPrice + priceLabel + ''; html += '' + suggestedPrice + ''; html += '' + percentDiffHtml + '';