These are chat archives for reactioncommerce/reaction

18th
May 2018
Rajagopal Natarajan
@haxplorer
May 18 2018 07:35
Any performance benchmarks available for Reactioncommerce vs popular frameworks?
Loan Laux
@loanlaux
May 18 2018 07:46
Not as far as I know @haxplorer. However, if this is for marketing/sales purposes, I'd use the Project Ricochet Fortune 10 case study as a reference.
Rajagopal Natarajan
@haxplorer
May 18 2018 07:48
@loanlaux This is for me to decide whether to go with Reaction for my need. In the absence of one, I would need to do it myself and see where the bottlenecks are. Almost all the companies currently using Reaction are at small scale.
Guus Huizen
@iAmGuus
May 18 2018 07:49
Now a question arises to my mind: How far can Reaction scale if all stores using Reaction are mostly small scale?
Loan Laux
@loanlaux
May 18 2018 07:50
Then yes, looks like you'll have to do it yourself
Rajagopal Natarajan
@haxplorer
May 18 2018 07:51
Cool, will do and share the results.
Loan Laux
@loanlaux
May 18 2018 07:51
@iAmGuus In my experience, Reaction is pretty easily to scale if you're deploying it as an array of Docker containers
Guus Huizen
@iAmGuus
May 18 2018 07:52
So would you need a load balancer then to balance load among the docker containers?
And are those docker containers all ran on one vm?
Rajagopal Natarajan
@haxplorer
May 18 2018 07:54
How has the support from the core developers been in terms of accepting patches, etc. in the past?
Loan Laux
@loanlaux
May 18 2018 07:54
It's up to you, but I would suggest not. The whole point here is to distribute the load. And yes, you'd need a load balancer to equally distribute requests.
Rajagopal Natarajan
@haxplorer
May 18 2018 07:55
I’m not looking for everything to be in place from day 1. I understand that Reaction is fairly young and would have rough edges. But I don’t want to be maintaining multiple patches for defects. Plugins for additional functionalities is fine. If there is a problem and I fix it for myself and want it to go upstream, do the core developers generally review and accept changes that make sense?
Any experience on this for anyone in the community?
Guus Huizen
@iAmGuus
May 18 2018 07:56
Alright thanks, I have never really ran any apps in production so its all kinda new to me @loanlaux
Loan Laux
@loanlaux
May 18 2018 07:57
@haxplorer They're pretty responsive. PRs are usually accepted/discussed quickly. Bi-monthly community calls (although recently put on hold) ensure that the developer community is kept up to date. Stable releases are also as frequent as possible.
Rajagopal Natarajan
@haxplorer
May 18 2018 07:57
Great. Thanks @loanlaux
Loan Laux
@loanlaux
May 18 2018 08:00
@haxplorer I'm at your disposal if you need to talk about your project and the suitability of Reaction Commerce for its development: contact@loanlaux.com.
Rajagopal Natarajan
@haxplorer
May 18 2018 08:00
Sure, already checked out your github and consulting profile :)
Will reach out if I need some help
Mykola Striletskyy
@striletskyy
May 18 2018 08:23
Hi, there
Is there any demo of ReactionCommerce with dump data for all users types: Admin, Seller, Buyer?
Mykola Striletskyy
@striletskyy
May 18 2018 08:28
1) May I delete the product after it was achieved?
Screen Shot 2018-05-18 at 11.28.03 AM.png
2) Is there any kind of tutorial?
Rajagopal Natarajan
@haxplorer
May 18 2018 08:34
Adding to @striletskyy ’s question, could the reaction team create some seed data and make it available as part of the code base? Would be helpful for evaluating. Eg., checkout Spreecommerce’s seed data
Loan Laux
@loanlaux
May 18 2018 08:36
@striletskyy @haxplorer Check out the reaction-devtools repository. This might be what you're looking for. https://github.com/reactioncommerce/reaction-devtools
Rajagopal Natarajan
@haxplorer
May 18 2018 08:36
This is great @loanlaux Thanks for pointing to it
Loan Laux
@loanlaux
May 18 2018 08:37
@striletskyy You can only archive products afaik. However, the whole product revision system is undergoing a bit of a refresh so that might change.
wildwolf1991
@wildwolf1991
May 18 2018 09:38
Hi ,
Hi, fellows
Could you explain how to add menu?
Thank you.
Loan Laux
@loanlaux
May 18 2018 09:49
Not sure what you mean @wildwolf1991. Can you elaborate?
Rajagopal Natarajan
@haxplorer
May 18 2018 10:07
I think he wants to know how to add a menu bar(top bar of categories, etc.) to the site
Navigation bar
Loan Laux
@loanlaux
May 18 2018 10:13
Gotcha. You might want to look at the Component API to override the default TagNav component, @wildwolf1991. The swag shop example theme and the docs have explanations on how to do that. Feel free to let us know if you're having issues following the instructions or if that's not exactly what you're looking to do.
wildwolf1991
@wildwolf1991
May 18 2018 10:29
yeah,I mean that.
And I'd like to know about validation error in detail when I add new product.
wildwolf1991
@wildwolf1991
May 18 2018 10:35
question.png
Sorry, I am the beginner for reaction.
Please help me.
The quantity in inventory tracking is not working.
And the price can not be overwrite too.
Mykola Striletskyy
@striletskyy
May 18 2018 10:44

@striletskyy You can only archive products afaik. However, the whole product revision system is undergoing a bit of a refresh so that might change.

@loanlaux not sure that understood you. All archived products will be deleted automatically?

If I'm building marketplace, is there functionality on product's page to show information about seller? Is it functionality from the box?
As I already checked, I believe ReactionCommerce doesn't have any review or comments system for products or sellers? (that's for marketplace)
Mykola Striletskyy
@striletskyy
May 18 2018 10:53
Does ReactionCommerce provide search with Auto-suggest system?
Does ReactionCommerce provide filtering by destination/origin of the product?
Does ReactionCommerce do filtering "Exclude Out Of Stock"?
William Moss
@willmoss1000
May 18 2018 10:55
@striletskyy none of those are built in currently. To use the marketplace functionality properly will require a fair bit of dev work
Guus Huizen
@iAmGuus
May 18 2018 10:55
As for the review system: I recall @loanlaux having made one, check his github to see if u can find it.
Mykola Striletskyy
@striletskyy
May 18 2018 10:58
I see. And also, I wasn't able to see filtering based on the price. Is there such functionality?
Screen Shot 2018-05-18 at 1.58.45 PM.png
Like here
William Moss
@willmoss1000
May 18 2018 11:00
You'll need to add all of these things. It's possible, but will require an experienced developer
Mykola Striletskyy
@striletskyy
May 18 2018 11:00
I see, thanks for letting me know
@willmoss1000 maybe you know how I can delete the product?
Also, I believe that ReactionCommerce doesn't have "Orders History, Order History Details, & Order Confirmation", am I right?
Mykola Striletskyy
@striletskyy
May 18 2018 11:06
How about "New Arrivals and Featured Products (manageable by portal admin team)."? Does ReactionCommerce has it?
Guus Huizen
@iAmGuus
May 18 2018 11:12
Not out of the box, you can all develop those plugins.
Mykola Striletskyy
@striletskyy
May 18 2018 11:28
After installing this package,
@striletskyy @haxplorer Check out the reaction-devtools repository. This might be what you're looking for. https://github.com/reactioncommerce/reaction-devtools
Screen Shot 2018-05-18 at 2.28.06 PM.png
I got following error
Loan Laux
@loanlaux
May 18 2018 11:32
@striletskyy I have indeed built a product review plugin, thanks @iAmGuus for pointing it out. As explained by the guys, you'll have to have these features built for you. About the error happening after installing reaction-devtools, are you sure you did a reaction reset -n before restart Reaction?
Mykola Striletskyy
@striletskyy
May 18 2018 11:39
I did reaction reset
now trying with reaction reset -n
Rajagopal Natarajan
@haxplorer
May 18 2018 11:41

I’m getting the following error after populating a few thousands of products using the devtools’ dataset loading script

Exception from sub Products id CuJynF6XXocNT9aji MongoError: Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.

I had set the overall memory for Reaction at 6GB using TOOL_NODE_FLAGS. How do I allocate more memory for Mongo while starting Reaction? In this case, I’m starting it using “reaction run”. I’m not starting a Mongo instance explicitly. Reaction is spawning one implicitly.

Loan Laux
@loanlaux
May 18 2018 11:43
@striletskyy -n is just a shortcut for "don't empty node_modules". I think a bug report on this would be much appreciated, but I'd ping @zenweasel first to get his thoughts. If I remember correctly, he's the main maintainer of this plugin.
Loan Laux
@loanlaux
May 18 2018 11:52
Ha, I was about to suggestion usign --max-old-space-size @haxplorer. Looks like you'll have to set an index to ease the find operation. I couldn't find anything about raising the memory allocation for Meteor's MongoDB (see: meteor/meteor#8875). https://stackoverflow.com/questions/27023622/overflow-sort-stage-buffered-data-usage-exceeds-internal-limit
Rajagopal Natarajan
@haxplorer
May 18 2018 11:58
Let me check which query is causing that and optimise the indices. Thanks
wildwolf1991
@wildwolf1991
May 18 2018 13:16
Hi,Loan
Could you please help me?
In admin page, I added new product.
And when I click add to cart button, it always says "Publish product before adding to cart."
Why this happens?
Loan Laux
@loanlaux
May 18 2018 13:18
Have you tried clicking on the "Publish" button on the upper-right corner?
wildwolf1991
@wildwolf1991
May 18 2018 13:19
Yes, I have.
Loan Laux
@loanlaux
May 18 2018 13:19
Are the product and its variants set as visible?
Beware of that, because they aren't by default
wildwolf1991
@wildwolf1991
May 18 2018 13:20
let me check again.
Thank you very much.
question2.png
Is there anything wrong in my setting?
Loan Laux
@loanlaux
May 18 2018 13:23
From what I can see, no variant or option seems to be visible here. Also, the product itself doesn't seem to be. Click on the little eye-shaped buttons in the variant/option settings and in the top bar to make them visible.
wildwolf1991
@wildwolf1991
May 18 2018 13:26
Oh, thanks.
It works
^_^
Loan Laux
@loanlaux
May 18 2018 13:26
You're welcome! :+1:
wildwolf1991
@wildwolf1991
May 18 2018 13:32
And I'd like to know how to remove the product that is unnecessary.
Something like this.
Please see below image.
Loan Laux
@loanlaux
May 18 2018 13:32
Just archive them using the box-shaped button.
wildwolf1991
@wildwolf1991
May 18 2018 13:33
question3.png
make sense.
wildwolf1991
@wildwolf1991
May 18 2018 13:48
question4.png
you mean this button?
Loan Laux
@loanlaux
May 18 2018 13:48
Yep
wildwolf1991
@wildwolf1991
May 18 2018 13:49
I am afraid I can not remove the product.
still
Loan Laux
@loanlaux
May 18 2018 13:49
You can't actually remove them, you can only archive them
wildwolf1991
@wildwolf1991
May 18 2018 13:51
but I wanna remove those products.
Loan Laux
@loanlaux
May 18 2018 13:52
I'm afraid that it's not possible through the UI afaik. What's the problem with archiving vs removing them?
William Moss
@willmoss1000
May 18 2018 13:52
@wildwolf1991 if you publish a product once archived it will delete
not sure if this is as designed, but it does in 1.10
Mykola Striletskyy
@striletskyy
May 18 2018 13:55
There should be button to delete the product, for sure.
wildwolf1991
@wildwolf1991
May 18 2018 13:56
can you send me screenshot of that button?
Mykola Striletskyy
@striletskyy
May 18 2018 13:56
No. I'm saying that ReactionCommerce should add such functionality.
Right now, it's missing.
Loan Laux
@loanlaux
May 18 2018 13:57
I agree though, this decision to only have an archive button is a bit confusing for most users.
wildwolf1991
@wildwolf1991
May 18 2018 13:59
Then, how can I add such function?
In which file can I add?
Do I have to access database, and remove them?
Loan Laux
@loanlaux
May 18 2018 14:04
You might want to look into the catalog related code, especially /server/methods/catalog.js. However, I wouldn't recommend this since I assume some other items will probably still refer to deleted products' IDs. Since MongoDB isn't a relational database, I would refrain from doing that.
Abhishek
@thegtagamer
May 18 2018 14:10
Hello everyone
wildwolf1991
@wildwolf1991
May 18 2018 14:40
Hi,
Mykola Striletskyy
@striletskyy
May 18 2018 15:17
looks like ReactionCommerce store cards number in DB
is that correct?
:)
Loan Laux
@loanlaux
May 18 2018 15:19
Not as far as I know, @striletskyy. All payment details should be handled by third party payment processors. Do you have clear-text CC info stored in your store's DB?
Mykola Striletskyy
@striletskyy
May 18 2018 15:21

All payment details should be handled by third party payment processors.

Agree

Do you have clear-text CC info stored in your store's DB?

I just got such information from our dev team. I'll share more information on Monday if that so.

