These are chat archives for reactioncommerce/reaction

28th
Feb 2017
Davi Pereira
@xdavipereira
Feb 28 2017 02:24

Hi!

After updating Reaction to the most recent version today, and running my existing project again, many areas of the shop had texts missing. happens to someone else?

Brent Hoover
@zenweasel
Feb 28 2017 02:24
Yeah, It’s an issue with one of our downstream packages.

we are trying to find the real solution but in the mean time just change this line in your package.json
"i18next": "^7.0.1”,

to be

"i18next": "7.0.1”,

and then do a reaction reset and reinstall your packages
Aesop7
@Aesop7
Feb 28 2017 02:29
Hi all, we're getting ready to launch our new Reaction store dark but we're still working through some small UI things
we're on an older version (0.14) and right now I'm just trying to figure out how to make Stripe the default payment (so that it is always expanded)
Do I have to modify the template, or is there a way to do this?
this is what is defaulting to collapsed:
image.png
Brent Hoover
@zenweasel
Feb 28 2017 02:35
@Aesop7 I think we introduced a setting for default payment in a later version but I think in that version we didn’t yet. Do you see that in the payment settings?
Aesop7
@Aesop7
Feb 28 2017 02:36
hmm, am I looking in the right spot?
image.png
it's not a setting for Stripe afaict
Brent Hoover
@zenweasel
Feb 28 2017 02:37
No
Brent Hoover
@zenweasel
Feb 28 2017 02:39
No, h/o
Aesop7
@Aesop7
Feb 28 2017 02:39
kk, sorry
admin-dashboard-payments-discounts_png__2984×2064_.png
I don’t remember which version that was introduced in
Aesop7
@Aesop7
Feb 28 2017 02:43
image.png
looks like it was after 0.14 --
ha, well at least now we know :)
Brent Hoover
@zenweasel
Feb 28 2017 02:47
it should be a pretty small change to the template
Aesop7
@Aesop7
Feb 28 2017 02:47
now comes the cost-benefit of an upgrade...
Oh really?
is that template easily editable?
I thought because it was checkout it might be more difficult
Brent Hoover
@zenweasel
Feb 28 2017 02:48
I could be wrong, but I remember that part being fairly simple. Just looping through the payment methods and showing their checkout form
14 seems like a million years ago tbh
Aesop7
@Aesop7
Feb 28 2017 02:49
haha, fair enough... I'll dig in and see if I can find that template
Brent Hoover
@zenweasel
Feb 28 2017 02:49
there;s that part that identifies the checkout steps
looking
Brent Hoover
@zenweasel
Feb 28 2017 03:01
imports/plugins/core/checkout/client/template/checkout/payment/methods/cards.html
{{#each reactionApps provides='paymentMethod' enabled=true}}
I think you could just modify this line:
<div id="{{template}}" class="panel-collapse collapse {{isOpen this}}" role="tabpanel" aria-labelledby="{{name}}”>
Aesop7
@Aesop7
Feb 28 2017 03:08
I was just looking at that... was trying to figure out if editing the "isOpen" function
if (state.equals("defaultPaymentMethod", name) || priority === "0" && state.equals("defaultPaymentMethod", "none")) { return openClassName; }
if changing "defaultPaymentMethod" to "Stripe" or something similar might solve it
Brent Hoover
@zenweasel
Feb 28 2017 03:09
you sure you don’t have that setting?
Aesop7
@Aesop7
Feb 28 2017 03:10
I don't see it in the gui at least -- I posted the screenshot
Let me check to see if it might be in a colleciton somewhere...
Brent Hoover
@zenweasel
Feb 28 2017 03:10
That’s the dashboard, not where it would be
I sent you a screenshot if where it would be
Aesop7
@Aesop7
Feb 28 2017 03:10
I saw "Payments" under "Core"
that's not where it was?
Brent Hoover
@zenweasel
Feb 28 2017 03:10
I’m bringing up 14 on my machine
it might have been under “Shops” or whereever you set the shop settings in that release
Aesop7
@Aesop7
Feb 28 2017 03:11
it was under "Core"
Brent Hoover
@zenweasel
Feb 28 2017 03:12
ah, there you go
that should do what you want I think
Aesop7
@Aesop7
Feb 28 2017 03:12
:D
looking good!
image.png
Thank you!
Brent Hoover
@zenweasel
Feb 28 2017 03:13
:+1:
Aesop7
@Aesop7
Feb 28 2017 03:18
Okay last question -- If we wanted to change it from saying "Stripe" to "Secure Checkout, Powered by Stripe" -- would the approach be to modify the template, or is it in a colleciton?
Brent Hoover
@zenweasel
Feb 28 2017 03:19
Hmmm, I would be careful about changing the name of the package
Aesop7
@Aesop7
Feb 28 2017 03:19
fair enough... maybe we'll just change it via CSS if need be
Brent Hoover
@zenweasel
Feb 28 2017 03:20
except for Paypal I am not 100% why we even show those names
Aesop7
@Aesop7
Feb 28 2017 03:20
lol
Brent Hoover
@zenweasel
Feb 28 2017 03:21
I don’t think customers know/care who the payment provider is
Aesop7
@Aesop7
Feb 28 2017 03:21
all they really care about is the "https" in the URL... the rest can be transparent
Brent Hoover
@zenweasel
Feb 28 2017 03:21
yeah, showing them that probably makes them think “oh, should I be worrying about that?"
Aesop7
@Aesop7
Feb 28 2017 03:22
"Hmm, 'Stripe?' what's this Stripe thing and why am I giving them my Credit Card"
I could imagine my mother thinking that
Brent Hoover
@zenweasel
Feb 28 2017 03:23
Yep
mothers are always an excellent gauge
Aesop7
@Aesop7
Feb 28 2017 03:24
ha, especially for our market :)
my mom is going to be UI tester 1
Brent Hoover
@zenweasel
Feb 28 2017 03:24
I am pretty sure in the current version we don’t show the payment provider
Aesop7
@Aesop7
Feb 28 2017 03:25
no chance you have a screenshot handy, is there?
Brent Hoover
@zenweasel
Feb 28 2017 03:25
of the current version?
Aesop7
@Aesop7
Feb 28 2017 03:25
yea
Brent Hoover
@zenweasel
Feb 28 2017 03:25
Standby, I am re-powering it up after my switch to 14
Aesop7
@Aesop7
Feb 28 2017 03:29
lol, I owe you a beer if I ever see you at a conference
Brent Hoover
@zenweasel
Feb 28 2017 03:33
Cart_checkout.png
back in version 18, Aaron rewrote a lot of the payment stuff so it’s a lot cleaner looking
Cart_checkout_and_Inbox__14__-_brent_thebuddhalodge_com_-_The_Buddha_Lodge_Mail_🔇.png
and in 19 we cleaned up the dashboard. No cards.
Aesop7
@Aesop7
Feb 28 2017 03:37
i like it a lot
19 looks great
is there documentation on the SMS notifications?
Brent Hoover
@zenweasel
Feb 28 2017 03:39
that’s a good question
I’m not seeing any. But basically you set up your SMS service and it sends SMS to the admin and the customer
Aesop7
@Aesop7
Feb 28 2017 03:40
i like it
Brent Hoover
@zenweasel
Feb 28 2017 03:40
yeah, nice feature. An external contributor.
Aesop7
@Aesop7
Feb 28 2017 03:40
we have sms functionality on our list
Brent Hoover
@zenweasel
Feb 28 2017 03:40
discounts, taxes
email templates
so much has been added
Aesop7
@Aesop7
Feb 28 2017 03:41
I really love the new version and the new features... and I've been following the upcoming marketplace functionality closely. But we customized so much of v.14 we're a little concerned about updating... especially since we want to launch ASAP
Brent Hoover
@zenweasel
Feb 28 2017 03:41
Yeah, I totally hear you.
if you are going to upgrade, you might as well wait until 1.0, which is just around the corner tbh
Aesop7
@Aesop7
Feb 28 2017 03:42
I think if we get traction with our site on v.14 we'll look at upgrading as the next big project that we tackle
ahh, there we go :)
that might be perfect timing for us
Brent Hoover
@zenweasel
Feb 28 2017 03:42
also Shippo integration is a big one
but y’all must have worked around all that stuff already
Aesop7
@Aesop7
Feb 28 2017 03:43
ha, it's very bootstrapped, but yeah
shippo was something I actually looked at a couple years ago in the early stages... stoked to hear it's coming
Brent Hoover
@zenweasel
Feb 28 2017 03:44
it’s not coming, it’s done
released in v0.19
product search….
so many features...
I’m just torturiing you now
Aesop7
@Aesop7
Feb 28 2017 03:44
hahha, yes, yes you are
its good though
it's motivation to upgrade ASAP
Aaron Judd
@aaronjudd
Feb 28 2017 03:59
@mikeumus @vigyano You might be interested in #1909, and the docs @mikemurray added today..
Michael Duane Mooring
@mikeumus
Feb 28 2017 04:21
@aaronjudd Very cool. Thank you @mikemurray :bow:
Can definitely use this.
Michael Duane Mooring
@mikeumus
Feb 28 2017 05:28
Is there a Inventory settings options (or a way to turn them off) in RC v0.19?
Brent Hoover
@zenweasel
Feb 28 2017 06:00
No. But you could accomplish pretty much the same thing by just deleting the plugin and commenting out the subscription
Michael Duane Mooring
@mikeumus
Feb 28 2017 06:04
:smiling_imp:
Dennis Öhman
@madsoulswe
Feb 28 2017 13:35

@zenweasel When we are testing we have about
250 anonymous users
150 orders and on each order there are 2 items, item 1 is only one of but item 2 there is 40-100 in quantity.
And the orders page is slow as hell and crashes the server with 100% cpu and Chrome says the tab is not responding.

It's like the Orders and UserProfile subscribtions both loads in to memory?

Arturo
@paperbaker
Feb 28 2017 16:15
I haven't checked out 0.19
Arturo
@paperbaker
Feb 28 2017 16:37
@madsoulswe I have the same issue under similar circumstances with 100% cpu as well
amp9020
@amp9020
Feb 28 2017 17:27
Hi, is there a way to populate products from an external API call?
Spencer Norman
@spencern
Feb 28 2017 19:40
@madsoulswe do you have the chrome meteor dev tool installed?
Aaron Judd
@aaronjudd
Feb 28 2017 23:04
@madsoulswe created #1921 for order pagination.