Guest Posted January 16, 2004 Share Posted January 16, 2004 Hi guys, I'm not sure if this has been discussed yet (tried searching), but with the new MS versions of OSC, has a contrib been created to modify the Payment Module names on the Payment Methods Page? I know the question sounds a bit confusing... but let me explain. I created the BofA payment module, and after installing it, the Payment Method Page displays this option by the module's full name: Bank of America estore. Now this module was designed to replace the default CC payment module. However, I really think that it would be inappropriate for visitors/buyers/customers to see the actual Payment Module's name. Instead, they should see Credit Card as the payment option. Now what I'm wondering is if there's some way of fixing this by supplying some time of PUBLIC name. I did this in the old CVS versions by adding a new macro called MODULE_PAYMENT_BOFA_TEXT_TITLE_PUB and edited catalog/includes/classes/payment.php by changing From: <td class="main">' . $GLOBALS[$class]->title . '</td>' . "\n" To: <td class="main">' . ($GLOBALS[$class]->title_pub ? $GLOBALS[$class]->title_pub : $GLOBALS[$class]->title) . '</td>' . "\n" Well, this has been changed in the new MS versions. So I can only think of two ways of making this possible: 1. Modify MODULE_PAYMENT_BOFA_TEXT_TITLE in my BofA module from "Bank of America eStores" to "Credit Card". 2. Edit "checkout_payment.php" to recognize the MODULE_PAYMENT_BOFA_TEXT_TITLE_PUB macro. I honestly feel that OSC should have an additional entry for the modules to allow different text to be displayed on the Payment Methods Page, but still allow the actual Module's name to be displayed in Admin. Please comment... Thanks in advance, Ray Link to comment Share on other sites More sharing options...
Guest Posted January 16, 2004 Share Posted January 16, 2004 ttt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.