These are chat archives for reactioncommerce/reaction

7th
Oct 2016
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 07:51
how to install a theme in reaction commerce
the documentation are very direct
Brent Hoover
@zenweasel
Oct 07 2016 07:53
there is only one additional theme and that’s the one associated with the tutorial
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 07:53
couldnt find tutorial very helpful
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 07:54
doesnt getting the point "how to install a theme?"
Brent Hoover
@zenweasel
Oct 07 2016 07:55
I don’t know what you mean
samgitre
@samgitre
Oct 07 2016 07:57
how can i add more views and routes to the reaction template, I could not get it very clear from the reaction master tutorial
Brent Hoover
@zenweasel
Oct 07 2016 07:58
@samgitre Well you don’t add routes to templates. There is a section in the tutorial on adding routes. What are you trying to do?
samgitre
@samgitre
Oct 07 2016 08:00
I'm trying to create my custom pages and link them to the main menu
like about us, contact us, etc.
Brent Hoover
@zenweasel
Oct 07 2016 08:01
The tutorial does go into creating an aboutus page by adding a route
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 08:01
any one here to guide me how to install a a theme
Brent Hoover
@zenweasel
Oct 07 2016 08:02
@samgitre Look at this tutorial https://docs.reactioncommerce.com/reaction-docs/master/creating-a-plugin and go to the section "Adding Custom Pages/Routes"
@ArsalMInhaji beyond the theme in the tutorial, there are no themes to install. But if there were you would just need to drop them into the /imports/plugins/custom and restart
samgitre
@samgitre
Oct 07 2016 08:03
ok, I will recheck it now, thanks
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 08:04
thanks ..:)
Fabio Da Soghe
@think01
Oct 07 2016 08:06
hello. I cannot access some pages of the online documentation: it keeps loading and nothing shows up. have anybody any hint?
Brent Hoover
@zenweasel
Oct 07 2016 08:07
@think01 I think you ran into a bad link there. There should never be .md at the end of a URL
Fabio Da Soghe
@think01
Oct 07 2016 08:12
yes, you're right @zenweasel thank you!
the link is on the docs themselves so I think it needs a fix
Brent Hoover
@zenweasel
Oct 07 2016 08:12
Yes, I will have a look and see if I can fix it
Fabio Da Soghe
@think01
Oct 07 2016 08:12
thank you again :)
Brent Hoover
@zenweasel
Oct 07 2016 08:13
:+1:
Fabio Da Soghe
@think01
Oct 07 2016 08:13
this looks like a very cool os project, we're planning to use Reaction Commerce in a project for a customer of ours
the roadmap is full of interesting features. any plan on when there will be a 1.0 release?
Brent Hoover
@zenweasel
Oct 07 2016 08:15
we hope before the end of the year
Fabio Da Soghe
@think01
Oct 07 2016 08:27
good to know
Hai Nguyen
@nguphoha
Oct 07 2016 09:21
@zenweasel How to run reaction-example-plugin with /about routing. When I run example with /about routing, the screen always display "page not found" :(
Brent Hoover
@zenweasel
Oct 07 2016 10:00
Have you run reaction reset?
And what is the URL you are visiting?
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 10:40
hello all i have followed the tutorial for creating a theme but nothing has happened on my theme ?
i have restarted the server also
Brent Hoover
@zenweasel
Oct 07 2016 10:55
have you done a reaction reset?
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 10:56
nop
it is resetting my db
Brent Hoover
@zenweasel
Oct 07 2016 10:57
you need to do a reset for changes to the registry to take affect
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 10:57
okay i have done that hope it works
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 12:12
can any one tell where to put register.js
ArsalMInhaji
@ArsalMInhaji
Oct 07 2016 12:39
there is error of ''Cannot find module /server/api "
whenever i try to change theme
reply asap
tdmoneybanks
@tdmoneybanks
Oct 07 2016 15:33
hi guys. me and a couple other devs wanted to help work on the marketplace implementation. Are there any resources (waffle tix, git issues, etc) that i can look at to understand what implementation method you had in mind. If we build it, we would love for it to be in line with your thinking as well :)
hrath2015
@hrath2015
Oct 07 2016 15:50
@tdmoneybanks please refer #357
freeredpill
@freeredpill
Oct 07 2016 16:58
I'm having no problem running Reaction on my Ubuntu machine locally, but when I try to run it on a C9.io Ubunutu server that I have with the command "meteor --port $IP:$PORT" or "reaction --port $IP:$PORT" it starts the process continuing through "Starting your app..." but the app doesn't load no matter how long I leave it running; any ideas?
Spencer Norman
@spencern
Oct 07 2016 17:00
When deploying a non-development app you should build it before deploying rather than running the reaction/meteor command on your server
The Reaction team recommends using docker to do production deploys and that’s how we deploy as well
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:01
Hello all,
I have an order that a) uses a shipping method that isn't yet implemented and b) uses the 'Authnet' processor (not sure if a and b are related).
So, when I click 'Capture Payment' followed by 'Shipped' the order doesn't process.
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:03
An subsequent order I created using Authorize.net and the implemented standard rate shipping goes through fine.
Is there a way to delete this "Processing" order?
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:07
@cooperstevenson you should be able to delete the order through the dashboard. however, if not, you can also delete it directly from the mongo db. a tool like robomongo will help in looking through the orders collection for the correct record
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:13
@tdmoneybanks looking...
Sorry, 'negative.' Going to Dashboard --> Orders takes me to the orders screen.
The orders are listed, of course, but I see no button to delete the order.
If I click on the detail view of the order in question ( > ) I get the 'Order Details' screen with the "Capture Payment," et al. as described above but nowhere do I see a button for deleting the order.
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:17
hmm, seems like your best option is to remove the order through the db directly then
downloading a tool like robomongo will help alot with this process @cooperstevenson
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:18
@tdmoneybanks 'robomongo' it is!
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:31
Here's an update from the log:
I20161007-09:56:21.673(-7)? Exception while invoking method 'orders/shipmentShipped' TypeError: Cannot read property 'emails' of undefined
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:32
did you remove the order from the db?
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:33
Not yet, just got RoboMongo set up.
It appears that there is no way to move to the shipping method if the customer does not define an email address.
Rather, there doesn't seem to be a way to move the order from 'processing' to shipped if no email address is provided.
^^^ This actually can't be right....
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:38
I'm looking at meteor > Collections > Orders ( db.getCollection('Orders').find({}) ).
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:38
i believe this makes sense. can anyone verify if guest checkout orders still require an email?
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:38
I see the two orders but both of them have an email address.
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:38
strange
do you see the one that wont move to shipping?
you can look in the server code where the shipmentShipped method is and see how its trying to access the email
seems like the function is getting the order param as null. So it passes the check object call but then fails when it trys to access order.email
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:41
I do see the order that won't move to shipping, yes.
Looking at shipmentShipped code...
tdmoneybanks
@tdmoneybanks
Oct 07 2016 17:41
it would appear that the check at the top of the method should be changed so that it ensures order = null does not pass the check
you would have to follow from the client side to see why the param being passed is null
see where in the client code the shipmentShipped function is being called
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 17:42
I can do that!
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:04
@tdmoneybanks I believe I have found the problem.
If the customer does not fill in their email address from the first checkout screen the order will not be permitted through to the "order complete" phase.
A dialog box appears after the customer enters in the order information.
If the consumer enters their email address in that field then, from the customer's perspective, everything is fine.
From the Admin taking the orders, however, the shipment may be approved and modified like normal...
...but when it comes to marking the order Processed with the "Shipped" button it's a no-go; the order processor cannot make the order move to the "Processed" stage.
Screenshots on request :)
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:09
yea maybe put together a video and or screen caps of what your doing. im sure itll help others on this channel
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:11
Okay :)
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:28
Here you go!
Order from the customer's point of view:
Order from the processor's point of view (processing the order):
Notice how the 'customer' did not initially enter an email address--the email address was entered after the order was made.
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:30
can you post the structure of the order object that isnt working
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:31
(In my best New York accent) "Owea Shure!"
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:31
more clearly, post the db record for the order with all the fields/vals
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:35
Here you go:
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:37
are you sure at all what the difference between the order you can cap payment and can not is
like when you created the order
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:38
I can't swear on it but I'm pretty sure.
I mean, I used the same shipping method, etc.
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:40
so i looked at the "admin" side
in that vid
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:40
Yah
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:41
after you click cap payment and click ship. can you open the browser console and the terminal console and show me what errors are in there
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:41
You bet...
I'll make a vid for you here real quick...
tdmoneybanks
@tdmoneybanks
Oct 07 2016 18:41
ok ill take a look
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 18:55
Here you go:
Here are the messages shown in the screencap vid:
tdmoneybanks
@tdmoneybanks
Oct 07 2016 19:03
can you show the client console too? open chrome dev tools and go to tab called "console"
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 19:05
Okay!
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 19:12
Log file here, video rendered directly...
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 19:17
Console Log Video:
bbiab...
tdmoneybanks
@tdmoneybanks
Oct 07 2016 19:46
thank you @cooperstevenson
it seems like its an issue with passing the obj to the server
do you know
if you can reproduce this issue
after a reaction reset?
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 19:58
I can find out for you...
You have a doc on making a backup of this instance?
(p.s. you're more than welcome!)
tdmoneybanks
@tdmoneybanks
Oct 07 2016 20:00
this stack overflow goes over backing up a mongodb with mongodump in regards to a meteor app
hope it helps
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 20:00
"Schweet."
I'll do a dump/restore Monday and report back.
Do you need to see a 'git pull' or would you rather I go with the revision I have?
tdmoneybanks
@tdmoneybanks
Oct 07 2016 20:01
once you reproduce the issue, create a github issue with all the relevant info on how to reproduce along with expected and actual behavior. then it will be picked up by someone and investigated
you can also continue to ask ?s on here and im sure many will be willing to help
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 20:03
On it & thanks!
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 20:15
Yeah, I just confirmed...when the customer creates an account prior to ordering the system works as written.
tdmoneybanks
@tdmoneybanks
Oct 07 2016 20:15
can you try again as a guest user to create an order and run it through
are you saying that if the order is placed by a guest, it can not be captured?
D. Cooper Stevenson
@cooperstevenson
Oct 07 2016 21:01
Yes, orders cannot be captured when placed as a guest.
I have 'order as guest' enabled in the Dashboard.
(I thought at first it was an unimplemented shipping option causing a lock but the guest login with a known-working shipping method trumps that)
Confirmed: Orders made as guest cannot be captured.
Enny Isambert
@ennysantana
Oct 07 2016 21:53
Hello!