"Designing an e-commerce shop page and single product page" - What is the correct approach?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

"Designing an e-commerce shop page and single product page" - What is the correct approach??

I have been working on an e-commerce site design (self-learning) using HTML 5 and Bootstrap 4. The site is a clothing shop and it has many categories (like saree, stoles, dresses, etc) and many subcategories (i.e. under saree it has cotton and khadi, under cotton it has plain and stripped and so on). Every category is supposed to have multiple products displayed as a grid (that is 'shop' page). When I click on a product, it should redirect to a single product page. Now I cannot decide what would be the best way to start designing those pages. Should I create only a single shop page design for all the category shop pages or should I create a dedicated page for every category shop? Same is for the single product page. Should I create one design and then fill the image, description, price from the database according to the product code, or should I have a dedicated page? If this question seems silly or dumb or both, please know that I am a beginner and looking forward to learn more :)

9th Jul 2019, 9:35 AM
Debsmita Paul
Debsmita Paul - avatar
3 Answers
+ 2
Start with the cms. You have the have the framework first befor you start designing it
9th Jul 2019, 9:52 AM
Lexfuturorum
Lexfuturorum - avatar
+ 1
For me this seems to be a very easy choice: write it once, use it everywhere. If you are OK with the same layout for all categories, then why would you create different pages? define the layout just once, and use it for all categories, fill the values dynamically from database. This makes code maintenance much easier (you have to modify only one place) and also if the products are changing (new types, new categories, obsoleted products...), your code should be able to take care of it automatically, without having to touch the design.
9th Jul 2019, 9:51 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Thanks Tibor Santa, i was thinking the same, but was still confused as one of the office I worked previously, they were working on another e-commerce project and they designed every page for every product and category. That seemed so hectic for me and unnecessary but I thought may be that's how these things work. Thanks for you opinion, I will try that approach 😄 Thanks Lexfuturorum, I have been working with wordpress for 4 months (only) and I just wanted to try to build a site from scratch. Just for learning purpose. 😄
9th Jul 2019, 10:02 AM
Debsmita Paul
Debsmita Paul - avatar