These are chat archives for reactioncommerce/reaction

12th
Feb 2018
Patrick Newell
@pnewell4_twitter
Feb 12 2018 04:22

this may be a question for @aldeed, but if other can answer it, I would appreciate it. I have modified the Account collection with the Workflow Schema, however, each time I try to update an account, I get "successful" updates without setting the Workflow fields.
my code is roughly this:

// server
import { Accounts } from "/lib/collections";
import { Workflow } from "/lib/collections/schemas";

Accounts.attachSchema(Workflow);

Meteor.methods({
  "updateWorkflow"(workflow, status) {
    Accounts.update({
      userId: Meteor.userId(),
      shopId: Reaction.getShopId()
    }, {
      $set: {
        // Combine (workflow) "coreOrderWorkflow", (status) "processing" into "coreOrderWorkflow/processing".
        // This comoniation will be used to call the method "workflow/coreOrderWorkflow/processing", if it exists.
        "workflow.status": workflowStatus
      },
      $addToSet: {
        "workflow.workflow": status
      }
    }, function (error, affectedDocs) {
      if (error) {
        throw new Meteor.Error(500, error.message);
      } else {
        return "Update Successful";
      }
    });
  }
});

// client
Meteor.call("updateWorkflow", "onboarding", "about");

I grepped around to find places which reference the Account Schema directly (which would ignore the extended schema that I created), but came up with none.
I also know this is likely a problem that is going away in the next major release or Reaction, but I would like to keep moving with my project!
thanks in advance

Brent Hoover
@zenweasel
Feb 12 2018 04:37
I think some of what may happen in Account may happen in Meteor itself
Accounts is a weird one because it’s a built-in collection

when you say

I have modified the Account collection with the Workflow Schema

Are you attaching the updated schema to the correct collection?
hitachi19
@hitachi19
Feb 12 2018 07:13
  {
      route: "/dashboard/accounts",
      name: "accounts",
      provides: ["dashboard"],
      label: "Accounts",
      description: "Manage how members sign into your shop.",
      icon: "fa fa-users",
      container: "core",
      template: "accountsDashboard",
      workflow: "coreAccountsWorkflow",
      priority: 1
    },  {
      route: "/dashboard/accounts",
      name: "dashboard/accounts",
      workflow: "coreAccountsWorkflow",
      provides: ["shortcut"],
      label: "Accounts",
      icon: "fa fa-users",
      priority: 1,
      container: "dashboard",
      template: "accountsDashboard"
    }
