Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Missing "Shopper Group" in the invoice
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Missing "Shopper Group" in the invoice

Missing "Shopper Group" in the invoice 11 years, 4 months ago #39963

shoppergroup_html.jpg

Hello,

Missing "Shopper Group" in the invoice after upgrade VM invoice

¿What is the problem?


Thank you in advance.
Attachments:
Last Edit: 11 years, 4 months ago by deisatech.
The topic has been locked.

Re: Missing "Shopper Group" in the invoice 11 years, 4 months ago #39968

  • mitk
Hello,

have you current version of VirtueMart and VM Invoice?
The topic has been locked.

Re: Missing "Shopper Group" in the invoice 11 years, 4 months ago #39969

Hello,

I have VirtueMart 2.0.20.b & VM Invoice 2.0.26

Thanks in advance.
The topic has been locked.

Re: Missing "Shopper Group" in the invoice 11 years, 4 months ago #40018

No help from Artio?
The topic has been locked.

Re: Missing "Shopper Group" in the invoice 11 years, 4 months ago #40183

  • mitk
Hello,

we are sorry for later response. You are right, VM Invoice doesn't print shopper groups. To repair this problem you can open this file:
administrator/components/com_vminvoice/helpers/invoicehtml.php
There is this part of code around line 183:
case 'shopper_group':
if ($this->params->get('show_shopper_group')) {
$group = InvoiceGetter::getShopperGroup($this->order->user_id);
$replacement = $group ? $group : '';
}
break;
Modify it to:
case 'shopper_group':
if ($this->params->get('show_shopper_group')) {
$group = InvoiceGetter::getShopperGroup($this->order->user_id);
$replacement = count($group) ? implode(', ', $group) : '';
}
break;

We will also fix it in next version.
The topic has been locked.

Re: Missing "Shopper Group" in the invoice 11 years, 4 months ago #40185

Ok, Thank you very much.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný