To create a product in an online store, do I need to create an HTML page for each product?

Asked

Viewed 195 times

1

my question is: I am creating a website with store, for a customer to access the page with the details of a product, it is necessary to create a page for each product, or there is some way for a page to be modified depending on the productinserir a descrição da imagem aqui

It is necessary to create a page like this for all products?
If there’s any other automated way to do it I’d appreciate it if you’d refer it or a video on youtube would be great too.

Thanks in advance.

  • It’s just a file where you’ll use the backend language you’re using to retrieve the product information in question and display it on the page.

  • but which file? I am using PHP. and the product information would be in a mysql database.

  • The page you create to show this information.

1 answer

0


The most advisable is to use next to php, some Framework for front, like Angular, or create a service that returns the product and consume it with Ajax. A nice detail to study, if you pay attention to the large e-commerce stores simulates a URL for each product that the user selects, but this can be done with Rewrite where it generates a differentiated URL for your user, and it is accessing the same product page, only changing the information and URL.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.