Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add define('MODULE_?_?_TEXT_WAY', '');


Guest

Recommended Posts

Posted

for a payment module i need to add a kind of message field under the module itself

 

 

shipping modules have it in this form: define('MODULE_SHIPPING_SPU_TEXT_WAY', '');

 

 

but how do i achieve the same for payment modules?

Posted

I haven't tried it but you could probably just edit the payment modules language file and add text after the title, maybe with a <br> thrown in.  What you want to do is a small change but finding where to change it can take some playing around with.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

problem with that is then the whole text including the html tags will get on to the invoices etc.... 

 

shipping module have a sub title like string that sometimes says a delivery company name and then under it "best way"

 

in that case the "best way" part is not displayed on invoice etc... but only during checkout

 

hmm... might have a look at a bank transfer module and see if one of them suits my need

 

all i want to do is to instruct people where to send a mobile phone payment

Posted

hmm... think i will have a go at hacking out the stuff i dont need... seems simple enough *knock on wood*

Posted

when i go to admin and paymnent modules in OSC 2.3.4 i can see the install key have (1) in it but when i click to get list of new modules its an empty list

 

maybe something is missing, but i cant figure it, code is: http://pastebin.com/ubi3g5Kc

Posted

same code now works... i only changed the class name :-/

Archived

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

×
×
  • Create New...