Blog

23 Jan
2014

opencart Icon Logo

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.

(VQMod)Product Import Export-Bulk Insert Update Download Product (v0.2 - support multi language)

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 1.4.9.3) 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>

... with

<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.

Posted in: < eCommerce >
me@grafxflow avatar

me@grafxflow


I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Visitors also viewed these posts

2 Thoughts

  1. 10 Apr
    2015

    avatar

    Dev

    Thanks it really helped, but for opencart 2.0 , url will be
    http://domain.com/admin/index.php?route=tool/export_import&token=.....................................
  2. 10 Apr
    2015

    avatar

    me@grafxflow

    Thanks for that Dev. Really handy.

Add comment

Add comment