Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:24
    Akarshit synchronize #6326
  • 05:24

    Akarshit on feat-akarshit-account-js-for-auth

    chore: cirlci tests had mongo i… (compare)

  • May 07 10:54
    loan-laux commented #6327
  • May 07 03:15
    epubreader opened #6327
  • May 06 23:52
    Akarshit commented #6326
  • May 06 19:45
    Akarshit synchronize #6326
  • May 06 19:45

    Akarshit on feat-akarshit-account-js-for-auth

    feat: using account-js for auth… (compare)

  • May 06 18:10
    Akarshit commented #6308
  • May 06 17:23
    pradel commented #6308
  • May 06 16:06
    Akarshit review_requested #6326
  • May 06 16:06
    Akarshit opened #6326
  • May 06 16:03

    Akarshit on feat-akarshit-account-js-for-auth

    feat: using account-js for auth… (compare)

  • May 05 13:32
    loan-laux commented #5184
  • May 01 22:28
    imroon1 commented #5184
  • May 01 22:27
    imroon1 commented #5184
  • May 01 22:26
    imroon1 commented #5184
  • Apr 26 19:16
    mohanasundaramjemini closed #6325
  • Apr 26 13:23
    loan-laux commented #6325
  • Apr 23 16:21
    mohanasundaramjemini opened #6325
  • Apr 23 16:19
    ShineAINest closed #6324
