MyParcel plugin error

  • Posts: 293
  • Thank you received: 6
  • Hikashop Business
3 weeks 2 days ago #309334

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : agecheck not possible

Hi,

In the MyParcel plugin I found a little bug. When exporting an order with a foreign address to MyParcel I get this errormessage. See screenshot.

Attachments:
Last edit: 3 weeks 2 days ago by michelpouli.

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

  • Posts: 66619
  • Thank you received: 9806
  • MODERATOR
3 weeks 2 days ago #309337

Hi,

You need to turn off the "age check" setting in the plugin settings.

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

  • Posts: 293
  • Thank you received: 6
  • Hikashop Business
3 weeks 1 day ago #309373

Hi Nicolas,

I added a screenshot and as you can see there it is deactivated?

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

  • Posts: 66619
  • Thank you received: 9806
  • MODERATOR
3 weeks 1 day ago #309375

Hi,

Then add the line:

if($order->shipping_address->address_country_code_2 == 'NL')
before the line:
$consignment->setAgeCheck($this->plugin_options['age_check']);
in the code of the plugin.

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

  • Posts: 293
  • Thank you received: 6
  • Hikashop Business
3 weeks 14 hours ago #309398

Thanks Nicolas,

that worked.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum