D
D
Dima Voronin2016-01-05 21:07:19
PHP
Dima Voronin, 2016-01-05 21:07:19

Writing a product unloading module in xls for opencart 2.0?

Good afternoon dear ones.
Please tell me how to implement xls product unloading module in opencart 2.0. The component part of a module should only consist of a back-end part.
Module functionality:
In the admin panel, it should be possible to upload all products to an .xls-file, a minimum of fields is allowed (product ID number, product name, price, active on the site or not).
It should also be possible to upload the file back, if the product fields have changed in the file, then when the file is uploaded, the products should be updated on the site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mustafo, 2016-01-07
@Fruithoops

Here is an instruction on how to create your own module in Opencart.
In short:
Create a view, add an "Export" button, an input for uploading a file, and an "Import" button.
In the controller, create two methods, respectively, for export and import.
In these methods, you implement what you need using, for example, this PHP library for generating and processing Excel documents.

W
web-mechanic, 2016-02-07
@amfetamine

there is www.opencart.com/index.php?extension_id=17&route=e... , but try to set up on test first

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question