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

A simple fix to pretty the checkout up a little
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #41  
Old 07-07-2006, 07:07 AM
 
smh7233 smh7233 is offline
 

Member
  
Join Date: Dec 2005
Posts: 13
 

Default

Quote:
Originally Posted by Vacman
Quote:
Originally Posted by fearnothing
So you would need to add this into the field before any text:

[img]../yourlocation/skin1/images/payment_xxxx.gif[/img]


I am not sure where the above line is supposed to be inserted?
Is it to go into my line "Visa or Mastercard" in the Payment method screen in Admin?

In the special Instructions box for the payment you choose.
__________________
Gold 4.1.9
Reply With Quote
  #42  
Old 07-07-2006, 07:50 AM
  SamD's Avatar 
SamD SamD is offline
 

Advanced Member
  
Join Date: Mar 2006
Location: New York
Posts: 38
 

Default

Quote:
Originally Posted by Grant

has anyone been able to code this part yet?
__________________
Version 4.1.8
(Upgraded from 4.0.1
Reply With Quote
  #43  
Old 07-07-2006, 08:00 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

Got it. Thanks.

Gant, what is the status on the rest of this?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #44  
Old 07-07-2006, 10:24 PM
 
cwill2200 cwill2200 is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 137
 

Default Where do we add the tag for the CC images?

Quote:
fearnothing wrote:

So you would need to add this into the field before any text:

[img]../yourlocation/skin1/images/payment_xxxx.gif[/img]






I am also not sure where the above line is supposed to be inserted?
Can you tell us newbies?
__________________
cwill2200
X-Cart Gold 4.0.18
FreeBSD
Reply With Quote
  #45  
Old 07-07-2006, 11:22 PM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default

Insert at the line of the payment descriptions. Go to admin. Menu administration --> payment methods. The at the payments boxes enter this code before the text.
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #46  
Old 07-08-2006, 04:22 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default

Thanks for clearing up those questions Nightfire and smh7233 - I should have been more considerate with my notes.

Yes, just to clarify the whole thing; Once you have made the change to payment_methods.php, anyone with administration rights in X-Cart will be able to go to Payment Methods (under Administration section) and amend the 'Special Instructions' field for any or all of the payment methods to include HTML markup. (which is not possible without the payment_methods.php modifcation)

To get the 'Visa or Mastercard' option to display the image as in my screenshot, this is the full entry in my 'Special Instructions' field for that payment method:

Code:
[img]../store/skin1/images/payment_visa.gif[/img] Secure Online Credit Card Processing

I previously uploaded the GIF files to the standard skin1/images folder and my store is in the 'store' directory, but you can substitute this with the location of your store and preferred files location.

The tags are optional, I've included these to make the first (preferred) payment method stand out a little. The
tag puts the text below the image file.

You could of course not have any text in that field, and use an image file only - this would look neater again, but it would mean the customer would have to wait until the images rendered in their browser before choosing a payment method (dial-up, anyone?) so I wouldn't recommend this course of action.

Hope that helps ....
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
  #47  
Old 07-23-2006, 08:56 AM
  stevep's Avatar 
stevep stevep is offline
 

Advanced Member
  
Join Date: Jul 2005
Location: uk
Posts: 58
 

Default

great mod just the job cheers.
__________________
X-Cart version 4.4.5
PHP 5.2.13
MySQL server 5.0.51a-community-log
MySQL client 5.0.51a
Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8
Operation system Linux
Perl 5.008008

http://temptinglysexy.co.uk
Reply With Quote
  #48  
Old 07-27-2006, 10:08 PM
 
expert47 expert47 is offline
 

Senior Member
  
Join Date: Feb 2006
Posts: 101
 

Default Looks good!!

Hi there..

What's the chance you can list all the files and installation locations in one place? There have been some changes (someone did US based stuff) and it's all sort of scattered over this thread.

One set of files with everything needed would be sweet..!

It really does look nice.. !

marty
__________________
Expert47
(Marty)
X-cart ver 4.0.17 retired
X-Cart ver 4.1.8 Moved to new server! Operating Mucho Better
X-AOM (Love it!!)
X-cart 4.4.3 finally in test ..! Help!
Reply With Quote
  #49  
Old 07-30-2006, 02:29 AM
 
josebueso josebueso is offline
 

eXpert
  
Join Date: Apr 2006
Location: USA
Posts: 366
 

Default Re: Looks good!!

Quote:
Originally Posted by expert47
Hi there..

What's the chance you can list all the files and installation locations in one place? There have been some changes (someone did US based stuff) and it's all sort of scattered over this thread.

One set of files with everything needed would be sweet..!

It really does look nice.. !

marty

I can't make this mode to work I followed all the instruccion but seem like nothind change.

Do this mode work with xcart 4.1.2?
__________________
Saul
x-cart 4.7.9 Gold Plus

www.uncionmusic.com
Reply With Quote
  #50  
Old 07-30-2006, 01:29 PM
 
Newpowerr Newpowerr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 32
 

Default

Quote:
Originally Posted by NightFire
Wow nice fix fearnothing

What really does the trick if this thing will accept language variables. Then you can place your html tags into the language variables, and also your payments methods descriptions are multilanguage.
Thanks for the fix anyway, it gives me an idea where to start.

Using language variables wouldn't mess up all the code of html and normal text. And also the imagedir variable works etc.

Too bad it does not work like this. The language variables are smarty tags that are not parsed as on regular pages.

If someone please knows the solutiuon to this, let us now, because there are far more NON English shops and Multilingual Shops than the guys at X-Cart and the X-cart mod manufacturers like to believe (lack of localization in their code).

Too bad that essential stuf on the front end, such as localized shipping and payment methods (i.e. Check or Bank transfer vs Overschrijving per bank, wich one makes the most sense to my Dutch, French or German customers?)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:26 PM.

   

 
X-Cart forums © 2001-2018