Changing the nam of shippingmethode

  • Posts: 35
  • Thank you received: 0
13 years 3 months ago #22908

On the email wich is sended to the customer on the total price there's a field with shippingmethode.

Is it possible to change this to the value of "hikashop_checkout_shipping_name" and also on the email send to
the customer and the administrator.

How can i add the payment options to the mail for the customer?

Like : please pay the amount of xxx€ on accountnumber xxx-xxxxxx-xxxx with the remark of
the ordernumber xxx

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 3 months ago #22916

The hikashop_checkout_shipping_name can be changed by editing the shipping method options in the back end.

To add the sentence, you should change the line:
echo JText::_('ORDER_VALID_AFTER_PAYMENT');

to:
echo JText::sptrinf('Please pay the amount of '.$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id).' on accountnumber xxx-xxxxxx-xxxx with the remark of the ordernumber '.$data->order_number);

in the email order creation notification that you can edit via the menu System->Emails in the business edition.

Last edit: 13 years 3 months ago by nicolas.

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

  • Posts: 35
  • Thank you received: 0
13 years 3 months ago #22967

Hi Nicolas,

Thanks...

What i meant with the first question is following.

I want to print the methode on the invoice like "Delivery at your home" or "collect free at the store".
This methode are the names wich i gave to the different shippingmethods like zipcodes...etc...

Now it prints only Shippingmethode.

Sorry, but the eample is in dutch.

Koen

Attachments:

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

  • Posts: 35
  • Thank you received: 0
13 years 3 months ago #22970

Nicolas,

When i change the value echo JText::_('ORDER_VALID_AFTER_PAYMENT');

i get an

Parse error: syntax error, unexpected ')', expecting ',' or ';' in /var/www/vhosts/chacasadesign.be/subdomains/webshop/httpdocs/media/com_hikashop/mail/order_creation_notification.html.modified.php on line 156

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 3 months ago #22982

So you want to change the text Verzendmethode to something else ? You can do that by overriding the translation string in the Languages tab of the configuration:
www.hikashop.com/download/languages.html#modify

For the modification, you should use that line of code instead:
echo JText::sptrinf('Please pay the amount of '.$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id).' on accountnumber xxx-xxxxxx-xxxx with the remark of the ordernumber '.$data->order_number);

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

Time to create page: 0.039 seconds
Powered by Kunena Forum