vuestorefront / magento2-vsbridge-indexer

This is official Vue Storefront, native, Magento2 indexer
https://vuestorefront.io
MIT License
69 stars 89 forks source link

Bug: Wrong data of product's custom options #379

Open tajveez-73 opened 3 years ago

tajveez-73 commented 3 years ago

Hi,

I have come across a bug in Vsbridge v2.0.1 in the file:

divante/magento2-vsbridge-indexer/src/module-vsbridge-indexer-catalog/ArrayConverter/Product/CustomOptionConverter.php

here option_id is being mapped to sort_order

line #: 95, 96

$option['option_id'] = (int) $option['sort_order']; $option['option_type_id'] = (int) $option['sort_order'];

this causes problems when you add products with custom options in the cart.

kkdg commented 3 years ago

This error is still not fixed..

mileandra commented 3 years ago

There is a fix in #372

netzkollektiv commented 3 years ago

But the fix is not included in any release ... how about creating a v2.0.2?