Stamped-io / Magento-v2.x

2 stars 4 forks source link

Product validation should rely on the product ID rather than the SKU. #19

Open eneskirca opened 8 months ago

eneskirca commented 8 months ago

Hello

We utilize the Magento custom options with SKU feature. When a customer adds a custom option for a product, the ordered product SKU changes to a custom option SKU. For example, if a customer purchases DYC07 but adds engraving, the ordered product SKU will become DYC07-add_engraving. As a result, the extension encounters an error during the import process.

main.ERROR: Product with SKU 'DYC07-add_engraving' not found: The product that was requested doesn't exist. Verify the product and try again. [] []

So I suggest changing the $productData to product id instead of using sku, which is not changing anyway , but also we don't lose or getting duplicate reviews for old reviews in stamped.io when we change to productid , could you help us ?