Page 1 of 1

Undefined array key "brutto_currency"

Posted: 09 Dec 2022, 07:18
by cyphersi
Please I have the following error help me solve it.

Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 32

Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 33

32 if ($this->t['total'][0]['brutto_currency'] !== 0) {
33 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto_currency'], 0, 1).'</div>';
34 //$totalAmount = $this->t['total'][0]['brutto_currency'];
35 } else if ($this->t['total'][0]['brutto'] !== 0) {
36 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto']).'</div>';
37 //$totalAmount = $this->t['total'][0]['brutto'];
38}

Re: Undefined array key "brutto_currency"

Posted: 17 Dec 2022, 02:07
by Jan
Hi, which version of Phoca Cart do you use?

Jan

Re: Undefined array key "brutto_currency"

Posted: 17 Dec 2022, 03:34
by cyphersi
Hi Jan, the version is 4.0.5.
Could you please share your email or whatsapp to be able to acquire the license of the software.