Opencart Product Import/Export not appearing in menu fix
I was working on a clients OpenCart site for which they had purchased the following plugin to bulk export and import their products.
I had followed all the installation instructions exactly, but when in the administration it didn't appear in the menu. Yet when manually changing the url to (admin/index.php?route=catalog/productimportexport&token=...) it would show the actual link page and functioned perfectly.
I first checked the OpenCart version (which was 220.127.116.11) and then checked the plugin version which was compatible with this version of OpenCart. So after changing bits of code here and hiding bits of code there. I managed to find a solution.
It involved editing the following file - 'product_import_export.xml' which should be part of the purchased extension, and reside in the 'vqmod/xml/' folder on the server.
I simply swapped the line of code...
<search position="after"><![CDATA[$this->data['product'] = HTTPS_SERVER . 'index.php?route=catalog/product&token=' . $this->session->data['token'];]]></search>
<search position="after"><![CDATA[$this->data['zone'] = HTTPS_SERVER . 'index.php?route=localisation/zone&token=' . $this->session->data['token'];]]></search>
And all of a sudden it appeared in the admin menu. But as to the reason why this happened I am not sure. Maybe a conflict with another VQMod extension.
Anyway I hope this helps (and solves) the problem anybody else is having in a similar situation.
Visitors also viewed these posts