How I Create Modern E-Commerce Stores with Next.js

  Рет қаралды 47,550

Josh tried coding

Josh tried coding

8 ай бұрын

Adding payments to your store can be scary. What if you do something wrong? Well, it's actually not hard. Here's an approach I find really cool, and getting set up is pretty easy with this template too. Especially for freelance projects this is great.
Setup guide: vercel.com/docs/integrations/...
-- my links
My SaaS (closed beta, not public yet): www.splitter.gg/
My Discord: / discord
My GitHub: github.com/joschan21

Пікірлер: 168
@johnychinese
@johnychinese 8 ай бұрын
Hey I never do this but would be really glad if you do a full project on how to use shopify with nextjs 😊
@lovrozagar3729
@lovrozagar3729 8 ай бұрын
YESSS do it Josh! 🤩
@jamesnelson174
@jamesnelson174 8 ай бұрын
Yes do it Josh. Thank you
@denvudd4492
@denvudd4492 8 ай бұрын
Yess that would be great 💯
@paredesparedespg
@paredesparedespg 8 ай бұрын
do this josh
@ashutoshnautiyal3372
@ashutoshnautiyal3372 8 ай бұрын
Yes pls
@youssefbedhief2050
@youssefbedhief2050 8 ай бұрын
I think it would be very interesting if you do a full project on how to create an e-commerce app with shopify and next.js 😁
@JohnRod
@JohnRod 8 ай бұрын
Yes!
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
oh hell yeah. I think many people are used to stripe for this, but credit cards are not nearly as common elsewhere as in the US
@bojanperic1160
@bojanperic1160 8 ай бұрын
Just had the same thought 👍
@SamirElias-ru1td
@SamirElias-ru1td 8 ай бұрын
bro make a tutorial about this is fire !
@elhaambasheerch7058
@elhaambasheerch7058 8 ай бұрын
Would love to see a big e commerce project with Shopify & next on this channel, this seems really really good!
@itstalhasattar
@itstalhasattar 8 ай бұрын
👍
@hussainbhagat8855
@hussainbhagat8855 7 ай бұрын
Hey Josh, love all your videos which are crisp and on point. Would love some in-detail videos like tutorials or projects like creating an e-commerce app using Shopify and nextJS.
@marcofaquim
@marcofaquim 7 ай бұрын
Awesome content. The amount of work you saved me is amazing. Thank you Josh for your hard work
@fehlercode03
@fehlercode03 8 ай бұрын
that's probably the best and most user friendly way to implement this functionality :D
@ahbegnueg
@ahbegnueg 8 ай бұрын
Hey there Josh! Thanks for your informative videos! I would be really excited if you could upload a full video where you build a shop exactly in this manner. I love how it's so fast, allowing customers to quickly access the product page without waiting. Since I'm not familiar with all the steps, a comprehensive project video would be fantastic, and it would greatly assist me (and probably many others) as well. If you could construct a shop from scratch, starting from zero, I'd be extremely delighted if you could showcase everything. I'm eager to learn how to program a shop like this, and I can only do it with your guidance! Grüße 😁
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
Appreciate the suggestion man, seems like many people would really like this! Grüße zurück :)
@PlayhouseMediaGroup
@PlayhouseMediaGroup 8 ай бұрын
This is way cool, If you can do a full tutorial for an online shop with this
@scarswell12
@scarswell12 7 ай бұрын
Would love to see a full tutorial on how this can be done.
@pauls6277
@pauls6277 8 ай бұрын
The same can be done with Square Space too :D. Great video Josh!
@neodinok-it3ym
@neodinok-it3ym 8 ай бұрын
Gread video. A full-stack tutorial on Next.js store would be much appreciated
@cosmo5805
@cosmo5805 8 ай бұрын
Love your videos! Can you make a video about how to structure a scalable, complex, enterprise-level app using Next.js? I find the Atomic Design Methodology very interesting. Is it scalable? Why or why not? I think it would make a great idea for a video.
@lovrozagar3729
@lovrozagar3729 8 ай бұрын
Please do a full tutorial for this kind of project
@scuffey2608
@scuffey2608 8 ай бұрын
hey Josh great content!! could share (maybe a video) on how you handle design for your freelance work? do you work with a designer? design your self? or ask the customer to bring their own design?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
Sometimes they already have an idea or even a designated design team. If not, using TailwindUI and shadcn/ui works wonders for creating a beautiful UI quickly
@Invct2755
@Invct2755 8 ай бұрын
Let's go a new video, thanks bud
@rockydaffodil4770
@rockydaffodil4770 8 ай бұрын
Hey Josh, I liked the video, but is there a way to automate the shipping after the client has bought the product?
@Ikakoo2410
@Ikakoo2410 8 ай бұрын
Could you explain difference between invalidate queries and refetch? Their pros and cons and which is better?
@GfoxSim
@GfoxSim Ай бұрын
This is really cool and simple. Wow.
@igeajibola732
@igeajibola732 7 ай бұрын
Josh, please create a project on this concept, it's nice
@rowsncols
@rowsncols 8 ай бұрын
Thanks man It's so crazy how I got my first client a few days ago requesting an e-commerce, and first your 1,000$ video then this! must be a sign
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
wish you all the best for your first gig!!
@rowsncols
@rowsncols 8 ай бұрын
@@joshtriedcoding thank you brother 🙏
@tuedodev9021
@tuedodev9021 2 ай бұрын
I like your videos. It´s an older video, but just one thought. Being myself working with Next JS (and despite some concerns I like it) going with shopify as CMS I would definetely consider Remix as JS frontend instead, because the guys from shopify buyed Remix end of 2022, so in the long run I guess it´s easier in combination with Remix I assume. Or in other words: Changing the frontend later is much easier than changing your CMS. Keep the vibe going.
@rafaelmingossi1914
@rafaelmingossi1914 8 ай бұрын
Hey Josh you could run a small project integrating Shopify + NextJS from scratch with cart functionalities more in details =D Thanks!
@jss_developer1432
@jss_developer1432 8 ай бұрын
Wow very cool! I’ve only built a SAAS with one type of membership so, this sounds more robust eccommerce! I’m sure this is one good way , Wordpress has woo commerce , I wonder if there are other good platforms/ services that we ca use to achieve this with nextjs ?
@rashzh5502
@rashzh5502 8 ай бұрын
Also Shopify offers Hydrogen, a framework built upon remix, designed for constructing storefronts.
@itsdrvgo
@itsdrvgo 8 ай бұрын
"Big ass Tshirt" - Proof that Josh watched Fireship's latest video
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
i actually haven't, did he use the same example?
@kacperkowalski6862
@kacperkowalski6862 8 ай бұрын
Video about e commerce in next js that's what i wanted always to see
@andys_industries
@andys_industries 8 ай бұрын
you got yourself a new follow
@phantazzor
@phantazzor 8 ай бұрын
sorry I wanted to add, versus the hydrogen remix version starter project do you get similar project? with pre-build SSR components/components? I'd like to keep going with next and not remix but I'd like to know the pros and cons besides having to learn remix
@jlndev
@jlndev 8 ай бұрын
Been doing it like this aswell but there were always 2 things that bothered me: - Persisted login state (between the frontend and the hosted checkout page) - Hooking up to shopify builtin analytics page. Did you figure that out?
@Ja-rz9fq
@Ja-rz9fq 8 ай бұрын
Great idea, unfortunately Stripe is not supported in my country (Bosnia). Are there any other solutions for creating a business, shop or whatever its called on Shopify without Stripe, i mean is there any alternatives like credit cards or stg like that...
@arman3400
@arman3400 6 ай бұрын
Bro! You're a lifesaver, my job is asking me to redo their entire ecommerce shop, from the code to design, with a shopify backend (and I already know NextJS, Tailwind, Typescript, etc). If you do a full project video that would help me (and judging by the comments) and others so much. PleasE!~
@adejesaru
@adejesaru 2 ай бұрын
Hey! That's pretty much the situation I'm in right now! Were you able to solve it? I'm looking for exactly that
@user-qo6jf6jk2c
@user-qo6jf6jk2c 8 ай бұрын
Hey Josh; Appreciate for all efforts getting hard things to easier for us. I have a problem with last nextjs version. Could anyone face with this problem. My website showing html chunks on the browser if left for a period of time.
@jp.cortes
@jp.cortes 8 ай бұрын
Nice video Josh. Beside Stripe I've been using PayPal as payment option
@AdrianGonzalezBlogs
@AdrianGonzalezBlogs 7 ай бұрын
Can you create user accounts linked to the orders,authentication and tracking with this implementation?
@amorto3420
@amorto3420 23 күн бұрын
Thanks Josh! I was looking for a video like this, just to make sure if I should use shopify when creating websites with modern frameworks like nextjs. Since I always saw people using shopify with templates, I was wondering if any client would even want to pay extra for a custom build.
@JohnCanCode
@JohnCanCode 8 ай бұрын
Great topic. Can I could use this stack for a ticket sales platform for music festivals? It is common for many customers to compete for a small amount of tickets as a phase ends. I want to harness the power of nextjs and the thoroughness of shopify to securely handle many users paying at once. I also want to implement ticket reservation when a user adds to cart, and release tickets if a user takes too long to complete checkout. Is this possible with headless shopify? If someone could let me know that'd be great. 👌
@lukem121
@lukem121 8 ай бұрын
Would be more cool to see something like Medusa JS as its free/open source
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
I believe this does have an existing medusa integration, same with swell. I just personally prefer shopify
@_Ja1i1
@_Ja1i1 8 ай бұрын
Hey josh i have been watching your videos constantly from a long time 🙂 A detailed video on the file structure of this next.js commerce template please 🥺 In which we can understand the code
@codewithguillaume
@codewithguillaume 8 ай бұрын
Man you are the best ❤
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
appreciate you man!
@SamirElias-ru1td
@SamirElias-ru1td 8 ай бұрын
make a tutorial about this is fire !
@Devertelo
@Devertelo 8 ай бұрын
Nice video!!!
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
thanks bruh
@liam2795
@liam2795 8 ай бұрын
holy shit this is very nice
@fredygerman_
@fredygerman_ 8 ай бұрын
Can you please make a video with Directus. Am trying to use it as a quick way to build fast
@brynobryno
@brynobryno 8 ай бұрын
How would you approach building a portfolio/company website with multiple subpages, blog, contact forms, etc. with everything being customizable via CMS? What CMS to choose? Go headless or use “good” old wordpress + next? Start with a template or create everything from scratch?
@alexambrinos
@alexambrinos 8 ай бұрын
Hi, I was also interested in finding the best way to do it in 2023. After some research, I think Astro for frontend + a headless CMS like Strapi is the way to go. You can even use markdown files if you will have a project without the need for a CMS.
@Laam.333
@Laam.333 8 ай бұрын
I've built several sites like this for non tech-savvy clients and I've found the best / most customizable CMS to use with the Next app router is Sanity. You can quickly setup an embedded studio inside a route in your app, define your schemas and you're good to go. For contact forms / newsletters react-hook-form + sendgrid is a good option, maybe even react-email + resend if you're mainly doing transactional emails. If the client is tech savvy you could go the markdown route and use contentlayer + mdx.
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
wordpress + react is a totally valid approach. I've usually used sanity cms for freelance work in the past, it's pretty intuitive for clients and you can query data in a graphql-kinda way. But there is no typesafety unless you use some additional modules, there might be better options
@meng4948
@meng4948 8 ай бұрын
waiting for video full course.
@LabhamJain
@LabhamJain 8 ай бұрын
What are you're thoughts with medusajs?
@Anonymousssss368
@Anonymousssss368 8 ай бұрын
Hey please make a vedio on Stripe payment using latest nextjs for production level applications. 🙋
@PoliticsMaurice
@PoliticsMaurice 7 ай бұрын
dont spill the beans gj maoite
@lovrozagar3729
@lovrozagar3729 6 ай бұрын
Josh, please do a headless Shopify/Bigcommerce full project tutorial with auth, payment and deployment. Currently there is no in-depth tutorial for this anywhere on youtube. Thanks 😀
@maximilianojuega17
@maximilianojuega17 7 ай бұрын
i dont undertsand where the CMS come into play in this setup? i see your storing the products and sales directly in shopify, i dont see the need of an CMS.. can you explain this please?
@victortimi
@victortimi 8 ай бұрын
Can you make a tutorial on this pleaseeeeee
@codetech1165
@codetech1165 6 ай бұрын
Love your videos. I recently came across a headless backend for ecommerce called swell, any chance you could do a tutorial on how to integrate that with next.js 13, that would be amazing !!!
@ahmed_osamaa
@ahmed_osamaa 8 ай бұрын
Hi Josh, great video.I am still new to E-commerce websites, can I know if this service from shopify is paid or not ?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
shopify costs money yeah
@ahmed_osamaa
@ahmed_osamaa 8 ай бұрын
@@joshtriedcoding ok thanks
@squirt11e
@squirt11e 8 ай бұрын
Yup, did this exact method but payment was fulfilled with crypto on the frontend and then shipping costs are handled by the shopify hosted page
@Shawn-Mosher
@Shawn-Mosher 8 ай бұрын
Definitely building a store. I’m using Nextjs, Woocommerce and Stripe
@imkir4n
@imkir4n 8 ай бұрын
I tried but facing some difficulties in some queries. Paused atm
@Shawn-Mosher
@Shawn-Mosher 8 ай бұрын
@@imkir4n what queries? Are you using the rest api, woographql, or store api?
@imkir4n
@imkir4n 8 ай бұрын
@@Shawn-Mosher woographql + wpgraphql
@tacopito
@tacopito 8 ай бұрын
what do you recommend using?@@Shawn-Mosher
@demicoderr
@demicoderr 8 ай бұрын
Please Josh can you do a full tutorial on this?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
yeah dude seems like many people are interested
@demicoderr
@demicoderr 8 ай бұрын
@@joshtriedcoding we would really appreciate this 🔥✨
@romzaar
@romzaar 8 ай бұрын
How can the customer view the purchase status, or purchase history, and track the orders?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
we can build custom APIs for that
@FunkyToe369
@FunkyToe369 8 ай бұрын
Hydrogen looks really cool too, but I couldn't seem to try it out on a dev store without paying so I said screw that lol
@phantazzor
@phantazzor 8 ай бұрын
could you deploy elsewhere than vercel though?
@datamagaldadze1134
@datamagaldadze1134 8 ай бұрын
hey Josh, i am trying to make my Next.js application official, i bought the domain but i don't know what to write in .htacess so that when user enters my domain it should render page.js and so on.
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
no idea what you're doing tbh, never heard of that. For Next deployment I use both vercel and amplify, they make it very easy to get up and running
@datamagaldadze1134
@datamagaldadze1134 8 ай бұрын
okay man thanks, can i somehow buy or connect my domain to the vercel when i deploy my application ?@@joshtriedcoding
@kavishkahenderson5724
@kavishkahenderson5724 8 ай бұрын
What payment gateway Are you using?
@marcofaquim
@marcofaquim 6 ай бұрын
JOSH WE NEED THE FULL TUTORIALLLL
@avi7278
@avi7278 8 ай бұрын
Wow a buy button and everything!
@martinkling3266
@martinkling3266 11 күн бұрын
Hey Josh, great video! I was wondering why you are using Shopify when you as an experienced nextjs dev can set up an own dashboard for products and orders. What's the reason behind this? Im currently building an ecommerce store and just stumbled upon your video.
@cengizkbrsl265
@cengizkbrsl265 7 ай бұрын
That’s one of the approaches which sounds nice but don’t really work in practice. In that checkout page if user click back they face up wtih your shopify online store.
@paredesparedespg
@paredesparedespg 8 ай бұрын
please make a full tuTORIAL ON HOW TO DO I T
@akifkhan2402
@akifkhan2402 8 ай бұрын
I think you should complete toutorial about shopify clone with crm
@nickwoodward819
@nickwoodward819 8 ай бұрын
what's the cost involved with shopify?
@DanielClipsTVS
@DanielClipsTVS 6 ай бұрын
heyy. are we still getting a full video for this please josh
@victorsaisse1340
@victorsaisse1340 8 ай бұрын
tutorial on this please 🙏🏼
@ReinventedWeb
@ReinventedWeb 8 ай бұрын
What tool are you using to make the diagrams?
@mortenthomsen1
@mortenthomsen1 8 ай бұрын
Looks like excalidraw
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
@@mortenthomsen1 yessir
@ReinventedWeb
@ReinventedWeb 8 ай бұрын
Thank you
@sagspot
@sagspot 8 ай бұрын
I created one and am handling everything myself with a strapi backend and mpesa checkout
@gerardoluisbv
@gerardoluisbv 5 ай бұрын
Sorry, I speak Spanish and I'm trying to understand, exactly in the shopping cart part, does it mean that the products are saved in a database? That is, wherever that user logs in, will they be able to see their products?
@manshulduggal5482
@manshulduggal5482 6 ай бұрын
stripe and all is cool but i always wonder how do people actually implement their own custom gateways and all... i once tried to do it and never came close L
@join_devhub
@join_devhub 7 ай бұрын
Hey, shopify is a cms so why did you mention shopify and cms separately in the flowchart? A bit confused.
@b3games146
@b3games146 4 ай бұрын
So i like the route youve gone but is it possible to load that checkout page as a modal so you dont redirect the user away from the store. if anyone knows if thats possible or even a good idea. Id love feedback
@hassan_3975
@hassan_3975 8 ай бұрын
how did you get the codebase of the project?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
the setup is linked in the description :3
@zoltanmolnar6956
@zoltanmolnar6956 8 ай бұрын
ok it is very interesting BUT it would be more interesting if you provide us an E-com tutorial how to build, thank you
@devhamdani
@devhamdani Күн бұрын
Hi, Can you tell me that if create a theme using this stack would i've to pay both for shopify and hosting service or not? Please answer my question if anyone knows?
@Proximity221
@Proximity221 8 ай бұрын
given allot can go wrong implementing payments on your own wouldn't it provide some value to create a tutorial implementing it from the start?
@shmeb2528
@shmeb2528 8 ай бұрын
goat!
@dorin6880
@dorin6880 8 ай бұрын
Do we need to purchase shopify plan or it is free to use the api?
@ejoojoo
@ejoojoo 8 ай бұрын
not free
@imkir4n
@imkir4n 8 ай бұрын
Earlier it was free but now it doesn't
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
It's not free unfortunately
@_bijaydas
@_bijaydas 8 ай бұрын
Creating a backend for an e-commerce is very very very hectic
@dukeselwood
@dukeselwood 7 ай бұрын
I don't get this. Surely with this you're still paying for Shopify (which is expensive) and not making use of what that money gets you (all the templates, pro made front-end etc). Or is the Shopify API free/cheap to use? Thanks
@shreyas.sihasane
@shreyas.sihasane 8 ай бұрын
Please make a full stack app with next js 13, and use unused tech stack till now. Please use new technologies
@sebosamuraj
@sebosamuraj 8 ай бұрын
Hi josh I wonder what you say about medusajs. :)
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
never tried it tbh
@jessicafithrase8259
@jessicafithrase8259 Ай бұрын
How can you hide the 'Continue Shopping' button on your Thank You page?
@devShahriar
@devShahriar 6 ай бұрын
Would you please show us how to host it locally ?
@BeyondLegendary
@BeyondLegendary 8 ай бұрын
Impressive, very nice. Let's see Paul Allen's e-shop.
@gamevidzist
@gamevidzist 8 ай бұрын
I've never gotten this joke. What does it mean?
@imgeorgemore
@imgeorgemore 8 ай бұрын
OMG, It even has a watermark 😓
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
oh man tax compliance, why is Paul Allen starting to sweat?
@imgeorgemore
@imgeorgemore 8 ай бұрын
@@joshtriedcoding btw thanks for the sneak peek of the vercel integration with shopify! this is a game changer for shopify devs!
@lakshanmaduranga2518
@lakshanmaduranga2518 5 ай бұрын
are there any way to use own api withot shopify
@jotaroisdarius1918
@jotaroisdarius1918 8 ай бұрын
Please make a project on this, don't focus on the ui or the logic of the ecommerce website, just how to use next with shopify
@kimbapslayer1995
@kimbapslayer1995 8 ай бұрын
Why you need Shopify and a CMS? Can’t you just make api calls directly to Shopify?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
yeah that's what we're doing here, shopify is the cms we get all the products and collections from. Might be a bit unclear from the diagram, I just meant their "CMS" functionality
@rod6722
@rod6722 Ай бұрын
How much do you typically charge for an e-commerce store like that?
@rusruz1331
@rusruz1331 8 ай бұрын
I know its not the case ,but Shopify don't work in many countries ,like Belarus for example ,users cannot pay (
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
oh interesting, which payment providers do they usually use?
@rusruz1331
@rusruz1331 8 ай бұрын
Woocommerce with bank extension ,this is honestly depressing ,because stripe and Shopify is great ,but not working for the Eastern Europe ,there is no good alternatives @@joshtriedcoding
@patolorde
@patolorde 3 ай бұрын
Which cms to use?
@warisaremou8754
@warisaremou8754 8 ай бұрын
What about the authentication ?
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
you can handle that however you want, like next-auth or a dedicated service
@2012Accounts
@2012Accounts 8 ай бұрын
How's the state of credit cards frauds? I've been told by other devs to avoid it as much as possible because dealing with it is a pain in the ass. I have no idea cause I've never tried.
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
oh yeah it can be a pain. Shopify has built-in fraud analysis afaik, rating the fraud likelihood
@trejohnson7677
@trejohnson7677 8 ай бұрын
this mf said "big ass t shirt store"
@ignacioportigliatti2794
@ignacioportigliatti2794 8 ай бұрын
But shopify is paid right ?
@yowremco
@yowremco 8 ай бұрын
I've done five years of Magento 2 front-end and build dozens of shops. Neve am i touching that garbage again lol
@joshtriedcoding
@joshtriedcoding 8 ай бұрын
hahahaha
E-commerce Website with Medusa + Next.js : A Beginner's Guide
51:45
The Full Stack Junkie
Рет қаралды 30 М.
ТОМАТНЫЙ ДОЖДЬ #shorts
00:28
Паша Осадчий
Рет қаралды 9 МЛН
ВИРУСНЫЕ ВИДЕО / Виноградинка 😅
00:34
Светлый Voiceover
Рет қаралды 7 МЛН
2505. Bitwise OR of All Subsequence Sums (Leetcode Medium)
10:10
Programming Live with Larry
Рет қаралды 22
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 36 М.
HTMX заменит Frontend?! WTF?
12:12
Как пройти в IT?
Рет қаралды 109 М.
Why Some Designs Are Impossible to Improve: Quintessence
33:03
Design Theory
Рет қаралды 55 М.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Рет қаралды 951 М.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 16 МЛН
Интел подвинься, ARM уже в ПК!
14:06
PRO Hi-Tech
Рет қаралды 137 М.
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Рет қаралды 4,2 МЛН
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 969 М.