Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

customizing cash on delivery module


  • You cannot reply to this topic
1 reply to this topic

#1 wblandt

  • Community Member
  • 15 posts
  • Real Name:will

Posted 24 September 2011, 14:03

I tried to customize the cash on delivery module and couldn't get it work. I want to change what it says in the email and in the admin order area. I want it to say Cash on Delivery (credit approval required)

I tried to change it on my own and wow the things it did. It is just like buy on credit module. I don't know what I am doing wrong. Other then I don't have a clue what I am doing. I want to copy one of the scripts and change it 5 times to say 5 different things. I am not trying to do anything added other what the 2 scripts are doing just with the change of what it says.

Can anyone help?

#2 DunWeb

  • Community Sponsor
  • 10,466 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 24 September 2011, 14:46

Will,

The only file you need to change is the /includes/languages/english/modules/payment/cod.php

These two lines:

define('MODULE_PAYMENT_COD_TEXT_TITLE', 'Cash on Delivery');
define('MODULE_PAYMENT_COD_TEXT_DESCRIPTION', 'Cash on Delivery (credit approval required)');

That's it.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|: