Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Adding custom CSS to Xpay module

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 04-09-2015, 06:20 AM
 
Stur Stur is offline
 

Advanced Member
  
Join Date: Jan 2015
Posts: 30
 

Default 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?
__________________
X-Cart 5
Antifraud
Template #42
Reply With Quote
  #2  
Old 04-09-2015, 11:27 PM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default 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
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #3  
Old 04-13-2015, 06:37 AM
 
Stur Stur is offline
 

Advanced Member
  
Join Date: Jan 2015
Posts: 30
 

Default 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
__________________
X-Cart 5
Antifraud
Template #42
Reply With Quote
  #4  
Old 04-13-2015, 06:41 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default 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.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #5  
Old 04-13-2015, 11:02 PM
 
Stur Stur is offline
 

Advanced Member
  
Join Date: Jan 2015
Posts: 30
 

Default 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?
__________________
X-Cart 5
Antifraud
Template #42
Reply With Quote
  #6  
Old 04-14-2015, 12:49 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default 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.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #7  
Old 04-14-2015, 01:09 AM
 
Stur Stur is offline
 

Advanced Member
  
Join Date: Jan 2015
Posts: 30
 

Default 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?
__________________
X-Cart 5
Antifraud
Template #42
Reply With Quote
  #8  
Old 04-14-2015, 01:48 AM
 
Stur Stur is offline
 

Advanced Member
  
Join Date: Jan 2015
Posts: 30
 

Default 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?
__________________
X-Cart 5
Antifraud
Template #42
Reply With Quote
  #9  
Old 04-14-2015, 02:15 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default 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?
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:45 PM.

   

 
X-Cart forums © 2001-2020