Skip to content

Releases: bigbridge-nl/product-import

Make missing links non-fatal

08 Oct 15:44
Compare
Choose a tag to compare

Special case: if product A links to product B (for instance upsell), A and B in the same batch, and product B could not be created, the importer threw an exception up until now. I thought this could only occur in case of importer error, but apparently it also occurs when the input data is wrong. Therefore adding an error to product A suffices. Product A is still imported, but without the reference to the non-existing product B.

Import images with delete; imports with unknown type

08 Oct 12:42
Compare
Choose a tag to compare
  1. By default, the importer does not delete images. Images are only added and updated.

If you want the importer to delete existing product images that are not present in the current import, use this

 $config->imageStrategy = ImportConfig::IMAGE_STRATEGY_SET;

This will set images as they are named in the import. However, the importer will still not remove all images if none are added to a product. This is a safety precaution.

  1. If the product type is unknown, you can ask the library for the Product, by giving the sku:

    $product = $importer->getExistingProductBySku($sku);

or the id

$product = $importer->getExistingProductById($id);    

The importer will return an object with the correct class, or false if no product with the id or sku could be found.

Same as 1.2.1

08 Oct 15:26
Compare
Choose a tag to compare
1.2.0

Extra check if image is not used by other product

Remove version from composer.json

26 Sep 14:58
Compare
Choose a tag to compare

composer.json should not have a version when the package uses tags

Fix for duplicate images

26 Sep 14:37
Compare
Choose a tag to compare

Images with _[d]. (where [d] is a series of decimals) in the filename were duplicated on updates.

Added the option to remove category path url-rewrites.

16 Sep 08:07
Compare
Choose a tag to compare

If a shop does not use category paths in its urls, url_rewrite generation can be simplified a lot. This saves time and reduces the size of the url_rewrite table.

Public release

10 Sep 15:11
Compare
Choose a tag to compare
1.0.0

doc: installation