Giter Site home page Giter Site logo

Comments (7)

m2-assistant avatar m2-assistant commented on May 31, 2024

Hi @nrkapoor. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


from catalog-storefront.

bricht avatar bricht commented on May 31, 2024

Might be unrelated but my variants data was not syncing to elastic storage. (other data was)
After I downgraded from elasticsearch 7.7.1 to 6.7.1 (also wiped elasticsearch container and volume) it worked again.

from catalog-storefront.

yaroslavGoncharuk avatar yaroslavGoncharuk commented on May 31, 2024

@mslabko cannot reproduce on 2.3-develop and elastic versions 7.7.1/7.1.0

  ["variants"]=>
  array(2) {
    [0]=>
    array(3) {
      ["sku"]=>
      string(8) "Conf-red"
      ["minimumPrice"]=>
      array(2) {
        ["regularPrice"]=>
        float(10)
        ["finalPrice"]=>
        float(10)
      }
      ["selections"]=>
      array(1) {
        [0]=>
        array(2) {
          ["name"]=>
          string(5) "Color"
          ["value"]=>
          string(3) "red"
        }
      }
    }
    [1]=>
    array(3) {
      ["sku"]=>
      string(10) "Conf-green"
      ["minimumPrice"]=>
      array(2) {
        ["regularPrice"]=>
        float(20)
        ["finalPrice"]=>
        float(20)
      }
      ["selections"]=>
      array(1) {
        [0]=>
        array(2) {
          ["name"]=>
          string(5) "Color"
          ["value"]=>
          string(5) "green"
        }
      }
    }
  }

from catalog-storefront.

yaroslavGoncharuk avatar yaroslavGoncharuk commented on May 31, 2024

@mslabko @nrkapoor I was able to reproduce the issue with enabled MSI
If the last inventory source for a configurable product option (simple product) is set to 0, null will be returned for "variants"
Steps:

  1. Create a configurable product with several options (simple products)
  2. Configure several Inventory Sources
  3. Assign created sources for each configurable option (simple product)
  4. Set 0 quantity for the last Source in each configurable product option (simple product), see screenshot
    Note. If 0 is set for any source except the last one everything is OK.
  5. Reindex
  6. Null is returned for "variants"

from catalog-storefront.

RuslanKostiv1 avatar RuslanKostiv1 commented on May 31, 2024

@mslabko @bricht @akaplya can you link this issue to PR that is ready for review?

from catalog-storefront.

mslabko avatar mslabko commented on May 31, 2024

Moved to Blocked until response from Customer
CC: @nrkapoor

from catalog-storefront.

nrkapoor avatar nrkapoor commented on May 31, 2024

@akaplya can we close this issue?

from catalog-storefront.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.