When generating packing slip the text is in english (same as admin language) but my productlines are in dutch. How can I get these productlines also in english on the packing slip?
thanks!
This is because you Admin has the English as language while the order has been placed using the Dutch language.JonathanRR wrote:my product on my webshop are in 2 languages, English and dutch.
When generating packing slip the text is in english (same as admin language) but my productlines are in dutch. How can I get these productlines also in english on the packing slip?
thanks!
Switch your Admin to Dutch and voila.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Then you should hire someone that will code "something" to make it work for youqnxmore wrote:I have a shop in 4 languages, I can not change every time administration language when I want to generate invoice in different languages.

Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
This VQMod will place a select field with all active languages at the top of the admin section (beside the menus) -and can be used from every page:
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thanks for the plugin. I used it but when I select another language nothing is changing. Still uses the default language.
I'm using Opencart 1.5.4.1. Any idea how to fix this?
Thanks in advance!
I use v. 1.5.2.1
I am really sorry for the troubles!
Please download the file again and override the installed.
Just realized (2012.11.30 - 23:12) that I have forgotten an important part in the .xml - now it should work as expected.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thanks.qnxmore wrote:Yes, it's works like charm, and I think, it's resolv many many admins problems
To keep this thread clean, I have created a new: http://forum.opencart.com/viewtopic.php?f=131&t=90194
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I need some help. I downloaded Prof.Invoice_Packingslip_1.5.1.3 (http://www.opencart.com/index.php?route ... on_id=4121), and installed on Opencard 1.5.4.1. At the beginning it worked perfectly. Now it keeps on poping up problems,
1, error log appears, each time the button is clicked.
2013-02-12 21:05:23 - PHP Notice: Undefined index: order_id in ..admin/controller/sale/order.php on line 294
2013-02-12 21:05:23 - PHP Notice: Undefined index: order_id in ..admin/controller/sale/order.php on line 299
2, Under sales/order, if view an order, a mistake appears as
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in ..admin/view/template/sale/order_info.tpl on line 11
While Edit is working fine.
3, Os_commerce_invoice does not show any order ID. It should be able to generate somewhere, but I do not find it anymore.
Any help is very much appreciated!
Code: Select all
---------- Date: 2013-04-05 14:02:56 ~ IP : 174.10.10.254 ----------
REQUEST URI : /admin/index.php?route=sale/order&token=24c1b8524143760e6ae22e0962b17e3a
MOD DETAILS:
modFile : C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\xxx.ro\vqmod/xml/prof-invoice_packingslip.xml
id : Prof. Invoice and Packing slip for 1.5.1.3- reqires uploads from jstrouse
version : 1
vqmver : 2
author : olimax for jstrouse
SEARCH NOT FOUND (ABORTING MOD): 'href' => $this->url->link('sale/order', 'token=' . $this->session->data['token'], 'SSL'),
SEARCH NOT FOUND (ABORTING MOD): 'href' => $this->url->link('sale/order', 'token=' . $this->session->data['token'], 'SSL'),
thanks alot
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.

BTW , works fine on v15.21 , but has messed other extensions up ? even after deleting extension?
Automotive Lighting upgrades
http://www.BriteLightLEDs.co.uk
this worked fine v1.5.2.1 , just conflicted with other extensions, can you help make it work?
Automotive Lighting upgrades
http://www.BriteLightLEDs.co.uk
i have installed VQMOD of this work http://www.opencart.com/index.php?route ... ame=bgill0
now problem is that i can't change the logo even after replacing logo.png with my company logo .
Major problem is that it show invoice date of current date . i want invoice date same date when i generated invoice number
how can we do that please tell me ?
Ive installed this mod from the link: http://www.opencart.com/index.php?route ... ame=bgill0
and its working just fine on opencart v1.5.6 except the language on the buttons but that can be fixed easily.
Ive tried every step from the guide below for sku.. but they are not showing up.. can you please tell me how to get it done on 1.5.6
thanks.
afwollis wrote:for those who want to see SKU...
step #0 (one for both)the changes are almost the same for both "mods"
openafter (near the end of file)Code: Select all
admin/model/sale/order.php
addCode: Select all
public function getTotalSalesByYear($year) { $query = $this->db->query("SELECT SUM(total) AS total FROM `" . DB_PREFIX . "order` WHERE order_status_id > '0' AND YEAR(date_added) = '" . (int)$year . "'"); return $query->row['total']; }
...in their invoicesCode: Select all
/* webme - get sku - for osC-invoice or Packingslip - mod - start */ public function wbm_getSKU($prodID) { $query = $this->db->query("SELECT `sku` FROM `" . DB_PREFIX . "product` WHERE `product_id` = '".(int)$prodID."' LIMIT 1"); return $query->row['sku']; } /* webme - get sku - for osC-invoice or Packingslip - mod - end */
...in their packingslipsstep #1
openfind functionCode: Select all
admin/controller/sale/order.php
inside itCode: Select all
public function osc_invoice() {
afteraddCode: Select all
$this->data['column_comment'] = $this->language->get('column_comment');
scroll downCode: Select all
$this->data['column_sku'] = $this->language->get('column_sku');
after (somewhere around the line 1109)addCode: Select all
'model' => $product['model'],
step #2Code: Select all
'sku' => $this->model_sale_order->wbm_getSKU($product['product_id']),
openadd anywhereCode: Select all
admin/language/english/sale/osc_order.php
step #3Code: Select all
$_['column_sku'] = 'SKU';
openafterCode: Select all
admin/view/template/sale/osc_order_invoice.tpl
addCode: Select all
<td class="dataTableHeadingContent-invoice"><?php echo $column_model; ?></td>
afterCode: Select all
<td class="dataTableHeadingContent-invoice"><?php echo $column_sku; ?></td>
addCode: Select all
<td class="dataTableContent" valign="top"><?php echo $product['model']; ?></td>
replaceCode: Select all
<td class="dataTableContent" valign="top"><?php echo $product['sku']; ?></td>
toCode: Select all
<td colspan="8" align="right"><br> <table border="0" cellpadding="2" cellspacing="0">
Code: Select all
<td colspan="9" align="right"><br> <table border="0" cellpadding="2" cellspacing="0">
step #1
openfind functionCode: Select all
admin/controller/sale/order.php
inside itCode: Select all
public function packingslip() {
addafterCode: Select all
$this->data['column_sku'] = $this->language->get('column_sku');
scroll downCode: Select all
$this->data['column_comment'] = $this->language->get('column_comment');
after (somewhere around the line 1327)addCode: Select all
'model' => $product['model'],
step #2Code: Select all
'sku' => $this->model_sale_order->wbm_getSKU($product['product_id']),
openadd anywhereCode: Select all
admin/language/english/sale/packingslip.php
step #3Code: Select all
$_['column_sku'] = 'SKU';
openafterCode: Select all
admin/view/template/sale/order_packingslip.tpl
addCode: Select all
<td class="dataTableHeadingContent-invoice"><?php echo $column_model; ?></td>
afterCode: Select all
<td class="dataTableHeadingContent-invoice"><?php echo $column_sku; ?></td>
addCode: Select all
<td class="dataTableContent" valign="top"><?php echo $product['model']; ?></td>
Code: Select all
<td class="dataTableContent" valign="top"><?php echo $product['sku']; ?></td>
There is a Free alternative over on the Dutch forums.
http://forum.opencart.com/viewtopic.php ... 75#p424675
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Users browsing this forum: No registered users and 7 guests