These are chat archives for reactioncommerce/reaction

25th
Aug 2016
Adrian Górny
@lashus
Aug 25 2016 05:46 UTC
Hi guys, I have just ran across your project and still a bit confused about one primary thing. How is the shop front-end template set up? I didn't see it through the code.
Brent Hoover
@zenweasel
Aug 25 2016 05:47 UTC
all the templates are in the “client” directory of the various parts of the project
for example if you look in import/plugins/core/checkout/client/templates you should see all the templates relevant to checkout
Adrian Górny
@lashus
Aug 25 2016 05:48 UTC
ach ok, ty
Brent Hoover
@zenweasel
Aug 25 2016 05:48 UTC
:+1:
Adrian Górny
@lashus
Aug 25 2016 05:51 UTC
Yeah it's a bit confusing if you never dealt with it before ^^ still, I can see somewhat "template-parts" that you can build your layout with - u know, checkout page, orders etc. - what about simple pages like "homepage" or product page? I don't see them anywhere
Brent Hoover
@zenweasel
Aug 25 2016 05:53 UTC
the product pages are all in import/plugins/included/product-variant. In the default project the home page is just the Products page
it is structured that way as people want to swap out components with their own custom ones
Adrian Górny
@lashus
Aug 25 2016 05:54 UTC
@zenweasel +1
:+1: xD
Brent Hoover
@zenweasel
Aug 25 2016 05:55 UTC
You can place in a custom home page by overriding some values as described here https://docs.reactioncommerce.com/reaction-docs/master/layout
Have you checked out the customization guide?
Adrian Górny
@lashus
Aug 25 2016 05:57 UTC
@zenweasel as I understand you don't allow customized routes? I've checked it briefly, didnt have time to dive in yet. Would love to help you out guys, just don't know if i will be able as my meteor / js development is still a bit low.
Also - am I the only one having trouble reading these docs? It's loading for sth like 15-20 secs per page
Brent Hoover
@zenweasel
Aug 25 2016 05:58 UTC
No, you can add routes through a custom plugin
atm the docs are loading pretty quickly for me
Adrian Górny
@lashus
Aug 25 2016 06:16 UTC
@zenweasel must be an issue on my side then, thanks.