![]() |
Quote:
In the special Instructions box for the payment you choose. |
Quote:
has anyone been able to code this part yet? |
Got it. Thanks.
Gant, what is the status on the rest of this? |
Where do we add the tag for the CC images?
Quote:
|
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.
|
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] 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 .... |
great mod just the job cheers.
|
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 |
Re: Looks good!!
Quote:
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? |
Quote:
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?) |
new checkout look and feel
The changes you people have discussed on this thread for a much needed new look to the checkout are most interesting. However there are bits of code all over the thread can anyone provide a comprehensive set of code bringing all the bits together please.
Thanks |
I get this error...?
I get this error...
Warning: Smarty error: unable to read resource: "customer/main/sexy_customer_details.tpl" in /home/kravexo/public_html/Smarty-2.6.9/Smarty.class.php on line 1088 Ideas anyone? |
Re: A simple fix to pretty the checkout up a little
Great mod! Was able to get it working with a little effort.
Be careful when cutting and pasting the code as mineput some spaces in the address calls which forced them to not display. Question. Can anyone tell me what I would have to change to get the two boxes for Billing and Shipping to be on top of each other as opposed to beside each other? The way my page is formated it is better suited to a vertical format. Thanks, Jason. |
Re: A simple fix to pretty the checkout up a little
Quote:
in sexy_customer_details.tpl, switch the td and tr tags around |
Re: A simple fix to pretty the checkout up a little
This looks GREAT in IE, but it seems to be garbled in Firefox. Any ideas?
------ Internet Explorer 6.0 http://www.sushob.com/images/tempimages/sexycustomerdetailsie.jpg ------ Firefox 1.5.0.7 http://www.sushob.com/images/tempimages/sexycustomerdetailsfirefox.jpg |
Re: A simple fix to pretty the checkout up a little
codes are buggy for 4.1.3 :( can anyone make it work for x-cart 4.1.3 and firefox.
|
Re: A simple fix to pretty the checkout up a little
Stating the obvious...but it appears that some of the css is not compatible with Mozilla.
So the not so obvious...does anyone have a fix? |
Re: A simple fix to pretty the checkout up a little
For the Firefox issue try this! This is only a small snippet of the code being modified!
Instead of checkout.tpl like this: Code:
<INPUT type="hidden" name="action" value="place_order"> Code:
<INPUT type="hidden" name="action" value="place_order"> On a side note: Holy Carp! I never realized how <table> redundant x-cart is. |
Re: A simple fix to pretty the checkout up a little
Thanks! Looks great!
|
Re: A simple fix to pretty the checkout up a little
Because all of the image "calls" in the CSS is to the non-SSL image directory this seems to "break the lock" on all of the HTTPS pages.
Code:
.sidebox { Such as: url(https://www.yourdomain.com/skin1/images/xxx.gif) |
Re: A simple fix to pretty the checkout up a little
I thought this broke my SSL as well, but I found it was actually the Skype button I added to the top menu calling a java script from the Skype website. I fixed that, and everything is as it should be. This mod didn't effect the security at all for my site, as far as I can tell.
|
Re: A simple fix to pretty the checkout up a little
OK, so I've got this almost the way I want it, but how do I get rid of the dialog.tpl for ONLY the checkout process? It's redundant!
http://www.autographedathlete.com/images/dialog.jpg I thought I could just make another dialog.tpl and name it something like dialog_checkout.tpl remove the row in the table that has the images and change this: Code:
{include file="dialog.tpl" title="`$lng.lbl_checkout`: `$lng.lbl_step` `$checkout_step` `$lng.lbl_of` `$total_checkout_steps`" content=$smarty.capture.checkout_dialog extra="width=100%"} Code:
{include file="dialog_checkout.tpl" title="`$lng.lbl_checkout`: `$lng.lbl_step` `$checkout_step` `$lng.lbl_of` `$total_checkout_steps`" content=$smarty.capture.checkout_dialog extra="width=100%"} Code:
content=$smarty.capture.checkout_dialog |
Re: A simple fix to pretty the checkout up a little
can anyone get the sexy checkout to work on 4.1.3? its buggy on here.
|
Re: A simple fix to pretty the checkout up a little
Have read through this whole thread and was quite impressed with the work Grant originated here. I tried to implement this customization to my cart but it did not work. I am running Version 4.1.3 of X-Cart and am new to the product, actually had someone else develop our cart, so excuse my limited knowledge. I am trying to get up to speed as quickly as possible.
What I did discover is that the mod probably didn't work for me since it appears the code dealing with displaying the customer information no longer resides in customer_details.tpl but instead in customer_details_html.tpl under a new subvolume area. This is confusing because the customer_details.tpl does exist just where Grant specified, but appears to not be part of the 4.1.3 implementation. I may be way off on this and I am seeing some customization changes made by the guy who developed my site. I've experimented with changing the customer_details_html.tpl with no success so far. If anyone has run into this issue implementing this mod in 4.1.3 I would be grateful on knowing how you retrofitted these mods. |
Re: A simple fix to pretty the checkout up a little
Here's what I have working successfully on 4.1.3:
1. Create a new file skin1/customer/main/sexy_customer_details.tpl with this code: Code:
{* $Id: sexy_customer_details.tpl,v 1 2006/06/01 15:15:52 max Exp $ *} 2. Open skin1.css and add this at the bottom: Code:
.sidebox { 3. Download the 4 images from the first post and save them in skin1/images. 4. Open skin1/customer/main/checkout.tpl and replace: Code:
{include file="customer/main/customer_details.tpl"} Code:
{include file="customer/main/sexy_customer_details.tpl"} Hope it works as well for you as it did for me! :-) |
Re: A simple fix to pretty the checkout up a little
Nate,
Thanks for you help with this, I seem to be getting a little closer to fixing the issue now. My text appers to be getting formatted correctly now that I put the changes into fastlane_checkout.tpl instead of checkout.tpl, unfortunatly the boxes are not getting displayed even though I have the images in my images folder. Thinking it was because of lack of qualification on the URL specifiers in the skin1.css, I put in the proper path and still no luck :?. Lew www.iDirectGrp.com |
Re: A simple fix to pretty the checkout up a little
Is it okay to place a test order on your site so I can see what's going on?
I'm not the most qualified on this forum (by a long shot), but I'll certainly give it a try. |
Re: A simple fix to pretty the checkout up a little
It doesn't seem as though you added the css code to your skin1.css file?
If you did, it's not showing, try emptying your templates_c directory! |
Re: A simple fix to pretty the checkout up a little
Wait a minute....
It appears that you are using skin1_c.css not skin1.css, make sure you put the code in the skin1_c file. |
Re: A simple fix to pretty the checkout up a little
This looks great, but so far the code is only for the cusomter address fields. Anyone have code for further areas of checkout???? IE: Cart Details and Payment Method?
|
Re: A simple fix to pretty the checkout up a little
Quote:
If all else fails maybe you can try a test order. Not sure exactly what you are proposing, I assume a sandbox order in test mode. Anyway, greatly appreciate your input. Lew http://www.idirectgrp.com |
Re: A simple fix to pretty the checkout up a little
Quote:
No, I actually changed the skin1.css not the skin1_c.css. I had thought I had made this mistake as well. Thanks anyway for your response. If you have any other theories please feel free to share them. Lew http://www.idirectgrp.com |
Re: A simple fix to pretty the checkout up a little
Quote:
Code:
.sidebox { |
Re: A simple fix to pretty the checkout up a little
Quote:
YEP! |
Re: A simple fix to pretty the checkout up a little
Quote:
YES! That was the problem! Thanks for you help on this. |
Re: A simple fix to pretty the checkout up a little
Hey Lew,
like your site, did you have it customised or is it a skin, I am looking to fancy my site up from the standard x-cart options. |
Re: A simple fix to pretty the checkout up a little
Thanks for this great mod! After reading the ENTIRE thread, tweaking here and there, all is well except ONE thing. My right nav bar whacks out when the sexy boxes are used. And also, I can't seem to see a place to edit/change the info on them after they've been filled out and submitted.
Here's the page before: http://d2729703.u51.websitesource.net/store/cart.php?mode=checkout®istered= Here's when it goes whacky: http://d2729703.u51.websitesource.net/store/cart.php?paymentid=16&mode=checkout Any help would be great. Thanks |
Re: A simple fix to pretty the checkout up a little
Quote:
The links only work if we add items to the cart and then fill in all the user info. Could you post some screenshots instead? |
Re: A simple fix to pretty the checkout up a little
okay I will ask again: This looks great, but so far the code is only for the customer details. Anyone have code for further areas of checkout???? IE: Cart Details and Payment Method?
|
Re: A simple fix to pretty the checkout up a little
Quote:
|
All times are GMT -8. The time now is 02:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.