| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Editing the payment "template" page | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
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
__________________
Adam X-Cart Gold 4.4.5 - Live X-Cart Gold 4.1.11 - Retired X-Payments 1.0.4 CDSEO Pro EWD Hosting |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Editing the payment "template" page
Content > Language > {select your language} > search for language variable "PayPal WPP Direct Payment" and change it
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#3
|
|||||||
|
|||||||
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.
__________________
Adam X-Cart Gold 4.4.5 - Live X-Cart Gold 4.1.11 - Retired X-Payments 1.0.4 CDSEO Pro EWD Hosting |
|||||||
#4
|
|||||||||
|
|||||||||
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
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#5
|
|||||||||
|
|||||||||
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?
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#6
|
|||||||
|
|||||||
Re: Editing the payment "template" page
Solved: See the two lines I commented out in /lib/XPay/Skin/Payment/Main.php
PHP Code:
__________________
Adam X-Cart Gold 4.4.5 - Live X-Cart Gold 4.1.11 - Retired X-Payments 1.0.4 CDSEO Pro EWD Hosting |
|||||||
|
#7
|
|||||||
|
|||||||
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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#8
|
|||||||
|
|||||||
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?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|