Post by GrupoCSIC » Tue Jul 06, 2021 11:45 pm

When i try make one order appears this:

Code: Select all

"Warning: A non-numeric value encountered in /home/u837553619/domains/grupocsic.com/public_html/catalog/model/extension/shipping/item.php on line 32Warning: A non-numeric value encountered in /home/u837553619/domains/grupocsic.com/public_html/catalog/model/extension/shipping/item.php on line 34"
I find the two lines in:
/domains/grupocsic.com/public_html/catalog/model/extension/shipping/item.php
Line 32:
'cost' => $this->config->get('shipping_item_cost') * $items,
Line 34:
'text' => $this->currency->format($this->tax->calculate($this->config->get('shipping_item_cost') * $items, $this->config->get('shipping_item_tax_class_id'), $this->config->get('config_tax')), $this->session->data['currency'])
I have installed shipping per item!
Some one can help me?
BR

Newbie

Posts

Joined
Thu Feb 28, 2019 6:06 am

Post by straightlight » Wed Jul 07, 2021 12:19 am

OC version. Ensure your shipping item amount is configured from your admin > extensions > extensions > shipping.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by opencartbot » Sat Jul 17, 2021 2:29 pm

straightlight wrote:
Wed Jul 07, 2021 12:19 am
OC version. Ensure your shipping item amount is configured from your admin > extensions > extensions > shipping.
And value in field Cost should be a number, without unnecessary signs

I'm web developer and I can create an OpenCart Extension for you - contact me via PM.


User avatar
Newbie

Posts

Joined
Thu Mar 18, 2021 8:30 pm
Location - Ukraine

Post by straightlight » Sun Jul 18, 2021 1:24 am

opencartbot wrote:
Sat Jul 17, 2021 2:29 pm
straightlight wrote:
Wed Jul 07, 2021 12:19 am
OC version. Ensure your shipping item amount is configured from your admin > extensions > extensions > shipping.
And value in field Cost should be a number, without unnecessary signs
Wrong quote. It originates from an opencartbot anyways as I can see.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Majnoon » Sun Feb 26, 2023 12:38 pm

I am using OC 3.0.3.8 with default theme and
For me i am seeing the same warning message for catalog/controller/product/catalog.php on line 291

Active Member

Posts

Joined
Fri Feb 05, 2021 8:29 pm

Post by xxvirusxx » Sun Feb 26, 2023 5:40 pm

Majnoon wrote:
Sun Feb 26, 2023 12:38 pm
catalog.php on line 291
Is a Journal3 file. Also use (int)

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 183 guests