Hi,
I would like to develop a system to add a large number of products into opencart 3.0. Just wonder what is the minimum database table needed to be change for adding a new product.
From my understanding, these tables needed to be updated once you add a new product:
product
product_description
product_to_category
product_to_layout
product_to_store
Please let me know if there is something I missed
Vincent
You could visit the admin/model/catalog/product.php file in the addProduct or editProduct method that describes pretty much everywhere the products are assigned into. However, according to your above list, product_to_layout table is not a mandatory one nor the product_to_category table. The product_to_category table is useful when associating a product to a category but a product can also be shown as stand-alone unfortunately.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 11 guests