If your code relies on SKU values being present, one option would be to set the SKU to the value of the dupe_hash field, so that it isn't empty. To do this, in your includes/admin.php look for the following code around line 356:
$dupe_hash = md5($dupe_key);
...and REPLACE with:
$dupe_hash = md5($dupe_key);
if (!$importRecord["sku"]) $importRecord["sku"] = $dupe_hash;
Regarding product count; the admin interface Total Products count is literally the total number of records in the pt_products table. Whereas on the front-end, because search queries are GROUPed by name, it will normally be less as compared products are counted as 1.
Hello Henk,
If your code relies on SKU values being present, one option would be to set the SKU to the value of the dupe_hash field, so that it isn't empty. To do this, in your includes/admin.php look for the following code around line 356:
$dupe_hash = md5($dupe_key);
...and REPLACE with:
$dupe_hash = md5($dupe_key);
if (!$importRecord["sku"]) $importRecord["sku"] = $dupe_hash;
Regarding product count; the admin interface Total Products count is literally the total number of records in the pt_products table. Whereas on the front-end, because search queries are GROUPed by name, it will normally be less as compared products are counted as 1.
Cheers,
David.
--
PriceTapestry.com