Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different Payment Texts for different countrys


hamm

Recommended Posts

Hi,

 

i have a problem with the shown payment text during the purchase process.

I would like to show other payment information for all the orders are not to be shipped to Germany (delivery address is not Germany).

 

For example: Customer selects Germany as shipping country, then he selects banktransfer and on the nextpage is the info "Please send the money to ....".

But if the customers selects an other Country as Germany the text should be: "Please wait for money transfer ....".

 

I just know that i have to change the text in:

 

MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION found in includes/languages/german/modules/payment/moneyorder.php.

 

And then i tried to add code to:

moneyorder.php in modules directory:

 

function confirmation() {
if ($this->delivery['country_id'] == 81) {
return array('title' => MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION_1);
} else {
return array('title' => MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION_2);
}
}

 

But it doesnt work.... with billing adress it works but not with delivery...

 

Please help me :(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...