Skip to content

OpenCart 2.3 and 3.0 modification to display Manufacturer, MPN and Location instead of Model in invoices

License

Notifications You must be signed in to change notification settings

DavisNT/OC-Invoice-MPN-Loc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCart 2.3/3.0 Invoice MPN Loc

OpenCart 2.3 and 3.0 modification to display Manufacturer name, MPN and Location instead of Model in invoices (in OpenCart admin interface).

Introduction

This modification changes invoices in OpenCart admin interface - adds Manufacturer, MPN and Location columns, and removes Model column from table of products in the invoice.

This is tested only on OpenCart 2.3.0.2 and OpenCart 3.0.3.8.

Installation

  1. For OpenCart 3.0 inside the folder Invoice-MPN-Loc_oc30.ocmod compress install.xml into Invoice-MPN-Loc_oc30.ocmod.zip.
  2. Open Extensions Installer in OpenCart admin interface.
  3. On OpenCart 2.3 upload/install Invoice-MPN-Loc_oc23.ocmod.xml.
  4. On OpenCart 3.0 upload/install Invoice-MPN-Loc_oc30.ocmod.zip.
  5. Open Modifications in OpenCart admin interface and click Refresh.
  6. Edit the language file (e.g. admin/language/en-gb/sale/order.php) of your OpenCart installation (e.g. via FTP) and add (or adjust if needed) lines like these:
$_['column_mpn']             = 'MPN';
$_['column_manufacturer']    = 'Manufacturer';
$_['column_location']        = 'Location';

Notices

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.