Skip to main content

Translate banktransfer

More
15 years 2 months ago - 15 years 2 months ago #20473 by Nello
Translate banktransfer was created by Nello
Hi Nicolas,

How can I translate the voice "banktrasfer_2"?



Thank you!
Last edit: 15 years 2 months ago by Nello.

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

More
15 years 2 months ago #20500 by nicolas
Replied by nicolas on topic Re: Translate banktransfer
There is indeed a problem. Please add the code
Code:
if(!empty($this->methods[$this->type][(string)@$this->order->order_id])){ $max = 0; $already = array(); foreach($this->methods[$this->type][(string)@$this->order->order_id] as $method){ if(!empty($method->ordering) && $max<$method->ordering){ $max=$method->ordering; } } foreach($this->methods[$this->type][(string)@$this->order->order_id] as $k => $method){ if(empty($method->ordering)){ $max++; $this->methods[$this->type][(string)@$this->order->order_id][$k]->ordering=$max; } while(isset($already[$methods[$k]->ordering])){ $max++; $this->methods[$this->type][(string)@$this->order->order_id][$k]->ordering=$max; } $already[$this->methods[$this->type][(string)@$this->order->order_id][$k]->ordering]=true; } }
after the code
Code:
$pluginsClass = hikashop_get('class.plugins'); $this->methods[$this->type][(string)@$this->order->order_id] = $pluginsClass->getMethods($this->type);
in the file administrator/components/com_hikashop/types/plugins.php and try again. That should solve the problem.

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

Time to create page: 0.185 seconds
Powered by Kunena Forum