X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Adding custom CSS to Xpay module (https://forum.x-cart.com/showthread.php?t=71806)

Stur 04-09-2015 06:20 AM

Adding custom CSS to Xpay module
 
Hi guys

I'm running the Xpayments module which puts out a pretty neat iframe. It needs a little visual improvement but the usual custom CSS section on Xcart's admin doesn't update what I want it to.

How can I add some custom CSS to the iframe features?

ambal 04-09-2015 11:27 PM

Re: Adding custom CSS to Xpay module
 
It is explained here

http://help.x-cart.com/index.php?title=X-Payments:User_manual#Customizing_the_Interface

Stur 04-13-2015 06:37 AM

Re: Adding custom CSS to Xpay module
 
Ok, novice question, where are these folders:
<xpayments>/lib/XPay/Templates/ and <xpayments>/public/templates/ .
I looked in my site's FTP (Xcart installed Xpay for me) and can't find that folder in there

ambal 04-13-2015 06:41 AM

Re: Adding custom CSS to Xpay module
 
Quote:

Originally Posted by info@toinfinity.co.uk
Ok, novice question, where are these folders:
<xpayments>/lib/XPay/Templates/ and <xpayments>/public/templates/ .
I looked in my site's FTP (Xcart installed Xpay for me) and can't find that folder in there


Actually, they are located at X-Payments side, not at X-Cart one.
You need to use FTP-S access information we sent you upon creating your X-Payments Hosted account to access those files. If you did not save that information - I advise to contact our CR reps via your HelpDesk account to have it re-sent to you.

Stur 04-13-2015 11:02 PM

Re: Adding custom CSS to Xpay module
 
Thanks Alex,
Found the files, made the changes, approved them but it's still not updating the styles.

I tried creating a newtemplate.css style sheet, then tried editing default.css but neither actually updated the CSS on the iframe.

I tried this in public/templates and templates/ but no success. Am I missing something?

ambal 04-14-2015 12:49 AM

Re: Adding custom CSS to Xpay module
 
> Am I missing something?

I guess so.

If you added a new template you need to select that template in your shop configuration at X-Payments side. Check what you have at "Template" select box in your shop config at X-Payments side. http://help.x-cart.com/images/5/57/XP2.0_example_store_details.png

There are also template settings for mobile shoppers and shoppers with 3D Secure enabled cards.

Stur 04-14-2015 01:09 AM

Re: Adding custom CSS to Xpay module
 
Have checked that section:

http://www.sturdrinks.eu/images/templates.jpg

My new template doesn't show in this list?

Stur 04-14-2015 01:48 AM

Re: Adding custom CSS to Xpay module
 
This isn't making any sense. I've been trying to move this error box
http://www.sturdrinks.eu/images/css.jpg
You can see my arrow tells me exactly where that CSS is located on my server. I've directly edited that exact file, approved the changes in the Xpay connector, refreshed this page and it's still showing the old original styles, not my updated ones. It's like it's caching old CSS versions that I'm manually updating?

ambal 04-14-2015 02:15 AM

Re: Adding custom CSS to Xpay module
 
If you created a new template, gave it a new name and uploaded into your X-Payments account using FTP access we sent you when your X-Payments account had been created it should appear in that list under the new name.


Quote:

Originally Posted by info@toinfinity.co.uk
Have checked that section:

My new template doesn't show in this list?



All times are GMT -8. The time now is 02:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.