These are chat archives for reactioncommerce/reaction

29th
Jun 2016
Himanshu Aggarwal
@haggarwal90
Jun 29 2016 05:19
how to use spinner ?
Valery Orloff
@valorloff
Jun 29 2016 06:23
@zenweasel i want add showing cart content in checkout workflow, whether is needed change workflow for it?
Brent Hoover
@zenweasel
Jun 29 2016 06:24
There is already a “review cart” step. Is that different than what you want?
Valery Orloff
@valorloff
Jun 29 2016 06:26
in cart checkout there is no cart content (review) in default workflow
there summary only
Brent Hoover
@zenweasel
Jun 29 2016 06:28
So then you would need to add it
Valery Orloff
@valorloff
Jun 29 2016 06:29
whether is needed change coreworkflow to my custom for it?
Brent Hoover
@zenweasel
Jun 29 2016 06:30
do you mean coreCartWorkflow?
Valery Orloff
@valorloff
Jun 29 2016 06:32
yes
Brent Hoover
@zenweasel
Jun 29 2016 06:32
Yes, you would need to change that workflow
Valery Orloff
@valorloff
Jun 29 2016 06:33
If i created custom checkout package and change coreCartWorkflow to myCartWorkflow
Missing layout for myCoreLayout/myCoreWorkflow Cannot read property 'structure' of undefined ?
citation from customization guide: "Workflows are simply an array of ordered records that point to a template"
where is this definition of this array?
Brent Hoover
@zenweasel
Jun 29 2016 06:33
Why don’t you just add a stage to coreCartWorkflow
Valery Orloff
@valorloff
Jun 29 2016 06:35
ok, thanks @zenweasel
Valery Orloff
@valorloff
Jun 29 2016 06:49
for add cart review need add
{
template: "cartReview",
label: "Cart content",
workflow: "coreCartWorkflow",
container: "checkout-steps-main",
audience: ["guest", "anonymous"],
priority: 0,
position: "0"
}
?
is priority: 0 correct?
Brent Hoover
@zenweasel
Jun 29 2016 06:51
you want this to be the first step?
Valery Orloff
@valorloff
Jun 29 2016 06:51
yes
Brent Hoover
@zenweasel
Jun 29 2016 06:51
I think that should work. I am not sure exactly the role of priority there. I have just always made it the same as position
Valery Orloff
@valorloff
Jun 29 2016 06:52
what is principal difference between workflow and container?
in layout registry context
Brent Hoover
@zenweasel
Jun 29 2016 06:53
container refers to dom layout on the page
there is step-main and steps-side
if you look at the main page that renders the workflow you can those two sections
Valery Orloff
@valorloff
Jun 29 2016 06:54
aa, visual arrangement?
Brent Hoover
@zenweasel
Jun 29 2016 06:54
correct
Valery Orloff
@valorloff
Jun 29 2016 06:54
ok!
Valery Orloff
@valorloff
Jun 29 2016 14:13
@zenweasel , your recomendation for above.., create new package or modify DB by load.js?
Spencer Norman
@spencern
Jun 29 2016 19:27
Are routes in Reaction/flow router case sensitive in any way? I know that URI/URLs are technically case sensitive but it seems as if that the technical limitation has been worked around in some way
We’ve got a case where one of our marketing promotions used an UPPERCASE url but the actual route is routed to a lowercase url. Curious if we need to add an additional uppercase route