Editing the payment "template" page
I've almost got a payment page that looks how I want it to. I cannot find where this payment method line is coming from to remove it. There is no CSS linked to it either. Can anyone shed some light for me?
http://www.ingallseng.com/forum/Screenshot.jpg |
Re: Editing the payment "template" page
Content > Language > {select your language} > search for language variable "PayPal WPP Direct Payment" and change it :)
|
Re: Editing the payment "template" page
Where? In the admin side of XPayments? I see no such beast. That language variable does not exist in my XCart install either.
Thanks. |
Re: Editing the payment "template" page
it's gotta be language variable in your x-cart backend.
http://help.x-cart.com/index.php?title=X-Cart:Customizing_Text_Labels or see the .tpl file for more info and you can do this by webmaster mode as well |
Re: Editing the payment "template" page
You can check the language variables in X-Payments: http://forum.x-cart.com/showthread.php?t=56940, but that one might be coming from your Payment Methods set up in X-Cart?
--- |
Re: Editing the payment "template" page
Solved: See the two lines I commented out in /lib/XPay/Skin/Payment/Main.php
PHP Code:
|
Re: Editing the payment "template" page
Quote:
Adam, I copy/pasted your code and it rendered IE8 useless. All other browsers were forgiving. I should have caught it... Closing comment should have been --> not --!> And it looks like you edited this post? We had previously commented out 2 lines: PHP Code:
This caused some serious heartache and I now owe some major apologies for this. My credibility with x-cart has gone down dramatically and I will do everything possible to make sure everyone knows the reason for this. I am editing a bunch of posts right now. Alex, if you're reading this, PLEASE edit the code in Adam's post so the closing comment is --> IF ANYONE is reading this - don't copy/paste - if you want to comment out the processor (you should) type the comment in. J |
Re: Editing the payment "template" page
PS --
What do these two lines of code do specifically? What am I actually removing by commenting them out? <!-- <?php $this('Label_Text')->write('Payment method'); ?>: --> <!-- <?php $this('Label_Text')->write($this->getPayment()->getPaymentConf()->get('name'), false); ?> --> I think it is removing the "payment gateway" text, right? Yes - my customers have no need to know that I use "Elavon Virtual Merchant - Merchant Provided Form" as the payment method. All they care about is "credit card". Duh. I have these lines commented out for now. Any reason not to? |
All times are GMT -8. The time now is 12:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.