These are chat archives for reactioncommerce/reaction

5th
Oct 2015
jsooriah
@jsooriah
Oct 05 2015 13:55
hi all
jsooriah
@jsooriah
Oct 05 2015 14:04
just wanted to know, is there some chat support already scheduled in the platform roadmap ?
Aaron Judd
@aaronjudd
Oct 05 2015 15:01
@jsooriah we’ve talked about it, it’s clearly a natural fit for reaction. however haven’t really doing any planning or thinking around it yet. there’s a lot of tools that fill the gap for now, but I do think it could be an awesome feature.
Rashid Omar
@rashthedude
Oct 05 2015 15:08
Hi there
I would like to help out, I would assume the first place to look at is the Issue list?
Aaron Judd
@aaronjudd
Oct 05 2015 15:10
@rashthedude welcome! for the big picture use the waffle board.. it puts everything in context as well as prioritized. https://waffle.io/reactioncommerce/reaction
Rashid Omar
@rashthedude
Oct 05 2015 15:10
oh nice, I will definitely look into it when I get home tonight
thanks @aaronjudd
Aaron Judd
@aaronjudd
Oct 05 2015 15:11
:thumbsup:
jsooriah
@jsooriah
Oct 05 2015 15:55
@aaronjudd Thanks much Aaron :) wish i could help in the future by contributing to the platform, still got to get accustomed to your developer tools and everything
@aaronjudd Also, we would love to partner cause we have a couple of businesses here in Europe willing to find a suitable ecommerce platform like yours, what are the steps for this please ?
Sara Hicks
@saralouhicks
Oct 05 2015 16:27
@jsooriah that's great to hear. We'll send you some details on partnership opportunities. Thanks!
Spencer Norman
@spencern
Oct 05 2015 18:11
@jsooriah if you mean chat support as in stores chatting with customers? @paulgrever has an integration for Zopim (which is the Zendesk chat support system) that he built that we haven’t ‘published’ yet, but is in beta currently for us (http://github.com/getoutfitted/reaction-zopim)
Aaron Judd
@aaronjudd
Oct 05 2015 18:22
it’d be easy to create intercom.io package as well
Aaron Judd
@aaronjudd
Oct 05 2015 19:13
@jsooriah re: question/partner -> we'll follow up on with you on via email.
Aaron Judd
@aaronjudd
Oct 05 2015 19:32
Meteor just released Galaxy - their ‘enterprise’ hosting option.
Spencer Norman
@spencern
Oct 05 2015 21:04
Saw that, not cheap.
But probably a pretty good option for production apps that don’t want to hire devops
Paul Grever
@paulgrever
Oct 05 2015 23:07
Quick question - I noticed today when checking out and looking at the Order Object that invoices are an array field. I am working on something that needs to total the subtotal, and I was looking for more information regarding the cases in which there would be multiple invoices in a single order.
Aaron Judd
@aaronjudd
Oct 05 2015 23:20
@paulgrever good timing! we’re refactoring order.payments to -> orders.billing[payments] so there will be the option of having multiple payments. See: reactioncommerce/reaction-core@a53324c
let me know if that makes sense, or if we’re missing something there
same applies to orders.shipping[shipments]
we’re re-arranging so that you can split shipments and payment for an order
the invoice is really meant to be a break down of the charges for a particular payment
Paul Grever
@paulgrever
Oct 05 2015 23:26
So I am building a package for Ambassador client referral program - when the order is completed, I use the hook to hit the ambassador api and give the referrer credit. It’s a % of the total without taxes and shipping, minus the discount. I am just trying to figure out if I need to loop through each invoice and create a grand total, or if I can just swoop in an take the last invoices subtotal.
Aaron Judd
@aaronjudd
Oct 05 2015 23:32
my gut answer is that I think we should change the invoice to not be an array, but an object per payment. in most cases you’d only have a single payment, and could just use the invoices object, however because billing is now array with multiple payments, the better approach would be to loop through each orders.billing.$.payments.invoice, or to use the .cartTotals () from hooks.js (the order summary)
we’ll be putting discounts, adjustments in that same arrayorders.billing.$ as well
Paul Grever
@paulgrever
Oct 05 2015 23:36
that is very helpful. Thank you! Also do you know if discounts will be counted as a positive integer or negative?
Aaron Judd
@aaronjudd
Oct 05 2015 23:36
positive integer
Paul Grever
@paulgrever
Oct 05 2015 23:42
Thank you! Super helpful it’s almost there now.
Aaron Judd
@aaronjudd
Oct 05 2015 23:43
hopefully this refactor won’t be super painful for everyone, but my plan is that 0.9 is the last major refactor so every refactor that has been on the wish list is getting thrown in here ;-)