BitBagCommerce / SyliusVueStorefrontPlugin

Sylius plugin integrating Sylius with Vue Storefront
45 stars 24 forks source link

Problem with creating variant product #85

Closed dperkosan closed 1 year ago

dperkosan commented 4 years ago

On creating variant product and clicking "save", there is an error on saving that product in ES. That's because in the moment of saving product to ES, variant products are not yet created.

Codeweld commented 4 years ago

Could you provide more information about this error?

dperkosan commented 4 years ago

Sure,

  1. Go to demo admin panel to create new project: https://syliusvsf.bitbag.shop/admin/products/new
  2. Create configurable product: New product   Sylius
  3. Click on save, and you will get:

// 20200320094149 // https://syliusvsf.bitbag.shop/admin/products/new

{ "result": "Call to a member function getPath() on bool", "code": 500 }

Codeweld commented 4 years ago

Thank you, there is a problem indeed. We will fix it whenever it will be possible from our end.

Remember though that we always welcome PRs which will help us to develop this integration faster.

silcki commented 3 years ago

@Codeweld hello I created the pull request where I fixed this bug Could you please review it, please? Because it's a very big issue when a client can't create a new product :)

PiotrSzymanski2000 commented 1 year ago

The current solution is deprecated as it was created for Vue Storefront v1. For Vue Storefront 2 integration check out our GraphQL-based integration - https://github.com/BitBagCommerce/SyliusVueStorefront2Plugin