Replies: 2 comments 3 replies
-
What happens if you create 2 new sellers then create new products from the seller's accounts? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yep probably. I’m going to assume all products are associated with a seller
for now and not worry about it. I had a quick read of the issue you posted.
I’ll try and recreate and have a dig around too. It probably won’t be until
the end of the week though.
…On Tue, 9 May 2023 at 21:56, BrainFried ***@***.***> wrote:
But in the multivendor case, sellerChannelID needs a non-default channel
to belong to. Otherwise, you'll need to write a new strategy to process the
orders, is that right?
I'm mainly curious to see that once you get past this issue, my guess is
that you'll run into the same issue I have (here)[https://github.com/
/discussions/2167
<#2167>]. But I
could be wrong
—
Reply to this email directly, view it on GitHub
<#2166 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA63Z4HIYTF7K4MFZWKHW3XFKVQNANCNFSM6AAAAAAXYF45GU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm slowly getting there I think. I have been updating the remix storefront to get it working with v2. I made some changes to the
providers/orders/order.ts
to update the gql, as suggested here. Plus I changed setOrderShippingMethod to:I also had to update the gql in `providers/customer/customer.ts' to work with the new fulfillmentLines schema:
and I changed
routes/api/active-order.tsx
line 94(ish) to:I then updated
codegen.yml
to point to my local instance of vendure and then ranand all worked well. However, when I then select two items to buy in remix, the multivendor plugin fails. It looks like it's because the (non-bobs-parts) item that I am trying to purchase doesn't has a null seller channelId, so the function
assignShippingLineToOrderLines
inmv-shipping-line-assignment-strategy.ts
fails at the line:since line.sellerChannelId is null for the non-bobs-parts item.
I'm assuming that this is failing because the default products in vendure aren't assigned to a seller?
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions