Skip to main content

Different ship methods per vendor

12 years 1 month ago #172929 by verzevoul
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.

12 years 1 month ago #172930 by Jerome
Hi,

Thanks,

Regards

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

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

12 years 1 month ago #172935 by verzevoul
Payments are fine, but I shipment arent after the update.

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

12 years 1 month ago #172939 by Jerome
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
Code:
foreach($rates as $k => $rate) { $rem_rate = false;
By
Code:
foreach($rates as $i => $rate) { $rem_rate = false;
And also
Code:
if($rem_rate) { $rates[$k] = null; unset($rates[$k]); }
By
Code:
if($rem_rate) { $rates[$i] = null; unset($rates[$i]); }

Regards,

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

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

12 years 1 month ago #172941 by verzevoul
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.

12 years 1 month ago #172943 by verzevoul
in the same file

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

12 years 1 month ago #172944 by Jerome
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.

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

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