Skip to main content

Error codes after checkout

More
12 years 3 months ago #159957 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

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #159958 by Jerome
Replied by Jerome on topic Error codes after checkout
Hi,

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.

More
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.

More
12 years 3 months ago #159975 by Jerome
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,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #160388 by Jerome
Replied by Jerome on topic Error codes after checkout
Hi,

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);
By
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)) {
It should fix your problem.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #160453 by Rokell
Replied by Rokell on topic Error codes after checkout
Thanks Jerome,
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
Powered by Kunena Forum