These are chat archives for reactioncommerce/reaction

9th
Dec 2014
Aaron Judd
@aaronjudd
Dec 09 2014 00:02
so I have 10 products, they are all clones of product #1, but I decide to change pricing, description or other attributes of the variants on product 2, I want to have a reference back to product 1 (parentId) so that I can reset the altered variants attributes back to the original product’s attributes, and maintain that kind of relationship all the way down (clone product 2, alter product 3’s variant attributes, I should be able to override all the way down the chain starting at product 1, or product 2.
Everest Liu
@evliu
Dec 09 2014 00:03
hmm, but if a variant has options, you can’t check out that variant, right? you can only check out on one of the options of that variant
Aaron Judd
@aaronjudd
Dec 09 2014 00:04
maybe nesting them would make sense if they were truly “options”, but there are other use cases, think “bundled” products -> where a product is comprised of multiple variants -> not just one, or configurable products like a computer (Hdd, ram, screen).
actually a variant doesn’t have an option
you only check out with a variant, the variant is the product
so when you stock inventory, you don’t stock an “option”, you stock a “Sku"
Everest Liu
@evliu
Dec 09 2014 00:05
hmm, say the basic example variant from the fixture is used as an example, i can’t add the basic example variant to the cart, it asks me to select an option under that variant
Aaron Judd
@aaronjudd
Dec 09 2014 00:05
Shoe, Red, Size 8, is a product number xxx
it’s not a combination of options
if you delete those two example options, you can check out
it’s only requiring you to select one, because we’ve identified that there are “child product (again, hence the parentId)
Everest Liu
@evliu
Dec 09 2014 00:06
that part i understand, but i mean as-is, the “basic example variant” then is not really a variant then
hmm, i guess the variant then becomes a wrapper, but is not truly a variant either
Aaron Judd
@aaronjudd
Dec 09 2014 00:07
lol, correct - there are no “options” or even “variants”
it’s about the presentation layer here -> you want it to appear like there are “options”, but in the physical world it doesn’t work that way
Everest Liu
@evliu
Dec 09 2014 00:08
i c. i’m just thinking that makes a flatfile much more complex compared to amazon’s flatfile or others like it
Ben Stocks
@bstocks
Dec 09 2014 00:08
it seems like no matter what way it’s structured, there will be a use case where the schema and the appearance to users don’t line up
Everest Liu
@evliu
Dec 09 2014 00:13
hmm, it doesn’t have to exactly line up though, does it? on the model layer, you have utility methods that would translate between the data between business model and schema
then SKUs would be attached to the options themselves, but for the sake of organization to group things together under their parents
Aaron Judd
@aaronjudd
Dec 09 2014 00:14
not really more complex, the flat files are exactly that http://www.amazon.com/gp/help/customer/display.html?nodeId=200186090#templates_tables -> they are a list of “variants"
and, note that there are different formats for all the different product types
so to export to amazon, you’d really be exporting a list of variants
Everest Liu
@evliu
Dec 09 2014 00:16
ahh i c
Aaron Judd
@aaronjudd
Dec 09 2014 00:16
if you compare this structure to the magento’s product schema http://www.magereverse.com/index/magento-database-diagram/version/1-7-0-2
well - lol - I won’t even bother trying to explain that one
Ben Stocks
@bstocks
Dec 09 2014 00:18
arg, my brain!
Aaron Judd
@aaronjudd
Dec 09 2014 00:19
well sorry, that link doesn’t show a flattened product structure...
but take my word for it, it’s more complex and yet our schema can handle all the same functionality, for reference: http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/catalog_product/producttype
Everest Liu
@evliu
Dec 09 2014 00:22
haha got it
Aaron Judd
@aaronjudd
Dec 09 2014 00:24
maybe I shouldn’t have called that field a “parentID”, but really all it does is indicate the hierachy -> if you removed the “parentId” -> it would just “move up a level” visually, but the functionality is the same
now-> all that said… @aldeed and I have discussed a couple times if variants should really be their own collection, or if we even need the product “wrapper"
ie, we could move descriptions,etc into the variants as well… and just have the “product” be a array of variants.. there might be some ways to rethink that...
another use case to remember...
Everest Liu
@evliu
Dec 09 2014 00:28
you probably shouldn’t add the parent description into the variants, because if you have a 10,000 word description for a product with 1000 variants, that’s a lot of overhead
so in the grid you see multiple different “Brooks"
but those are actually “variants"
because if you look at the product detail page
they are the same products that are in the grid
when you choose options
so, that would be simple functionality to add to our product grid, instead of just showing the “product" (which uses the first variant for details, pricing) - we could show all variants, or just the most popular variants (which is what zappos does)
and we already do this, but each variant gets its own url as well
and yes -> that’s why I kept the descriptions in the “wrapper”, but at some point, I think we’ll add them to variants as well,and just cascade from the wrapper if the field is empty
Aaron Judd
@aaronjudd
Dec 09 2014 00:38
(now everyone is shopping for shoes on zappos) :thought_balloon:
Everest Liu
@evliu
Dec 09 2014 00:39
haha
but yea, that makes sense, just looks like a mess :P
Aaron Judd
@aaronjudd
Dec 09 2014 00:39
nothing easy about products
@bstocks you have two weeks before this chat disappears to summarize this in the docs, LOL
Ben Stocks
@bstocks
Dec 09 2014 00:42
I’m going to copy it all into a document so I don’t lose it for any reason. then I’ll translate into docs. it’s good stuff
it actually pastes pretty cleanly into google docs
Aaron Judd
@aaronjudd
Dec 09 2014 00:45
@evliu -> all this said -> I do want to add the ability to add additional depth (and maybe that would be where we do actually embed another array of variants within the variant), as well as “add ons” and “related/upsells"
Everest Liu
@evliu
Dec 09 2014 00:46
haha, and i thought it was already complex enough :P
but yes, like if you were to buy a car, you do model, trim, options, color, etc, and those can be nested, lol, but i think the business logic would determine the SKU based off options programatically
which is where integration tests to make sure SKUs exist for those combinations work
Aaron Judd
@aaronjudd
Dec 09 2014 00:47
yeah, that’s the “configurable” product model
but what is happening with a “car” or a “computer” is that you are generating a “build sheet” -> and each of those items is a “variant"
Everest Liu
@evliu
Dec 09 2014 00:48
will there be a image CDN option later on? say a seller has all their images on an image CDN
ahh that’s smart
i’m glad you have 20yrs experience in the field, haha, i’m learning a ton about ecommerce
Aaron Judd
@aaronjudd
Dec 09 2014 00:51
re: the CDN, collectionFS, which we use for the filestorage, supports multiple file handlers
so we can add S3, or CDNs as needed
Everest Liu
@evliu
Dec 09 2014 00:52
oh yea, i forgot, i asked before and you answered before too, haha, thx for your patience
Aaron Judd
@aaronjudd
Dec 09 2014 00:52
I’m actually happy to have these chats, because it will help us add to the documentation, and explain things in more details for the next person
Everest Liu
@evliu
Dec 09 2014 00:53
yea, and i’m glad you answer questions, haha, it helps so much. i usually try to google stuff first, but some things just aren’t answered in life
Aaron Judd
@aaronjudd
Dec 09 2014 01:06
@evliu btw - originally we supported video in addition to images, we’ll add that back at some point
Everest Liu
@evliu
Dec 09 2014 01:07
great, that’s definitely a key feature for upcoming eCommerce sites
Aaron Judd
@aaronjudd
Dec 09 2014 01:07
yeah, it’s probably just a few hours of work.. .one of these days
Everest Liu
@evliu
Dec 09 2014 01:08
as long as it’s not stored on mongo :P hahaha
“for some reason, my mongodb is 5TB; it takes forever to mongo export/import it!” lol
Aaron Judd
@aaronjudd
Dec 09 2014 01:09
lol, well those 5TB would have to be somewhere
Everest Liu
@evliu
Dec 09 2014 01:10
hopefully a CDN made for storing video, lol
Aaron Judd
@aaronjudd
Dec 09 2014 01:11
GridFS parses everything down into small chunks, so actually not that bad -> but yeah -> when we had the videos we were using ink file picker. (which is great), but I’d probably setup the S3 module for video storage
Everest Liu
@evliu
Dec 09 2014 01:12
yea, S3 or any other CDN
Aaron Judd
@aaronjudd
Dec 09 2014 01:12
I’d like to eventually replicate most of the funcationality of https://www.filepicker.io/ with our native image gallery, but a plugin to use ink would be reasonable as well
Everest Liu
@evliu
Dec 09 2014 01:13
i c, first time hearing of it
Aaron Judd
@aaronjudd
Dec 09 2014 01:14
core reaction concept: you should be able to run without signing up for a bunch of services. All services should be optional.
Everest Liu
@evliu
Dec 09 2014 01:14
yea, i’d make that same executive decision if it was up to me
Stefan Smiljkovic
@shtefcs
Dec 09 2014 08:14
hey guys I am glad i found this chat :)
Any can provide freelance work in meteorjs and ReactionCommerce ?
Taylor Smith
@taylorsmithgg
Dec 09 2014 14:04
Thanks for the invite Aaaron. I'm currently working on implementing some features with reaction for a personal project. I'll probably be contributing to the project soon!
Walter Carvalho
@waltfy
Dec 09 2014 16:27
This message was deleted
Ben Stocks
@bstocks
Dec 09 2014 17:17
Welcome to the chat @shtefcs, @taylorsmithgg
Jacob Gadikian
@faddat
Dec 09 2014 20:03
howdy-- about to do a deployment; anyone have any sage advice before I get going?
Aaron Judd
@aaronjudd
Dec 09 2014 20:04
you mean getting running locally? should be easy enough, but there are some updated docs in the v0.2.2 branch
Everest Liu
@evliu
Dec 09 2014 20:44
meteor remove insecure haha
Jacob Gadikian
@faddat
Dec 09 2014 20:45
"locally" on gcloud yes
and.... does the docker file work or is it presently unfinished?
Stefan Smiljkovic
@shtefcs
Dec 09 2014 20:45
this chat is amazing
^^
Jacob Gadikian
@faddat
Dec 09 2014 20:46
I am ambivalent: It basically serves the role that IRC did/should
Stefan Smiljkovic
@shtefcs
Dec 09 2014 20:46
does anyone provide freelance piad work ?
I wanna build something like redbubble, zazle and so on
i have editor which is not finished yet
Daniel Sont
@ds0nt
Dec 09 2014 20:47
greetings
Stefan Smiljkovic
@shtefcs
Dec 09 2014 20:47
so we need someone to integrated it, so that u from one Artwork can create multiple products, like mugs, t-shirts, phone cases and so on
that would be awesome if everyone can have store like that
Daniel Sont
@ds0nt
Dec 09 2014 20:48
shtefcs you looking for a dev?
@shtefcs ?
Stefan Smiljkovic
@shtefcs
Dec 09 2014 20:49
yes
not expensive one, the solo guy who enjoy coding in meteor and wanna help me
Daniel Sont
@ds0nt
Dec 09 2014 20:51
:p that's not me. =] good luck though
does anyone have any experience deploying with docker?
Aaron Judd
@aaronjudd
Dec 09 2014 21:52
@metagen I’ve been working on https://github.com/ongoworks/launchdock, in addition to reaction - so feel free to ask docker questions
@shtefcs I actually built a custom product “maker” that did exactly as you describe (in javascript, rendered with SVG) a couple years ago
Aaron Judd
@aaronjudd
Dec 09 2014 21:59
@faddat the dockerfile works, that’s what we use for creating the docker image here: https://registry.hub.docker.com/u/ongoworks/reaction/
just run docker build . to test locally
vngo99
@vngo99
Dec 09 2014 22:03
Hi, just wondering about Reaction and the refund process?
Aaron Judd
@aaronjudd
Dec 09 2014 22:05
much of the order workflow is still under-development - you can place an order, etc but the order management screens are very rudimentary - so you’d either need to work on enhancing those, or write your own screens to manage refunds
I’ve got them on the roadmap though
and of course, you’d want to hook that into the payment methods as well
Taylor Smith
@taylorsmithgg
Dec 09 2014 23:08
@aaronjudd After populating the orders collection with the data from /private/Orders.json, it displays the red circle with a 9 in it. The orders dashboard app doesn't have new data. (0 pending, processed, etc.) Is there something I'm missing?
vngo99
@vngo99
Dec 09 2014 23:26
thanks
Aaron Judd
@aaronjudd
Dec 09 2014 23:45
@taylorsmithgg hmmm, it should have changed. should be 9 pending
all of those, should function as expected (and the steps to order completion)
actually, try completing an order as a “real user", it’s possible the sample orders.json data structure is just out of date
I’ve been working with orders lately, so I know those steps should be functioning