![]() |
Jon,
I need some custom work done to the checkout mod in a 4.0.6 store. I am looking for another tab between payment method and login for terms and acceptance (I have older 3.4.x compatible code for you to reference) as well as some help getting a custom display on the final ORDER SUBMIT page. If you would like to PM me, that would be cool. :D |
Cheers Jon, code change worked perfectly.
|
Jon,
I have a question. Once you select payment method on the method tab and the process moves to the next tab wich is payment the cart goes out of the secure site to display the Shipping and the Billing information. Is there a way that I can keep this step in the secure site so it will not jump back and forth between the secure and the unsecure site? Thank you in advance for the help. Kind regards, Ricky |
Do not redirect from http to https. I think that is the setting you need to use but it will affect your whole store for logged in customers as well.
It is in general settings. |
Quote:
ADPboss, You are correct it is the default settings. But I think that gives the customers the wong idea as they think they are not in a secure site for payment method. I just wish ot will stay in the secure site once it moves there. Thank you. Kind regards, Ricky |
You missed it.
General Settings Enable Quote:
|
ADPboss,
I sure missed it. I guess my blonde monent and a big one too. Do not redirect customers from HTTPS to HTTP: just checked it. Thank you so much. Kind regards, Ricky |
No problem. Just figured that one out last week! :D
|
Help needed please !!
Hi all i need some help, ive been trying to edit some customer order templates. The ones a customer recieves by e-mail when an order has been placed/processed and completed.
i went to mail/order_customer_complete.tpl , just wanted to change a few things on there and i got this message - Fatal error: Smarty error: [in mail/order_data.tpl line 11]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1512) in /home/a1dean/public_html/Smarty-2.6.3/Smarty.class.php on line 1082 I am totally lost, this happened with all the order_customer templates although when i do a test run buying an item paying etc, all e-mail appear to be fine, but i want to edit a few things out. any one got any ideas please. Jon i need some code and need to know where to place can i pm you !! |
Just purchased and installed...
Just wanted to add my 2 cents...
* The installation was easy. I think I had it done in about 5-10 minutes. * The price was right, however I kick myself for missing the Oct special by two days. * It looks great! I do have one question for Jon or anyone else who wants to chime in. My site has a button for "view cart" that links to cart.php with no arguments. I would like that to stay in the old cart that is built into the site instead of bringing me to the checkout cart that was updated. I hate to 'force' people to checkout if they want to stay on the site and shop a little more. What should I do? Adam |
^ Not positive this will work, but I think it will.
Open your cart.php Find: Code:
$smarty->display("customer/home_checkout.tpl"); Replace with: Code:
if ($mode == "checkout") { |
Re: Help needed please !!
Quote:
Probably means that you edited the templates incorrectly. Try restoring and attempting to edit over again. Feel free to PM me and I will assist you if I can. |
Hi jon, went upto my public_html and found cart.php but i couldn't find the code $smarty->display("customer/home_checkout.tpl");
i looked twice but can't find it anywere !! |
You have to own this mod to use many of the changes Jon has listed.
|
have you got any other ideas what i have done wrong, i havn't done to much work to my cart so if i have to do a re-install then i will.
serve me right for messing about with code when i only know basic html !! Going to try going backwards and getting rid of stuff ive done to see if i can find were ive gone wrong, thanks guys for your help, appreciated |
Deano here is a suggestion.
Always copy your file to your local PC by FTP. Then edit it on your desktop. When you go to re-upload it to the server, rename your old file filename_OLD.tpl (or php) first. that way you can always delete the new file and just remove the _old from the original and you are back to good. |
think i will take that advice, as before i should of made sure i made back up copies first, my fault, but if any you do find the could what ive done wrong that would be great, or if you advise i will do a fresh install
regards Dean |
Just open up your x-cart tar.gz file using winzip.com
Find: mail/order_data.tpl Extract it. Upload it over your current file. No need to reinstall everything. |
Jon cheers for that, your a life saver, i did use the "restore file" button on a lot of these files last night to see if i could reverse the problem, but it didn't reverse what i had done, This taught me a small but valuable lesson
back backups first !!! think the thurst for knowledge and know how is a dangerous thing when you only have basic html knowledge your still trying to learn more, seem to get yourself in more mess sometimes than you were in the first place. cheers you guys |
Quote:
Jon, I don't see anything in my cart.php that looks like that, but I did find this: Code:
func_display("customer/home_checkout.tpl",$smarty); Do I need to do something with that? Thanks, Adam |
Sorry, gave you instructions for 3.5 instead of 4.0
Replace: Code:
func_display("customer/home_checkout.tpl",$smarty); With this: Code:
if ($mode == "checkout") { |
Quote:
Once again... You are the man. THANKS! |
Jon,
I would like to add couple of banners to the checkout process at the bottom just like you have in your site. Would you please point me in the direction of the proper templete files that I need to edit in order to have the banners display. Thank you in advance. Kind regards, Ricky |
^ Simply edit your /skin1/customer/home_checkout.tpl
|
Quote:
Thank you Jon working on the mod now. One more question the confirmation step what templete is it using? thank you in advance. kind regards, Ricky |
I believe it's skin1/customer/main/order_message.tpl
|
I noticed though my x-cart stats that im loosing alot of sales in the cart/checkout process... What can i say, the minute i got this, the sales improved, thanks for releasing this Jon... i understand the concept, its like closing the sale, works a treat!
It was very easy to install... i mean i don't have a clue about this stuff but even i could do it... Worth every penny! |
Hey jon-
Is there a way to display the order and price total during the payment step? I want to give customers one last chance to make sure they have the correct items in their cart before paying... |
Remove the if statement "{if $config.Shipping.realtime_shipping eq "Y"}" from customer/main/checkout.tpl
In other words: Replace: Code:
{if $config.Shipping.realtime_shipping eq "Y"} With: Code:
{capture name=checkout_dialog} |
Jon can you help please
Hi Jon can you tell me how to create another menu box, i wish to call this menu box "information", also i would like to use a dingbat with it so it blends in with the rest of the menu boxes, have been looking around trying to find an answer but no luck, i have create one use tables and basic html, but i can't get it to look the same. if you get 5 mins have a look at my site, changed since you were last there, wife didn't like the look
of the colors, i have create this menu underneath the help menu. many thanks Dean www.premierbodyjewellery.com |
Edit the areas in capital letters.
You need to upload the dingbat to the skin1/images folder. Code:
|
jon sorry which templete is it i have to do this with, you know me not to clever at this stuff yet, thanks again
|
Put that wherever you want the menu to appear.
/skin1/customer/home.tpl That's probably the one you want. |
thanks for your help jon, cheers
|
Here is a little picture of the invoice I finish re-desing it. I have not posted the files her because I think will be better if you can get a zip file.
I have asked Carrie from www.bcsengineering.com to put it on her store in the free mod area and she has agree to do it. So you can get it there 24/7. Or you can e-mail at webmaster@ballroomdancingshoe.com requesting the nice invoice mod and I will send it to you. no more words here is the image of it. http://www.ballroomdancingshoe.com/images/invoice.gif kind regards, Ricky |
Jon..
Having bought the Easy Checkout mod few weeks ago, I'm just trying to install it now on our development site, X-Cart version 4.0.7 i'm just wondering about this code below. Quote:
The lines on my include/login.php file are as below. Do I replace the whole of the section below with your code? including the if((strpos($HTTP_REFERER, "mode=auth")...... bit too? Code:
if ($login_type == "C" || $login_type == "B") { Same in register.php file. do i replace the whole of the section below with your code? Code:
elseif ($action == "cart") { Thank you in advance. |
Looks like in the newer versions they are now making changes to integrate some of my mod.
Login.php needs to be changed to this: if ($login_type == "C" || $login_type == "B") { if($redirect2 == "checkout") func_header_location($redirect_to."/cart.php?mode=checkout"); elseif (!func_is_cart_empty($cart)) { if((strpos($HTTP_REFERER, "mode=auth") === false) && (strpos($HTTP_REFERER, "mode=checkout") === false)) { func_header_location($redirect_to."/cart.php"); --- If in register.php it looks like this you do not need to change it: elseif ($action == "cart") { if (empty($paymentid)) $script = "cart.php?mode=checkout®istered="; |
is there a problem with v4.07, or is it just me !!!
Hi jon as we were speaking before and i had prob with mysql database
they have now brought out v4.07 so i un-installed v4.06 and done a new database after speaking with my hosting tech support, database i can gain accses to now, but i installed new version, set permissions etc but on running install.php all ok untill i get to Checking results Critical dependencies, it has failed on - File uploads is ... Off So i un-installed and re-uploaded v4.06 and all depenencies are ok, so yet again, un-installed and re-uploaded v4.07 and once again File uploads is ... Off failed !! so i can't go any further, tell a lie i first tried doing a patch for the new version, but it came back with the same problem, so thats why i un-installed, any advice, except leave well alone next time (dont fix what isn't broken) haha. thanks Dean |
^ No idea. Best bet is to contact x-cart support.
|
Hi thanks anyway jon, at least i used my head this time and made a full
public_html backup through my server and a my sqldump, so got my site back up within 5 mins, i have contacted xcart support would just like to know why incase there a bug, cheers Dean |
All times are GMT -8. The time now is 07:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.