These are chat archives for reactioncommerce/reaction

3rd
Mar 2017
Patrick Artounian
@partounian
Mar 03 2017 04:36
Playing with it now, and man is it cool, am going to extensively our pricing models today and tomorrow. Quick question, have you guys thought about using Vue.js instead of React? From what I understood it is more similar to Blaze, performs the best from all frameworks.
Brent Hoover
@zenweasel
Mar 03 2017 04:46
We decided on using React about a year ago. You will see that a lot of the app is already converted including the Product Detail Page.
So probably switching to another view layer framework is out of rhe question
Jeremy Shimko
@jshimko
Mar 03 2017 04:47
Nothing stopping you from using it in your customizations though
Patrick Artounian
@partounian
Mar 03 2017 05:11

Okay cool, some documentation mentioning most of it was Blaze, that's why I thought I'd mention it. I was playing with pricing but so far seems to no way to multiple options selected, and have options as price modifiers instead of price replacements? I would like to take a look at working on a plugin or core something along this sort of functionality if it's reasonable with you guys.

Maybe also something similar to these guys, with the dropdown style variants. https://www.printfirm.com/business-cards-printing.html

Brent Hoover
@zenweasel
Mar 03 2017 05:23
One of the things we hope to gain out of converting to React is that pieces of the app can be easily “componentized” so that you could just write the custom component you want and just drop it into the existing code.
Also, one thing about Products to remember is that while the admin UI only allows you to create products with Product/Variant/Options, nothing about the schema per-se stops you from nesting things even deeper. So if you wanted your options to have options, you can do that
Brent Hoover
@zenweasel
Mar 03 2017 05:31
Yeah, that’s a good point. We don’t have a way to “add-on” to a product.
You could probably create a new “product type” that use this pricing model
Patrick Artounian
@partounian
Mar 03 2017 05:35
Is product type a current feature or would that be my custom implementation?
Brent Hoover
@zenweasel
Mar 03 2017 05:38
You would have to create a custom implementation of a product type. Currently we just have “simple” and “variant"
Patrick Artounian
@partounian
Mar 03 2017 06:07
Seems like a fun project. Does this implementation sound like a PR for core or a separate plugin?
Brent Hoover
@zenweasel
Mar 03 2017 06:10
I’d love to see it be a “supported” plugin
Patrick Artounian
@partounian
Mar 03 2017 06:27
Is there any
Patrick Artounian
@partounian
Mar 03 2017 06:33
Sorry that message sent on mobile without me finishing my sentence. Are there any plans on on user types for different pricing and what not? E.g. Wholesale/retail
Brent Hoover
@zenweasel
Mar 03 2017 06:35
We have a plan for “Rates” which would allow for discounts based on things like user type, etc.
geng
@geng890518
Mar 03 2017 09:08
Hi everyone, I'm new to reaction. My computer system is win10 , today I install reaction-master , it last long time after Setting up style imports... anyone can't tell me how to install it in detail
Aditya Khandelwal
@akhand42
Mar 03 2017 10:56
@zenweasel Hey, thanks for the quick reply! Could you please answer the following questions:
  1. I ran reaction init to create my project. This cloned a Dockerfile and a docker.compose.yml file. What commands do I need to execute to deploy this project to Digital Ocean/Docker?
  2. Alternatively, I decided to follow the instructions listed on Deploy Reaction using Docker. However, I am running into a bunch of errors when I try to enter my email address as admin/try to enter the details of a PayPal account to support payments.
Aditya Khandelwal
@akhand42
Mar 03 2017 11:00
@zenweasel Yes, I have! My question is: how do I deploy my own version of reaction (with minor edits here and there) instead of what's hosted at reactioncommerce/reaction:latest on Docker Hub?
Brent Hoover
@zenweasel
Mar 03 2017 11:02
Yeah, unfortuantely I am not so good at the Docker part
That’s more of a @jshimko question
Aditya Khandelwal
@akhand42
Mar 03 2017 11:04
@jshimko cc-ing you on this part
Thank you so much, @zenweasel! Really awesome work with this project! I am still working my way around a lot of parts, but I absolutely love the effort!
Brent Hoover
@zenweasel
Mar 03 2017 11:04
:+1:
Aditya Khandelwal
@akhand42
Mar 03 2017 11:06
@zenweasel are there other ways of hosting this project (let's say on Heroku)? I tried to deploy the project without any changes using the guide in your documentation, but v0.19 appears broken
Brent Hoover
@zenweasel
Mar 03 2017 11:08
nope. 19 isn’t broken
Some people have had luck deploying to Heroku
Docker is our only “official” method of deploying. Unfortunately it takes a little bit to get up to speed on
You could also go with Galaxy
Aditya Khandelwal
@akhand42
Mar 03 2017 11:12
Awesome! I'll wait for @jshimko to reply, and till then, try out the steps in the article/try to use Galaxy
Brent Hoover
@zenweasel
Mar 03 2017 11:13
I don’t know how Galaxy’s pricing is, otherwise I would just endorse Galaxy, since that’s the simplest.
Jeremy Shimko
@jshimko
Mar 03 2017 15:29

@akhand42 The only thing missing from these docs…
https://docs.reactioncommerce.com/reaction-docs/master/deploying-reaction-using-docker
for you to run your own build is a single build command.
From your project…

docker build -t youraccount/reaction:latest .

Then the rest is identical.

docker run -d \
  -p 80:3000 \
  -e ROOT_URL="http://<your app url>" \
  -e MONGO_URL="mongodb://<your mongo url>" \
  -e REACTION_EMAIL="youradmin@yourdomain.com" \
  -e REACTION_USER="admin-username" \
  -e REACTION_AUTH="admin-password" \
  youraccount/reaction:latest
lucas0
@lucas0
Mar 03 2017 15:48
Hi guys, how hard is to make a simple UI for android app access the reaction website?
I'm aware of the benefits of making a e-commerce website with reaction, but i'd like to know there's a way of simply accessing the same website content from an android app with minimal display issues.
Spencer Norman
@spencern
Mar 03 2017 18:08
Is there a way to charge taxes on shipping right now?
Patrick Artounian
@partounian
Mar 03 2017 18:10
Is shipping even taxable?
Spencer Norman
@spencern
Mar 03 2017 18:10
apparently it’s state by state and in CO, it’s taxable
Spencer Norman
@spencern
Mar 03 2017 18:15
Update, looks like there’s a flag in the taxes schema right where it should be
Patrick Artounian
@partounian
Mar 03 2017 18:16
Cool cool, I was trying to test that out for you but my Shipping methods weren't showing up after enabling.
Spencer Norman
@spencern
Mar 03 2017 18:32
So right now I think there’s a flag in the schema, but no UI in the dashboard for enabling taxes on shipping
Spencer Norman
@spencern
Mar 03 2017 22:50
Scratch that again, looks like the flag doesn’t actually work currently :confused:
Brent Hoover
@zenweasel
Mar 03 2017 23:00
@spencern Are you using custom tax codes or one of the providers?
Spencer Norman
@spencern
Mar 03 2017 23:00
Custom tax codes