These are chat archives for reactioncommerce/reaction

20th
Oct 2017
Brent Hoover
@zenweasel
Oct 20 2017 00:00
I am not sure what the problem is exactly?
José Luis Di Biase
@josx
Oct 20 2017 00:00
i want to get on client side, a settings that lives on registry
how i can do that?
oooo nw
you have to put enabled: true
Brent Hoover
@zenweasel
Oct 20 2017 00:02
yeah. Here’s an example of how we are doing it in the Stripe package
shahid
@shahid05688708_twitter
Oct 20 2017 04:59
image.png
shahid
@shahid05688708_twitter
Oct 20 2017 06:04
i am using reaction 1.4.3 how can i remove reaction sub-folder from url
Brent Hoover
@zenweasel
Oct 20 2017 06:04
If you only have one shop you should not have the slug in the URL
if you are using the default data, remove the second shop that’s included
shahid
@shahid05688708_twitter
Oct 20 2017 06:07
can you please give me detail where should i change in file?
Brent Hoover
@zenweasel
Oct 20 2017 06:08
in /private/data/Shops.json, remove the second element from that array
there are two shops, Reaction and <blank shop>. Remove the blank shop
shahid
@shahid05688708_twitter
Oct 20 2017 06:08
ok
Brent Hoover
@zenweasel
Oct 20 2017 06:08
Also, you may want to change your shop name in the settings
shahid
@shahid05688708_twitter
Oct 20 2017 08:46
its not changing the url
I need localhost:3000/about to open about us page not like localhost://3000/reaction/about
Sub pages of website are stuck in "reaction" subdirectory
I have to remove it from url
shahid
@shahid05688708_twitter
Oct 20 2017 08:53
and in Shops.json file its not <blank shop> its blank site element
Brent Hoover
@zenweasel
Oct 20 2017 08:55
did you reaction reset?
shahid
@shahid05688708_twitter
Oct 20 2017 08:55
no
image.png
I need to save the data as well
Brent Hoover
@zenweasel
Oct 20 2017 08:59
then you can just remove the record from the database and restart
shahid
@shahid05688708_twitter
Oct 20 2017 09:00
is there any other solution? i have lots of data in database
Brent Hoover
@zenweasel
Oct 20 2017 09:01
You just need to remove the shop record
shahid
@shahid05688708_twitter
Oct 20 2017 09:01
ok
shahid
@shahid05688708_twitter
Oct 20 2017 11:42
I remove the shops table record and restart reaction but could not remove reaction from URL
Brent Hoover
@zenweasel
Oct 20 2017 11:43
if there is only one shop it doesn’t use the shop prefix
shahid
@shahid05688708_twitter
Oct 20 2017 11:47
Santiago Botta
@sgobotta
Oct 20 2017 13:18
@zenweasel Hi Brent. Yes, I use the hooks api frequently. Although I notice reaction attempts to find a shop Id even before any call to "onCoreInit" operations that have been previously hooked. server/api/core/core.js line 25
RJ Garcia
@ragboyjr
Oct 20 2017 21:08
Do you guys plan on updating to meteor 1.6 right away when it comes out or is that a lower priority feature?
RedFelix
@J2Phoenix
Oct 20 2017 21:21
Where is the theme editor?