N
N
Naim Mahkamov2018-10-05 14:29:04
opencart
Naim Mahkamov, 2018-10-05 14:29:04

Opencart how to reset product id correctly?

I want to reset the product id in opencart. Now there are gaps in product IDs (for example, 145,146,148,150, etc.). How to organize all this?
Will this method work?: Change the product table through SQLYog, delete the ID field and add it again?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zoozag, 2018-10-05
@zoozag

You will need to replace IDs not only in the product table, but in about 20 related tables.

D
Daemon23RUS, 2018-10-05
@Daemon23RUS

Make an export of goods, for example, to Excel .
Number the goods as you like
. Make an import with clearing the previous data.
At the same time, keep in mind 2 points, before this operation, save the database dump, export / import, most likely it will be an additional module for the OS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question