mlouka's avatar

Creating an E-Commerce Website on Laravel

Hello Everyone,

I have a client that would like an e-commerce site created, but I don't want to create for him a dinky e commerce application on wordpress (the only application I've worked with when creating ecommerce websites). I want to learn Laravel and create a whole e-commerce system for him on it, but I feel a little in over my head and that I won't be able to deliver. Here are a few statements and questions:

Here is the ask from the client: They are creating a new product. They only have one product, but plan to expand to multiple eventually. I know this is very basic ask but please refrain from referring me to the current easy to build platforms out there (wordpress, shopify...etc), unless I really should just stick with what I know (wordpress).

Requirements: -Build an e-commerce website with log in capabilities. -Design from beginning to end -Ability to save credit card payments ( I need some explanation on this) -Content writers ( no need to address this item)

Questions: -Can I learn laravel and deliver the website in 3 weeks time? I know html/css, very little php. -What constitutes being able to store credit card information? -Does creating on Laravel allow me to be able to store credit card information? Please help me understand this problem... -I need a fully customized log in system, how hard is this to create from scratch? I've never created a login system... -Can I get away with using shopify? -Does someone want to mentor on me and I will forever be grateful and never a bother? (on top of possible contracting with this gig)

Thanks

0 likes
8 replies
EliasSoares's avatar

Being realist, no, you will not deliver this ecommerce in 3 weeks.

Even with large experience on Laravel, and e-commerce, I'm not able to do this in 3 weeks.

Many things are envolved, security, inventory, payment, shipping...

1 like
Jaytee's avatar

You could probably create the functionality if you start watching now.

Use the out-of-the-box authentication.

Setup Roles/Permissions

Integrate Cashier

Then start on the Models/Relationships.

If you need to design the html/css all from scratch, use AdminLTE for the administrator dashboard, customize it as you need (it's free) and then either build the front yourself or ask the client if they want a template and which one.

EliasSoares's avatar

Just to have another (and more fair) answer:

I'm pretty sure that with some practice, you can do it! My first answer, I'm focusing on "It's possible to create an secure, user friendly and fully working e-commerce?".

An e-commerce application is very fun to create, but don't think that's so simple.

If you really want to do this, first organize your ideas, write down the project requirements, break it on some small incremental versions.

Learn how to organize your project on Git, how to doccument properly (PHPDocs, nice variable and method names), if possible, learn SOLID principles .

If you will not do this for your client, do it for yourself, and for the community! It's one of the best ways to learn. When you finish your first version, you may feel need to re-create more organized, do it until you look your code and feel good! :)

1 like
Jaytee's avatar

To add another fair answer too (lol @EliasSoares)

If you know you're gonna be building more ecommerce sites in the future with Laravel, extract some of your functionality to a package and then you can pull it in in future projects to save time.

There are some ecommerce packages out there, but they don't have the full functionality. The closest you'll find is aimeos/commerce package but you still need to add to it for products and such

1 like
GTHell's avatar

Just login system alone could take you week. I know the function may sound simple to you like creating a new product and expand it but all of this is part of the system and before you can get into any of that stuff first you need to do system analysis or you could end up in code and stuck. It sound easy until you start to write it down and lose the track of what you want to do. My answer for the 3 months for eCommerce would be no it's not possible. You can get away with shopify though.

Please or to participate in this conversation.