Loan Laux
@loan-laux
@vashigor I don’t think it’s related to Reaction at all. The image we use is the official MongoDB Docker image. I would look at your volumes potentially getting deleted without your knowledge. Maybe some kind of storage space optimization feature on your setup?
Igor Tkachenko
@vashigor
@loan-laux , ok, thank you! I'll figure it out then. I just thought it something undocumented that is related to dev env.
Loan Laux
@loan-laux
@vashigor Let us know if you find out!
Igor Tkachenko
@vashigor
👍
Mohanasundaram Jemini
@mohanasundaramjemini
Hi team, Mohan here. I have a requirement to disable the shipping. Is there any option to disable it without touching the code? I need to show only Address, Payment method and Review & Place an order section. So could you please help me on this? thank you.
Loan Laux
@loan-laux
@mohanasundaramjemini Pretty sure that, out of the box, the API will require a shipping method to be provided to complete the checkout. As far as the example storefront (which I imagine you’re using), there’s nothing configurable at all there. You’ll likely need to touch the code for that.
B D
@bayareacoder
I'm trying to find information on the syntax of the policies.json file that is present as a key in the top-level index.js of the plugins. It is not documented here: https://github.com/reactioncommerce/api-core. Where can I find this and where is this policies info used?
Loan Laux
@loan-laux
@bayareacoder I used to be very confused by this as well, but I recently learned that these policies.json files aren’t used anywhere. If I remember correctly, they were introduced with the idea to later use them with ory/keto or keycloak (don’t remember exactly), but that never happened.
B D
@bayareacoder
@loan-laux ok good - thanks for the reply!
Nathan
@NateTsg
Hello, i am trying to customize the order plugin but is there a way to implement .populate found on mongoose on the models
Loan Laux
@loan-laux
@NateTsg Not sure I understand what you’re trying to do… Could you elaborate?
Nathan
@NateTsg
@loan-laux i have modified the code so that the order item includes the order id, I want a method like Order.find({}).populate('OrderItems') to return the order with order items
Loan Laux
@loan-laux
@NateTsg But that would require you to use Mongoose instead of the built-in mongodb package, right? That would be cumbersome to do. Why not use an aggregation with a $lookup instead?
Nathan
@NateTsg
i didnt know abt that i will look it up, thank you a lot @loan-laux
Loan Laux
@loan-laux
I’m pretty sure that’s what .populate does under the hood anyways. Aggregations are very powerful. Use MongoDB Compass, it’ll make your life easier to write and try your aggregation, @NateTsg.
Nathan
@NateTsg
i haven't used them before but they seem to do the job I need
Ahmed Bennani
@abennani15
hello everyone, are the old docs still hosted somewhere ? can't find everything on the the new mailchimp docs
Loan Laux
@loan-laux
@abennani15 you should be able to find them on the archived repo on GitHub
@ahsanazeem313 what do you container logs say?
ahsanazeem313
@ahsanazeem313
hey everyone. i have deployed reaction commernce on AWS ECS using https://university.outgrow.io/courses/802219/lectures/14600388, but i have an issue, after login into reaction-admin panel it again redirect to login-challenge.
Loan Laux
@loan-laux
@ahsanazeem313 This usually happens when you forget to set an environment variable, or when you set one to the wrong value. Do all of your OAUTH2_* env variables have a value set? Do they all look ok to you?
B D
@bayareacoder
Am I mistaken or is the new Mailchimp documentation a much reduced version of the old ReactionCommerce site? Why would the amount of documentation be reduced, instead of added and improved? Or is this just a temporary measure? In that case why is the full documentation taken offline and was not only the branding changed? Is there a link to the original RC docs, or a commitment it will stay online? Or could the staging site be deleted tomorrow? It doesn't give me much confidence if full documentation is only on a 'staging' website. Is anyone from the actual Mailchimp team on here or is this just a rogue society (in which case it does not give much confidence either...). Is this gitter channel referenced on the Mailchimp site (if not, another bad point)? If Mailchimp wants the platform to be used by third parties then solid documentation and commitment is key to compete against the e-comm market leaders. Just my $0.02. Would be good to see a reaction from a core team member about this.
jerald reyes
@jeral997:matrix.org
[m]
hello how to create and published products using api i need to create a bulk import product from different system
B D
@bayareacoder
@jeral997:matrix.org This plugin shows how to use the API to do bulk product import: https://github.com/outgrow/reaction-dummy-data
ahsanazeem313
@ahsanazeem313
@loan-laux yes i have verified all environment variables specially OAUTH2_* env variables, all are ok but still i have same issue. After login i can see reaction commerce admin page for 2 to 3 seconds only then redirect to login challenge again.
jerald reyes
@jeral997:matrix.org
[m]
@bayareacoder do you have plugins for authorizenet?
jerald reyes
@jeral997:matrix.org
[m]
@bayareacoder: also how to pull this plugin in production server
Chris Ian Fiel
@ccfiel
hello
How do I login so that I can add a product?
B D
@bayareacoder
@jeral997:matrix.org im not familiar with authorizenet so no. Sorry but a generic
question as “how do i run this in production” i cannot answer. Pls read RC documentation first.
Loan Laux
@loan-laux
@ccfiel you admin UI runs on port 4080 by default
@bayareacoder I agree on that message you posted earlier. Let’s hope someone from the core team will chime in.
Loan Laux
@loan-laux
@jeral997:matrix.org there’s no Authorize.net plugin available from the community as far as I know
@ahsanazeem313 You should have something in your logs. Either on the admin container, the identity container or the API container. Can you tell me if there’s anything?
Loan Laux
@loan-laux
image.png
@bayareacoder I can’t respond to everything you said, but I just checked and the Gitter channel is linked to from the landing page of the docs
B D
@bayareacoder
@loan-laux thanks. We are in the same boat as independent adopters. We choose a platform to build upon so besides technical capability feeling comfortable that there will be future support is key. My worry is that the focus will be on “adapters” to link captive ecomm systems (Shopify etc) with the rest of MailChimp’s marketing solutions rather than building out a standalone ecomm solution. I noticed eg that only the api is documented; nothing about the storefront.
Loan Laux
@loan-laux
@bayareacoder The storefront is just an example and is not meant to be a developer tool. It’ll probably get retired soon and replaced by something like Next Commerce (out:grow is building a provider for that). Open Commerce is about the API first and foremost. As a user, up to you to leverage that API from wherever you want. But I don’t see a big focus on the storefront happening in the long term.
Akarshit Wal
@Akarshit
@bayareacoder We are definitely looking into existing storefronts(like vue, next, etc) so that we can focus on the API.
Loan Laux
@loan-laux
And IMO, that’s better. “Do one thing and do it well.” That’s how you build great software. Open Commerce is headless, so the focus is on the API. That makes sense. As far as the storefront goes, the current one isn’t anything amazing, so using Vue Storefront or Next Commerce in reaction-development-platform would actually be an upgrade.
Akarshit Wal
@Akarshit
About the documentation, we are definitely looking to improve it and have therefore setup better process to approve what goes into the documentation. But you do have a few valid points that I will asking my other team members and would get back to you.
B D
@bayareacoder
@Akarshit thanks - i assume you work at Mailchimp. I would defnitely suggest you put all of the old docs back online. Even on the api much seems lost on real detail in the docs (eg how to extend product schema that i was looking for yesterday and suddenly found the old bookmarks i had set gone and had to come to this forum to find the docs now on a “staging” url).
Akarshit Wal
@Akarshit
Yeah I do work at Mailchimp and have let the people know about this. I will get back to you about what we can do.
B D
@bayareacoder
@Akarshit ok - good to see you here. I would suggest you split the docs into a 'Beginner' and 'Advanced' section. Beginner should just focus on getting the reaction-development-platform up and running, first locally then in the cloud, with an example storefront UI. @loan-laux did a very good plugin to generate fake data for an example store. Then how to deploy this in the cloud; there is a very good guide with proxy-traefik to run on Digital Ocean. You can see that most of the questions here are from beginners who are very confused about basic concepts to get to this point of getting something running. Advanced doc section can then focus on going into real detail for those who want to do customizations (as we do: custom auth, custom payment methods, schema extensions etc). Then finally I would suggest to move away this forum from Gitter to a platform that enforces threads so you start building a 'wiki' per topic. We use internally ZulipChat and I believe they offer an import capability from Gitter (https://zulip.com)
Akarshit Wal
@Akarshit
Yeah I see that deploying to cloud is missing in the doc, because we didn't had a good way to do it. But I will be working on that next.
I think https://mailchimp.com/developer/open-commerce/guides/quick-start/ captures the basic of getting the setup up and running. If you feel it is missing something, let me know and I can get that added.
The point about fake data is good, we have a couple of repos to generate fake data, but maybe we should look into shipping a bunch of fake data with the product, so that people actually see something. I will definitely fly this idea.
The advanced section of the doc would be all the other guides except quick start. (again let me know if you disagree)
Moving away from gitter, haven't though about that. I will propose that and see what the community/team thinks about that.
B D
@bayareacoder
@Akarshit The quick-start seems good. Someone would have to go through all steps, just based on this doc, and make sure he can actually get it to run locally. On the rest, maybe it's just me but I find it just more difficult to find needed info at :https://mailchimp.com/developer/open-commerce/docs/fundamentals/ then it was at https://reaction-docs-staging.reactioncommerce.com/docs/how-to-extend-product which seems to have a much more extensive TOC in the sidebar. So hard to tell if really all detail is available in the new version.
B D
@bayareacoder
Re. quick start, there doesn't seem to be a section on setting the env vars and at least the smtp mail settings have to be configured to get up and running. I guess working email is something you care about at Mailchimp :)
Akarshit Wal
@Akarshit
Yeah, that's a good point, the categories in the left sidebar can be increased. Passing on the suggestion...