Different ship methods per vendor

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
10 years 1 month ago #172929

I know its the first time ok. I ll open a new thread,
I ll extend hikamarket. I would it but you make me do it faster.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #172930

Hi,

Thanks,

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: 1055
  • Thank you received: 11
  • Hikashop Business
10 years 1 month ago #172935

Payments are fine, but I shipment arent after the update.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #172939

Hi,

If you updated HikaShop to his latest version, I guess that you lost the modification I made.

So please edit the file "administrator/components/com_hikashop/classes/shipping.php" and replace

foreach($rates as $k => $rate) {
	$rem_rate = false;
By
foreach($rates as $i => $rate) {
	$rem_rate = false;
And also
	if($rem_rate) {
		$rates[$k] = null;
		unset($rates[$k]);
	}
By
	if($rem_rate) {
		$rates[$i] = null;
		unset($rates[$i]);
	}

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: 1055
  • Thank you received: 11
  • Hikashop Business
10 years 1 month ago #172941

unset($rates[$k]);
still exist in other lines. Should I replace too?

also
foreach($rates as $k => $rate)

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
10 years 1 month ago #172943

in the same file

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #172944

Hi,

Please just replace the blocks I wrote in my previous message.
Only where you will find the full block (all lines together) with the $rem_rate variable.

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.

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum