Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 20:58
    kieckhafer synchronize #5772
  • 20:58

    kieckhafer on feat-kieckhafer-multiplePermissions

    fix addAccountToGroup tests Si… (compare)

  • 20:17
    willopez edited #5310
  • 20:16
    willopez opened #5858
  • 19:22
    willopez synchronize #5857
  • 19:22

    willopez on feat-integration-test-account-cart-by-account-id

    chore: remove unnecessary role … (compare)

  • 19:22
    willopez synchronize #5857
  • 19:22

    willopez on feat-integration-test-account-cart-by-account-id

    chore: remove unnecessary role … (compare)

  • 19:14
    willopez closed #4642
  • 19:14
    willopez commented #4642
  • 19:14

    willopez on release-3.0.0

    refactor:Update token name for … Merge branch 'release-3.0.0' of… refactor:Update token name for … and 7 more (compare)

  • 19:14
    willopez closed #5820
  • 19:12
    willopez commented #5820
  • 19:11
    willopez review_requested #5820
  • 19:00
    mikemurray edited #5310
  • 18:58
    mikemurray edited #5310
  • 18:58
    mikemurray edited #5310
  • 18:53
    mikemurray ready_for_review #5856
  • 18:53
    mikemurray edited #5856
  • 18:53
    mikemurray review_requested #5856
Arda Kara
@karaarda
I made everything work find, however I constantly get the following log on firefox even though everything seems to work fine:
Firefox can’t establish a connection to the server at wss://api.kataloop.com/graphql-beta.
Loan Laux
@loan-laux
@karaarda Been seeing this error all over the place since the beginning of 2.x. I never investigated, but I can tell you it’s normal.
Arda Kara
@karaarda
@loan-laux do you have any estimations when the version 3.0.0 will be ready and will there be a proper migration guide?
Loan Laux
@loan-laux
@karaarda No idea about that, sorry. You’d have to ask the core team: @spencern, @aldeed, @kieckhafer etc.
HarisSpahijaPon
@HarisSpahijaPon
@loan-laux will you guys do another release stream like you guys did with 2.0?
Loan Laux
@loan-laux
I’m not a core team member, @HarisSpahijaPon, so I don’t know. But I hope they will!
There’s already a 3.0 branch on the repo, by the way.
HarisSpahijaPon
@HarisSpahijaPon
Ah yes I knew the branch
Its just very unclear when release will happen and how to merge etc
Especially since people that use the tool are all across the globe and the core team is rarely responding here or during US times
Then again, I do understand that they are very busy
Loan Laux
@loan-laux
Once again, just tag them or DM them. But they haven’t announced an official timeframe yet so I’d be surprised if you got an ETA. My guesstimate would be 1-3 months.
HarisSpahijaPon
@HarisSpahijaPon
Thanks @loan-laux ! Will do!
Loan Laux
@loan-laux
3 months would be a long wait IMO. Probably closer to 1-2. But again, that’s just my opinion looking at the project board. https://github.com/orgs/reactioncommerce/projects/4
Cristian Camilo Cucunubá
@CristianCucunuba
Hi guys, i disabled all languages and only have english active. But all the store keeps showing in spanish, do you know what could it be?
Alvaro Bueno
@delagroove
Hi Reaction team, does anyone have some experience extending the example storefront to render a react-native application? I would like to understand how much effort it will entail. Thanks!
maybe a react-storefront-native repo around?
HarisSpahijaPon
@HarisSpahijaPon
Couldnt you just work on the power of NextJS PWA?
I don't see what the benefit would be for a react native application here
RoytenBerge
@RoytenBerge
I am considering upgrading the material-ui package in the example storefront to v4.7.1. This seems however to destroy the entire storefront design. Has somebody else made this transition and is it adviced or would it be better to start from scratch?
RoytenBerge
@RoytenBerge
image.png
this is the chrome console after updating:
Seems to be mostly date-fns errors
HarisSpahijaPon
@HarisSpahijaPon
I already opened an issue for this, feel free to create a PR if you find a fix
Mathias Falci de Castro
@mathiasfc
hi guys, could anyone give me a suggestion on how to start implementing search in my ecommerce? does anyone have a sample code? Is there a plugin for this? (I saw that the default plugins were removed because of performance issues)
Loan Laux
@loan-laux
@mathiasfc You’d create a plugin, register a new GraphQL query for search, and in its resolver, perform a MongoDB query using a $text index on the fields you need, then return the paginated results. On the storefront, you’ll have to create an HOC for this query, as well as a search page (probably based on the existing tag page, but could be a custom one as well).
Mathias Falci de Castro
@mathiasfc
Thanks @loan-laux
Agusti Fernandez
@agustif
You could also integrate some SaaS like algolia.io
Loan Laux
@loan-laux
Good point @agustif. And Reaction Commerce also has an Elastic Search implementation for enterprise clients. Worth considering if you’re expecting a lot of traffic or a very big catalog, @mathiasfc.
Agusti Fernandez
@agustif
Yep although elastic search is pretty heavy on hardware consumption. Makes sense for enterprise customers who want on premise everything I guess
DiegoAAG
@DiegoAAG
Hello Guys!
I'm trying to find a way to get fulfillmentGroup._id on my plugin.
I can't find where it's saved using mongo compass, i need to call the method updateOrderFulfillmentGroup and pass the orderFulfillmentGroupId, but i don't know how i can get this collection, (through context maybe? whats the name?)
Where can i get fulfillmentGroup on Node? Where's it saved?
RoytenBerge
@RoytenBerge
@HarisSpahijaPon Ahh good to hear I am not the only one! I am not capable of making a PR like that, but I hope it will be fixed soon
Jaka Maver
@jm18457
Hello, how are transform functions called? When are they called? Are they automatically called? Example taxes transform
I cant find any documentation.
Jaka Maver
@jm18457
image.png

