Error codes after checkout

  • Posts: 159
  • Thank you received: 2
9 years 10 months ago #159957

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.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #159958

Hi,

Do you have configured some fee rules ?

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 159
  • Thank you received: 2
9 years 10 months ago #159967

No. Do I have to?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #159975

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 159
  • Thank you received: 2
9 years 10 months ago #160381

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.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #160388

Hi,

In the file "administrator/components/com_hikamarket/classes/order.php" you can replace

			if(isset($products[$pcid])) {

				$product_fee = $this->getProductFee($product, $products[$pcid]['fee'], $full_price, $total_price, $total_quantity);
By
			$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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 159
  • Thank you received: 2
9 years 10 months ago #160453

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.062 seconds
Powered by Kunena Forum