X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   A simple fix to pretty the checkout up a little (https://forum.x-cart.com/showthread.php?t=22197)

smh7233 07-07-2006 07:07 AM

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.

SamD 07-07-2006 07:50 AM

Quote:

Originally Posted by Grant


has anyone been able to code this part yet?

Vacman 07-07-2006 08:00 AM

Got it. Thanks.

Gant, what is the status on the rest of this?

cwill2200 07-07-2006 10:24 PM

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?

NightFire 07-07-2006 11:22 PM

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.

fearnothing 07-08-2006 04:22 AM

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 ....

stevep 07-23-2006 08:56 AM

great mod just the job cheers.

expert47 07-27-2006 10:08 PM

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

josebueso 07-30-2006 02:29 AM

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?

Newpowerr 07-30-2006 01:29 PM

Quote:

Originally Posted by NightFire
Wow nice fix fearnothing :lol:

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?)


All times are GMT -8. The time now is 05:16 AM.

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