Loan Laux
@loanlaux
May 18 2018 15:25
@striletskyy I'd really appreciate if you could post more details on this. Would like to get the full picture before making any comment.
Mykola Striletskyy
@striletskyy
May 18 2018 15:26
You are right
Loan Laux
@loanlaux
May 18 2018 15:29
@haxplorer PCI compliance is already required for any merchant using the Stripe integration, since it sends credit card info instead of tokens. It does so over SSL of course. But still, if you're using Reaction Commerce with the built-in Stripe plugin, you have to be PCI compliant.
Rajagopal Natarajan
@haxplorer
May 18 2018 15:32
The store need not do anything additional to be PCI compliant other than using HTTPS, while using stripe JS integration
Since just a user+payment method identifying token alone needs to be stored in the db, there is no additional compliance required.
If financial info is stored, one has to get a complete audit done and get certified. Its a 4-6 months headache followed by additional adherence overheads
Loan Laux
@loanlaux
May 18 2018 15:36
Correct. But the main downside with the current non-token-based Stripe implementation is that you can't use Stripe Radar, which kind of sucks for some businesses.
Rajagopal Natarajan
@haxplorer
May 18 2018 15:36
@zenweasel While trying to load images, I’m getting this error. What could I be missing?
Loan Laux
@loanlaux
May 18 2018 15:36
But yeah, if your store uses HTTPS you're pretty much all set
Rajagopal Natarajan
@haxplorer
May 18 2018 15:36
Screenshot 2018-05-18 21.04.59.png
Loan Laux
@loanlaux
May 18 2018 15:37
And there's no reason for running an ecommerce website over cleartext HTTP anyways
Rajagopal Natarajan
@haxplorer
May 18 2018 15:37
True
Abhishek
@thegtagamer
May 18 2018 15:39
Can anyone guide me how i can re position the div element of the price in the pdp to some custom position and display a custom added field like discount label into the pdp page
reactionsend.jpg
Loan Laux
@loanlaux
May 18 2018 15:42
@thegtagamer To modify the PDP, you'll have to override its layout (see /imports/plugins/included/product-detail-simple/lib/layout/simple.js). For an example of how to do that, check out the product review plugin on my GitHub.
Abhishek
@thegtagamer
May 18 2018 15:44
@loanlaux thanks man, will try this now
Rajagopal Natarajan
@haxplorer
May 18 2018 15:49
Screenshot 2018-05-18 21.04.59.png Context: Devtools data loading - Load Images
wildwolf1991
@wildwolf1991
May 18 2018 16:23
I have one question. Do I have to restart my server to add some product images into resource file?
Rajagopal Natarajan
@haxplorer
May 18 2018 17:09
Just curious, why did Reaction choose Meteor for a commerce framework? I would have understood if it were a framework for building engagement apps
Couldn’t see any posts detailing the rationale behind this architectural decision
This is a major one with a lot of scaling implications
Especially curious to know why Meteor as opposed to a vanilla combination of Mongo+Node+Express/Hapi+React or similar where each layer(DB, web services, frontend) could be individually scaled horizontally.
wildwolf1991
@wildwolf1991
May 18 2018 17:20
Hi, Rajagopal . How do you do?
Can you tell me how to solve this problem?
credit card err.png
I've chosen Authorize.net.
Rajagopal Natarajan
@haxplorer
May 18 2018 17:23
@wildwolf1991 It looks like the payment provider you use is validating the card number. There is a certain logic around how card numbers are generated by each network(Visa, Master, etc.). Try using real details and see if you still get an error
wildwolf1991
@wildwolf1991
May 18 2018 17:24
Thank you for your help.
wildwolf1991
@wildwolf1991
May 18 2018 17:28
Great help
Rajagopal Natarajan
@haxplorer
May 18 2018 17:29
yw
wildwolf1991
@wildwolf1991
May 18 2018 17:29
Another question:How to make API login ID and transaction key for a test?
I have made it randomly by myself and I got this result.
ask2.png
Rajagopal Natarajan
@haxplorer
May 18 2018 17:34
@wildwolf1991 It should be available somewhere in the settings of your payment provider
Please read through their docs
wildwolf1991
@wildwolf1991
May 18 2018 18:29
I've read through their docs
But they want me to sign up.
Can you explain how to set up on payment in reaction?
I want testing without any signup.
For example Lemonstand provide us that future I am looking for.
I am believe there will be a same future or setting in reaction.
I mean payment setting.
wildwolf1991
@wildwolf1991
May 18 2018 18:43
I've found it.
You can use example provider.
Thanks anyway.
Patrick Newell
@pnewell4_twitter
May 18 2018 18:49
For all of the Marketplace users out there, I just submitted a PR to address the visibility of products issue (i.e., no longer will all products appear on all Merchant Shop Grids). Would appreciate any/all comments
reactioncommerce/reaction#4259
S Tunji Turner
@stunjiturner
May 18 2018 20:41
How do I upgrade to the latest 1.11 , reaction pull did not work