Guest Posted January 21, 2016 Posted January 21, 2016 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?
Jack_mcs Posted January 25, 2016 Posted January 25, 2016 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
Guest Posted January 26, 2016 Posted January 26, 2016 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
Guest Posted January 26, 2016 Posted January 26, 2016 this one comes close http://addons.oscommerce.com/info/2745 only i dont need the icon and fields to enter... just need the descriptive text under the module title
Guest Posted January 26, 2016 Posted January 26, 2016 hmm... think i will have a go at hacking out the stuff i dont need... seems simple enough *knock on wood*
Guest Posted January 26, 2016 Posted January 26, 2016 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
Guest Posted January 26, 2016 Posted January 26, 2016 same code now works... i only changed the class name :-/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.