what is difference between the two route? what is container mean?
in the imports/plugins/core/accounts/register.js
Meir Shamay
@may215
Feb 12 2018 07:37
Is there any example store, with code that I can look at, because, I am having a lot of issues with the vanilla installation, and I can't create/update products?
hitachi19
@hitachi19
Feb 12 2018 07:39
@aaronjudd @zenweasel @spencern @prinzdezibel @loanlaux @hitachi19
what is difference between the two route? what is container mean? in the imports/plugins/core/accounts/register.js
please help me,thank you very much!
  {
      route: "/dashboard/accounts",
      name: "accounts",
      provides: ["dashboard"],
      label: "Accounts",
      description: "Manage how members sign into your shop.",
      icon: "fa fa-users",
      container: "core",
      template: "accountsDashboard",
      workflow: "coreAccountsWorkflow",
      priority: 1
    },  {
      route: "/dashboard/accounts",
      name: "dashboard/accounts",
      workflow: "coreAccountsWorkflow",
      provides: ["shortcut"],
      label: "Accounts",
      icon: "fa fa-users",
      priority: 1,
      container: "dashboard",
      template: "accountsDashboard"
    }
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 07:43
Amalan Jenicious
@amalan-shenll
Feb 12 2018 08:18
hi
anyone has idea to implement wysiwyg editor in product description
in reaction commerce
Brent Hoover
@zenweasel
Feb 12 2018 08:20
@hitachi19 Generally you should avoid tagging people. We answer your questions when we are around as fast as we can.
“Container” in this context just means the containing template
hitachi19
@hitachi19
Feb 12 2018 08:50
@zenweasel sorry, i will avoid tagging people in the future
Brent Hoover
@zenweasel
Feb 12 2018 08:51
No worries. Just understand that our team is distributed all over the world so seldom are all of those people online or even awake. But they are going to get a notification.
hitachi19
@hitachi19
Feb 12 2018 08:53
@zenweasel ok,now i konw.thank you !
when i change the "container" even undefined eg container: "aa" ,why the view not change?
Meir Shamay
@may215
Feb 12 2018 08:56
Thank you for the link
but the application keep crashing
Brent Hoover
@zenweasel
Feb 12 2018 08:56
@hitachi19 I’m not sure container is used in all contexts
Meir Shamay
@may215
Feb 12 2018 08:57
I followed the instructions, and nothing help
Brent Hoover
@zenweasel
Feb 12 2018 08:57
@may215 What’s your problem?
Meir Shamay
@may215
Feb 12 2018 08:57
the database is clean
Error: Unknown asset: plugins/reaction-swag-shop/images/BCTMZ6HTxFSppJESk.jpg at getAsset (/home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/boot.js:328:19) at Object.getBinary (/home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/boot.js:342:16) at Object.methods.importProductImages (imports/plugins/custom/reaction-swag-shop/server/methods.js:130:31) at imports/plugins/custom/reaction-swag-shop/server/init.js:20:11 at server/api/hooks.js:54:14 at Array.reduce (<anonymous>) at Object.Hooks.Events.run (server/api/hooks.js:53:22) at Object.init (server/api/core/core.js:62:18) at server/startup/init.js:12:12 at server/startup/index.js:14:3 at server/main.js:14:3 at Function.time (/home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/profile.js:309:28) at /home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/boot.js:423:13 at /home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/boot.js:464:5 at Function.run (/home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/profile.js:510:12) at /home/may/development/projetcs/nodejs/dealsd/.meteor/local/build/programs/server/boot.js:462:11 => Exited with code: 1 => Your application is crashing. Waiting for file change.
hitachi19
@hitachi19
Feb 12 2018 08:57
@zenweasel think you very much!
Brent Hoover
@zenweasel
Feb 12 2018 08:58
@may215 You need to start with SKIP_FIXTURES=true reaction
It’s trying to load an image for the default product which doesn’t exist
Meir Shamay
@may215
Feb 12 2018 08:58
I did that
I exported it, and run it using the same command
Brent Hoover
@zenweasel
Feb 12 2018 08:58
Well, somehow you have the default product still in your database
Meir Shamay
@may215
Feb 12 2018 08:59
another error: Error while importing to Packages: Updating the path 'layout'
Brent Hoover
@zenweasel
Feb 12 2018 08:59
@may215 How are you running Reaction? In what environment and OS?
Meir Shamay
@may215
Feb 12 2018 09:00
on ubuntu 16.04, node 7.0.0
Brent Hoover
@zenweasel
Feb 12 2018 09:00
that first error is 100% because the default product is in your db
Meir Shamay
@may215
Feb 12 2018 09:00
ok, I can manually clean the database
Brent Hoover
@zenweasel
Feb 12 2018 09:00
reaction reset -n will do it
Meir Shamay
@may215
Feb 12 2018 09:00
I did that twice
Brent Hoover
@zenweasel
Feb 12 2018 09:00
are you loading the fixtures included in the plugin?
Meir Shamay
@may215
Feb 12 2018 09:01
I cloned the project inside plugin custom
install the packages, and run from the root project
Brent Hoover
@zenweasel
Feb 12 2018 09:02
Can you try reaction reset -n && SKIP_FIXTURES=0 reaction
Meir Shamay
@may215
Feb 12 2018 09:03
ok
Michael Jenny
@prinzdezibel
Feb 12 2018 09:04
Not sure if SKIP_FIXTURES would still be evaluated as true . Perhaps use unset SKIP_FIXTURES?
Meir Shamay
@may215
Feb 12 2018 09:04
done that
Brent Hoover
@zenweasel
Feb 12 2018 09:05
Whoops I meant SKIP_FIXTURES=true
reaction reset -n && SKIP_FIXTURES=1 reaction
Michael Jenny
@prinzdezibel
Feb 12 2018 09:05
makes sense
hitachi19
@hitachi19
Feb 12 2018 09:05
what is provides mean?
Brent Hoover
@zenweasel
Feb 12 2018 09:05
We need it to SKIP_FIXTURES to not load the default product which causes that error
Michael Jenny
@prinzdezibel
Feb 12 2018 09:06
also consider reaction reset -n && export SKIP_FIXTURES=1 && reaction in case reaction spawns a child process (I don't know)
Meir Shamay
@may215
Feb 12 2018 09:06
ok, maybe I will find that in that in the code and debug it
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 09:07
Account profile:
The cancel button does nothing. Is there a bug?
Meir Shamay
@may215
Feb 12 2018 09:07
now it's ok, thanks, I deleted the database itself and recreate it
Brent Hoover
@zenweasel
Feb 12 2018 09:07
@may215 I would suggest you try reading this: https://blog.reactioncommerce.com/an-intro-to-architecture-the-registry/
Michael Jenny
@prinzdezibel
Feb 12 2018 09:07
@harshalyeole-tudip that could possibly be the case. Would you mind to create a ticket?
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 09:08
Sure.
Brent Hoover
@zenweasel
Feb 12 2018 09:08
@prinzdezibel @harshalyeole-tudip I am pretty sure there is one already, but double-check
hitachi19
@hitachi19
Feb 12 2018 09:08
what is provides mean?
  {
      route: "/dashboard/accounts",
      name: "accounts",
      provides: ["dashboard"],
      label: "Accounts",
      description: "Manage how members sign into your shop.",
      icon: "fa fa-users",
      container: "core",
      template: "accountsDashboard",
      workflow: "coreAccountsWorkflow",
      priority: 1
    },  {
      route: "/dashboard/accounts",
      name: "dashboard/accounts",
      workflow: "coreAccountsWorkflow",
      provides: ["shortcut"],
      label: "Accounts",
      icon: "fa fa-users",
      priority: 1,
      container: "dashboard",
      template: "accountsDashboard"
    }
Brent Hoover
@zenweasel
Feb 12 2018 09:09
@hitachi19 I would suggest you try reading this: https://blog.reactioncommerce.com/an-intro-to-architecture-the-registry/
Sorry I tagged the wrong person with that doc
I think that should cover most of what you are asking better than I can answer here
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 09:10
@prinzdezibel @harshalyeole-tudip I am pretty sure there is one already, but double-check
you are correct!
There is one!
reactioncommerce/reaction#3674
Meir Shamay
@may215
Feb 12 2018 09:10
Anyway, the client side gets a lot of errors
Brent Hoover
@zenweasel
Feb 12 2018 09:10
my one super-power is remembering issues
@may215 Are you seeing any errors on the server side?
Meir Shamay
@may215
Feb 12 2018 09:11
no.
Brent Hoover
@zenweasel
Feb 12 2018 09:11
What errors do you see on the client-side?
Meir Shamay
@may215
Feb 12 2018 09:12
the drop lists for the templates not getting filled, origin country the same
hitachi19
@hitachi19
Feb 12 2018 09:12
@zenweasel i will read it ,thank you very much!
Meir Shamay
@may215
Feb 12 2018 09:12
modules.js:35350 Warning: Failed prop type: Invalid proptagsof typearraysupplied toProductsContainer, expectedobject. in ProductsContainer (created by Tracker(ProductsContainer)) in Tracker(ProductsContainer) printWarning @ modules.js:35350 warning @ modules.js:35374 checkReactTypeSpec @ modules.js:34875 validatePropTypes @ modules.js:34309 createElement @ modules.js:34363 render @ app.js:101942 (anonymous) @ modules.js:141552 measureLifeCyclePerf @ modules.js:140832 _renderValidatedComponentWithoutOwnerOrContext @ modules.js:141551 _renderValidatedComponent @ modules.js:141578 performInitialMount @ modules.js:141118 mountComponent @ modules.js:141014 mountComponent @ modules.js:133869 performInitialMount @ modules.js:141127 mountComponent @ modules.js:141014 mountComponent @ modules.js:133869 mountComponentIntoNode @ modules.js:145980 perform @ modules.js:134820 batchedMountComponentIntoNode @ modules.js:146002 perform @ modules.js:134820 batchedUpdates @ modules.js:143708 batchedUpdates @ modules.js:133508 _renderNewRootComponent @ modules.js:146195 _renderSubtreeIntoContainer @ modules.js:146277 render @ modules.js:146298 (anonymous) @ app.js:93651 (anonymous) @ blaze.js:1934 Template._withTemplateInstanceFunc @ blaze.js:3744 (anonymous) @ blaze.js:1932 Blaze._withCurrentView @ blaze.js:2271 Template.React:anonymous @ blaze.js:1931 Tracker.Computation._compute @ tracker.js:339 Tracker.Computation @ tracker.js:229 Tracker.autorun @ tracker.js:613 Blaze.View.autorun @ blaze.js:1944 Blaze.TemplateInstance.autorun @ blaze.js:3604 (anonymous) @ app.js:93640 (anonymous) @ blaze.js:3398 Template._withTemplateInstanceFunc @ blaze.js:3744 fireCallbacks @ blaze.js:3394 (anonymous) @ blaze.js:3487 (anonymous) @ blaze.js:1845 Blaze._withCurrentView @ blaze.js:2271 (anonymous) @ blaze.js:1844 Tracker._runFlush @ tracker.js:548 onGlobalMessage @ meteor.js:448 modules.js:35350 Warning: Failed prop type: Invalid proplabelof typeobjectsupplied toReaction(Button), expectedstring. in Reaction(Button) (created by Reaction(Products)) in Reaction(Products) (created by ProductsContainer) in ProductsContainer (created by Tracker(ProductsContainer)) in Tracker(ProductsContainer) printWarning @ modules.js:35350 warning @ modules.js:35374 checkReactTypeSpec @ modules.js:34875 validatePropTypes @ modules.js:34309 createElement @ modules.js:34363 renderCategories @ app.js:110901 render @ app.js:111046 (anonymous) @ modules.js:141552 measureLifeCyclePerf @ modules.js:140832 _renderValidatedComponentWithoutOwnerOrContext @ modules.js:141551 _renderValidatedComponent @ modules.js:141578 _updateRenderedComponent @ modules.js:141502 _performComponentUpdate @ modules.js:141480 updateComponent @ modules.js:141401 receiveComponent @ modules.js:141303 receiveComponent @ modules.js:133948 _updateRenderedComponent @ modules.js:141510 _performComponentUpdate @ modules.js:141480 updateComponent @ modules.js:141401 receiveComponent @ modules.js:141303 receiveComponent @ modules.js:133948 _updateRenderedComponent @ modules.js:141510 _performComponentUpdate @ modules.js:141480 updateComponent @ modules.js:141401 performUpdateIfNecessary @ modules.js:141317 performUpdateIfNecessary @ modules.js:133980 runBatchedUpdates @ modules.js:133561 perform @ modules.js:134820 perform @ modules.js:134820 perform @ modules.js:133500 flushBatchedUpdates @ modules.js:133583 closeAll @ modules.js:134886 perform @ modules.js:134833 batchedUpdates @ modules.js:143708 enqueueUpdate @ modules.js:133611 enqueueUpdate @ modules.js:142672 enqueueSetState @ modules.js:142866 ReactBaseClasses.js.ReactComponent.setState @ modules.js:32607 onData @ app.js:101888 composer @ app.js:114804 (anonymous) @ app.js:102093 Tracker.Computation._compute @ tracker.js:339 Tracker.Computation._recompute @ tracker.js:358 Tracker._runFlush @ tracker.js:532 onGlobalMessage @ meteor.js:448 modules.js:35350 Warning: Failed prop type: Invalid propdefaultValueof typeobjectsupplied toReaction(Translation), expectedstring. in Reaction(Trans
that part of the errors
Brent Hoover
@zenweasel
Feb 12 2018 09:13
that’s a weird one that I have not seen before
Are you using the regular built-in Mongo server
Meir Shamay
@may215
Feb 12 2018 09:13
yes
I have localhost mongo server
Brent Hoover
@zenweasel
Feb 12 2018 09:14
so which one?
Meir Shamay
@may215
Feb 12 2018 09:14
I tried to let the init process to recreate it
Brent Hoover
@zenweasel
Feb 12 2018 09:14
So not the built-in one?
Meir Shamay
@may215
Feb 12 2018 09:14
so, no
Brent Hoover
@zenweasel
Feb 12 2018 09:14
What version?
Meir Shamay
@may215
Feb 12 2018 09:14
I have mongodb inside docker
3.6.2
Brent Hoover
@zenweasel
Feb 12 2018 09:16
So you are running RC within a Docker container?
Meir Shamay
@may215
Feb 12 2018 09:16
no, only the database
Brent Hoover
@zenweasel
Feb 12 2018 09:17
Can you try just using the built-in Mongo?
Meir Shamay
@may215
Feb 12 2018 09:17
How can I do that?
Brent Hoover
@zenweasel
Feb 12 2018 09:17
Just don’t pass a MONGO_URL
Meir Shamay
@may215
Feb 12 2018 09:17
ok
Brent Hoover
@zenweasel
Feb 12 2018 09:17
it will fall back to the built-in Mongo
Meir Shamay
@may215
Feb 12 2018 09:21
Do I need to set the MONGO_OPLOG_URL
Because, it failed
Error: $MONGO_OPLOG_URL must be set to the 'local' database of a Mongo replica set
Brent Hoover
@zenweasel
Feb 12 2018 09:23
No. You should not need to set anything except for SKIP_FIXTURES
Meir Shamay
@may215
Feb 12 2018 09:23
so, this is the error I am getting
the above one
Brent Hoover
@zenweasel
Feb 12 2018 09:24
Can you make sure all your processes are killed and reset and start again?
Meir Shamay
@may215
Feb 12 2018 09:24
yes
Brent Hoover
@zenweasel
Feb 12 2018 09:25
make sure you don’t have the environment variables set
Meir Shamay
@may215
Feb 12 2018 09:31
not working
The same error
Brent Hoover
@zenweasel
Feb 12 2018 09:33
Weird, can you try: printenv | grep -i mongo?
Meir Shamay
@may215
Feb 12 2018 09:34
empty
this is the error:
Error starting Mongo (2 tries left): connection 0 to 127.0.0.1:3001 timed out
Brent Hoover
@zenweasel
Feb 12 2018 09:40
Ok, can you try just doing reaction init from scratch in a new directory w/o the swag-shop plugin and see if we can get that going?
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 09:44
try
sudo service mongo restart
and then
sudo service mongo status
Brent Hoover
@zenweasel
Feb 12 2018 09:44
No, don’t do that
Meir Shamay
@may215
Feb 12 2018 09:44
ok I will try to do that
Brent Hoover
@zenweasel
Feb 12 2018 09:44
Let’s try to get it working with the built-in Mongo first
Meir Shamay
@may215
Feb 12 2018 09:44
the init stuff
Brent Hoover
@zenweasel
Feb 12 2018 09:44
Cool
Harshal Yeole
@harshalyeole-tudip
Feb 12 2018 09:45

try
sudo service mongo restart
and then
sudo service mongo status

According to @zenweasel
"DO NOT do this"

Meir Shamay
@may215
Feb 12 2018 09:45
ok
run without fixture?
Brent Hoover
@zenweasel
Feb 12 2018 09:48
No, just run it normally
sandeepbali
@sandeepbali
Feb 12 2018 09:49
Hey guys.. very basic question.. what tech stack skills do my team requires to build on reactioncommerce?
Brent Hoover
@zenweasel
Feb 12 2018 09:50
@sandeepbali Meteor + ES6 + React + Mongo
sandeepbali
@sandeepbali
Feb 12 2018 09:50
what backend language?
Brent Hoover
@zenweasel
Feb 12 2018 09:50
ES6
Meteor is the “backend” which is written in Javascript
sandeepbali
@sandeepbali
Feb 12 2018 09:51
I see.. so basically I'd need Javascript devs who can then adopt to es6 and meteor
and react is for frontend
Brent Hoover
@zenweasel
Feb 12 2018 09:52
Correct
sandeepbali
@sandeepbali
Feb 12 2018 09:52
thanks
also how to access the admin panel?
Brent Hoover
@zenweasel
Feb 12 2018 09:52
Meteor is written on top of Node obviously
sandeepbali
@sandeepbali
Feb 12 2018 09:52
i have demo site access of swag
Brent Hoover
@zenweasel
Feb 12 2018 09:52
Just login with admin credentials
sandeepbali
@sandeepbali
Feb 12 2018 09:53
alright.. and slide in panel from the right is all there is as admin panel?
Brent Hoover
@zenweasel
Feb 12 2018 09:53
yep
sandeepbali
@sandeepbali
Feb 12 2018 09:53
great
Meir Shamay
@may215
Feb 12 2018 09:53
Same issue...
Brent Hoover
@zenweasel
Feb 12 2018 09:54
what’s the error message again?
Mahesh Vaghani
@mkvaghani
Feb 12 2018 09:54
hey guys
Meir Shamay
@may215
Feb 12 2018 09:54
Error: $MONGO_OPLOG_URL must be set to the 'local' database of a Mongo replica set at OplogHandle._startTailing (packages/mongo/oplog_tailing.js:218:13) at new OplogHandle (packages/mongo/oplog_tailing.js:76:8) at new MongoConnection (packages/mongo/mongo_driver.js:213:25) at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16) at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10) at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19) at new Mongo.Collection (packages/mongo/collection.js:99:40) at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18) at new AccountsServer (packages/accounts-base/accounts_server.js:18:5) at server_main.js (packages/accounts-base/server_main.js:9:12) => Exited with code: 1 => Your application is crashing. Waiting for file change.
Brent Hoover
@zenweasel
Feb 12 2018 09:56
I’m stumped. I’ve never seen that error before with the local dev server
Mahesh Vaghani
@mkvaghani
Feb 12 2018 09:57
Guys, How about BLOCKCHAIN , Decentralized concept with reactioncommerce ???
Loan Laux
@loanlaux
Feb 12 2018 09:57
@mkvaghani What would you want to decentralize exactly?
Mahesh Vaghani
@mkvaghani
Feb 12 2018 09:57
Payments, and Rating system
Trying to create ebay, with blockchain and crypto. I've been part of reaction commerce since its launched.
If someone want to join me, @mkvaghani
Loan Laux
@loanlaux
Feb 12 2018 09:58
Well, cryptocurrency payment providers are on the roadmap if I'm not mistaken. About the rating system, I'm sure that would be an awesome plugin to create!
Mahesh Vaghani
@mkvaghani
Feb 12 2018 09:59
going to create marketplace on the top of reactioncommerce, with blockchain and crypto. (ICO) ,
Loan Laux
@loanlaux
Feb 12 2018 09:59
Why not add a little VR on top of that?
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:00
@loanlaux not just as second option, but want to implement only crypto as option
Loan Laux
@loanlaux
Feb 12 2018 10:00
And drone deliveries
With an AI-enabled chatbot for product recommendations
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:00
@loanlaux its good idea :)
Brent Hoover
@zenweasel
Feb 12 2018 10:00
we don’t have any plans to create any new payment providers, but we would welcome a community cryptocurrency payment provider
Loan Laux
@loanlaux
Feb 12 2018 10:00
I was joking
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:01
@loanlaux I know ,
Brent Hoover
@zenweasel
Feb 12 2018 10:01
AI chatbot is legitimately a good idea
Loan Laux
@loanlaux
Feb 12 2018 10:01
But all jokes aside, this rating-on-the-blockchain idea should be quite fun to implement!
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:01
I was the first in development, when reactioncommerce was just an idea and first uploaded on github. Really awesome
Loan Laux
@loanlaux
Feb 12 2018 10:02
@zenweasel Definitely — but not something I'd try to create from scratch given the number of awesome solutions already out there
Brent Hoover
@zenweasel
Feb 12 2018 10:03
plans def include product recommendations via AI. Chatbot is the easitest part about it
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:03
right
Loan Laux
@loanlaux
Feb 12 2018 10:04
@zenweasel There's this awesome start-up in France that offers a plug-n-play e-commerce chatbot... sadly not in english yet. But they have some serious customers, like France's biggest online wine store! http://mobibot.io/
Brent Hoover
@zenweasel
Feb 12 2018 10:04
Our CTO and CEO’s background is in predictive analytics
France’s biggest wine store is saying something
and probably there should be an opening for a web-developer soon
2018-02-12_18-05-15.png
Loan Laux
@loanlaux
Feb 12 2018 10:06
Oh wow :smile:
Brent Hoover
@zenweasel
Feb 12 2018 10:06
because the current one doesn’t test their site at all widths
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:06
@zenweasel is it good idea to convert reaction commerce to marketplace ?
Brent Hoover
@zenweasel
Feb 12 2018 10:06
@mkvaghani convert?
We already support Marketplace
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:07
I mean implement on the top of current reactioncommerce
oh I see
Brent Hoover
@zenweasel
Feb 12 2018 10:07
depending on what your definition of that is…..
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:07
didn't checked latest versions
Brent Hoover
@zenweasel
Feb 12 2018 10:07
We support multi-shop and permissions, etc.
As of 1.5
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:08
I see,
Brent Hoover
@zenweasel
Feb 12 2018 10:08
Probably would still need a little massaging to meet your needs…not sure
Mahesh Vaghani
@mkvaghani
Feb 12 2018 10:08
well, I am Founder TemplateMela.com thats good idea to build templates of reactioncommerce now :)
Brent Hoover
@zenweasel
Feb 12 2018 10:08
So I guess my answer is “yes"
Hmmm
sandeepbali
@sandeepbali
Feb 12 2018 10:21
is there any showcase where one can see ecommerce sites built upon reactioncommerce?
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:30

@zenweasel thanks for getting back to me last night (went to bed shortly after asking the question!)
Regarding,

Are you attaching the updated schema to the correct collection?

This is the code which modifies the Account Schema:
import { Accounts } from "/lib/collections";
import { Workflow } from "/lib/collections/schemas";

Accounts.attachSchema(Workflow);
so, to answer the question... I thought so?!
Brent Hoover
@zenweasel
Feb 12 2018 10:33
do you want that one or
import { Accounts } from "meteor/accounts-base”;
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:33
whoa boy... no idea! I'll give that one a shot
Brent Hoover
@zenweasel
Feb 12 2018 10:35
I don’t know either. Accounts is the weird case
on the face of it what you are doing there should work
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:36
do you have a suggestion for a better collection to be using? (I am writing a fairly simple onboarding workflow with a couple of steps to get merchant shop owners set up)
ok, still giving the accounts-base a try
Brent Hoover
@zenweasel
Feb 12 2018 10:38
I think Accounts is the right collection. Meteor handles some of the login/logout password stuff but we use it as well
@jshimko Can probably do a better job of answering that question than me (when he wakes up)
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:39
:thumbsup:
zenweasel @zenweasel reads our docs again
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:43
any chance the built-in collection is called users (not Accounts)?
https://guide.meteor.com/accounts.html#accounts-base
Brent Hoover
@zenweasel
Feb 12 2018 10:44
Yeah, it’s possible
Althought we import { Accounts } from "meteor/accounts-base”; all over the place
That could just be for the methods though
but like I said, you code should work as far as I can tell
sandeepbali
@sandeepbali
Feb 12 2018 10:51
guys.. is it safe to make an ecommerce site on reactioncommerce at this time?
Brent Hoover
@zenweasel
Feb 12 2018 10:52
@pnewell4_twitter maybe it was pseudo-code because I actually can’t get it to run
sandeepbali
@sandeepbali
Feb 12 2018 10:52
I am choosing between bigcommerce, magento and reactioncommerce.. my existing site is on woocommerce
Patrick Newell
@pnewell4_twitter
Feb 12 2018 10:53
@zenweasel really?! that was actual code.
sandeepbali
@sandeepbali
Feb 12 2018 10:53
I am concerned about how to integrate static pages, wordpress blog and homepage banners etc?
Brent Hoover
@zenweasel
Feb 12 2018 10:53
@pnewell4_twitter I’m just trying to run it in the shell. Maybe not a fair test. Although usuallly I can define methods in the shell
Patrick Newell
@pnewell4_twitter
Feb 12 2018 11:02
uh, I tried to do some stuff in the shell, but I seem to have really messed it up. I can't even type in it anymore! I even kill -9'ed the process but when it came back, I still can't type anything
Brent Hoover
@zenweasel
Feb 12 2018 11:03
weird
so is the problem that you don’t get a schema error?
Patrick Newell
@pnewell4_twitter
Feb 12 2018 11:06
I don't get a schema error and I don't get my account updated with the fields, and it's not clear that there is some sort of schema.clean() going on anywhere
further, I printed Accounts.simpleSchema() just before executing my update, and the Workflow fields are there
Brent Hoover
@zenweasel
Feb 12 2018 11:07
yeah, I don’t know. Sorry I am not more help
Patrick Newell
@pnewell4_twitter
Feb 12 2018 11:08
isn't there a meteor command line option to see all DB queries? I swear I've used it before... would like to confirm that my $set and $addToSet values are not there
it's cool!
Brent Hoover
@zenweasel
Feb 12 2018 11:08
err, yeah, I have a super-vague memory of that
can’t find any info about it
Dinner time. :chicken:
Meir Shamay
@may215
Feb 12 2018 11:32
The application using the docker container looks match better, I am not getting all the errors I got last time
Brent Hoover
@zenweasel
Feb 12 2018 11:39
Strange, but glad to hear it
Amalan Jenicious
@amalan-shenll
Feb 12 2018 11:47
hi anyone
side menu subcategories not shown in reaction mobile view
anyone knows pls help what to do
Eric Dobbertin
@aldeed
Feb 12 2018 12:09
@pnewell4_twitter You are just attaching the Workflow schema rather than attaching a workflow object that uses that schema. So you shouldn't set "workflow.status" and "workflow.workflow" but rather just "status" and "workflow". If you intend for it to be on a workflow object, then you'd have to attachSchema({ workflow: { type: Workflow } }). There would not be any errors because status has a default value and workflow is optional.
Morteza Khamseh
@mori5ive
Feb 12 2018 12:18
Somebody has the ability to transfer products from OpenCard to Reaction?
Eric Dobbertin
@aldeed
Feb 12 2018 12:19
@mkvaghani What are you planning to build on, Ethereum? You will port some of the server code to a blockchain app?
Patrick Newell
@pnewell4_twitter
Feb 12 2018 14:11
@aldeed ah... of course! thank you.
Morteza Khamseh
@mori5ive
Feb 12 2018 14:21
Somebody has the ability to transfer products from OpenCart to Reaction?
Meir Shamay
@may215
Feb 12 2018 17:24
The server application contain external API, like create/modify products?