Hello, how are transform functions called? When are they called? Are they automatically called? Example taxes transform
I cant find any documentation.

Ok, I found out they are being called by transformAndValidateCart function. Is this transformation only on the level of graphql? Is there no modification of database.
I am trying to integrate discount codes to 2.9 but now I see this. cart.discount is set in this transform functions, but database is not updated.

This is somewhat urgent so if anyone can please say anyhing it would be helpful.
So previously (reaction 2.1) we had afterCartUpdate appEvent which had an on handler in discounts. This updated cart in db with discount field.
Current implementantion moved away from afterCartUpdate and started using cartTransforms. This cartTransforms only modifiy cart object, but not update cart in DB.
Is it safe to modify cart in setDiscountOnCart.js

Jaka Maver
@jm18457
Ok, I have update regarding above issue.
As I understand discount is no longer set on cart.
Transformation mutatescart object with correct cart.discount value.
We should then return this value with graphql and not use findOne to get new cart object.
Then in order creation it is discount is correctly calculated. If I add create order with cart that has discount that is not equal 0 order fields due to price difference.
Jaka Maver
@jm18457
Ok, final update.
We have to call function context.mutations.saveCart to update cart discount.
Problem with this is that placeOrder is also calculating this.
If we have cart.discount set then placeOrder will fail, because it will think we set incorrect price value.
JorgeRenAscend
@JorgeRenAscend
Hi Everyone!
@loan-laux , i am considering implementing Reaction Commerce in our company and so far it looks really good. I Have some questions that i hope you can help me with.
I see that V3 is coming in the next month, so i am wondering if i start implementing V2 and developing plugins to extend its features, how compatible will V2 will be with V3?
What are some of the major changes and maybe features that you will drop in V3?
I see that Meteor is going to be removed, so i guess that if i stick to only develop on top of your GraphQL API i will be safe, is this correct?
Rajan Tiwari
@trojanh
@JorgeRenAscend yeah it will be compatible just that the way you authenticate and fetch schema might vary slightly,
Also the folder structure changed, you could refer this
JorgeRenAscend
@JorgeRenAscend
Tkx for the quick response
Should i start using v2.9 or do you think that going directly to v3 is ok? we will start a POC in this next 2 weeks and then do a full implementation in January
JorgeRenAscend
@JorgeRenAscend
My use case will be a multi-vendor store and we are planing on deveoping the features needed to enable it.
We already have an store, but our product and catalog is giving us a lot of problems, so my plan is to do an incremental migrating to Reaction. Maybe start by using only the product component from Reaction as a headless platform
Rajan Tiwari
@trojanh
v3 is not usable right now because it needs operator UI and auth repos for all the operator functionalities, so if v3 isn't released officially by that time it would be best to stay with v2.9,
from some v3 APIs, I observed shopId was required to access almost all data now, which means multi-store support will become more prominent in the new release
MeghaMathur23
@MeghaMathur23

@marvinkome

I've fixed it though. The issue was that after changing the db port, it didn't reflect in rs.conf(). So i had to update it

can you elaborate it little bit i am facing this same issue

mangani-design
@mangani-design
Hi guys, newbie question here. Is reaction commerce open source?
Cindy
@cindyfirestone
@mangani-design Reaction's source code is open, licensed under the GPL, and available for anyone to use.