- Posts: 159
- Thank you received: 2
Error codes after checkout
12 years 3 months ago #159957
by Rokell
Error codes after checkout was created by Rokell
Hi,
I get the following error codes after checking out. It seems to work and all Mails are send to the vendor and the customer, but the customer sees these error codes above the text saying that the order was successful:
Notice: Undefined index: vendor in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1366
Notice: Undefined index: vendor in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1367
Notice: Undefined index: price in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1368
Notice: Undefined index: mode in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1382
Notice: Undefined index: fixed in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1388
I get the following error codes after checking out. It seems to work and all Mails are send to the vendor and the customer, but the customer sees these error codes above the text saying that the order was successful:
Notice: Undefined index: vendor in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1366
Notice: Undefined index: vendor in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1367
Notice: Undefined index: price in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1368
Notice: Undefined index: mode in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1382
Notice: Undefined index: fixed in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1388
Please Log in or Create an account to join the conversation.
12 years 3 months ago #159958
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Error codes after checkout
Hi,
Do you have configured some fee rules ?
Regards,
Do you have configured some fee rules ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 3 months ago #159967
by Rokell
Replied by Rokell on topic Error codes after checkout
No. Do I have to?
Please Log in or Create an account to join the conversation.
12 years 3 months ago #159975
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Error codes after checkout
Hi,
If you want to take a fee/commission on the sales, it will be better.
I am working on the modifications to remove these notices when there is no fee configured.
Regards,
If you want to take a fee/commission on the sales, it will be better.
I am working on the modifications to remove these notices when there is no fee configured.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 3 months ago #160381
by Rokell
Replied by Rokell on topic Error codes after checkout
Hi Jerome,
no I don't need to setup commission and fees. Will your modification be available soon or do I have to setup fees to get rid of the error messages?
Best
Roger
no I don't need to setup commission and fees. Will your modification be available soon or do I have to setup fees to get rid of the error messages?
Best
Roger
Please Log in or Create an account to join the conversation.
12 years 3 months ago #160388
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Error codes after checkout
Hi,
In the file "administrator/components/com_hikamarket/classes/order.php" you can replace
By
It should fix your problem.
Regards,
In the file "administrator/components/com_hikamarket/classes/order.php" you can replace
Code:
if(isset($products[$pcid])) {
$product_fee = $this->getProductFee($product, $products[$pcid]['fee'], $full_price, $total_price, $total_quantity);
Code:
$product_fee = false;
if(isset($products[$pcid]))
$product_fee = $this->getProductFee($product, $products[$pcid]['fee'], $full_price, $total_price, $total_quantity);
if(!empty($product_fee)) {
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 3 months ago #160453
by Rokell
Replied by Rokell on topic Error codes after checkout
Thanks Jerome,
that fixed it.
Best
Roger
that fixed it.
Best
Roger
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.176 seconds