X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Easy Checkout Mod for X-Cart 3.5.x and 4.0.x (https://forum.x-cart.com/showthread.php?t=9085)

taltos1 06-20-2006 08:14 PM

Thank you so much. I am again impressed with your knowledge..

taltos1 06-28-2006 09:43 AM

Hello,
I just found out that when you get a credit card error (wrong #, etc) you also get pushed to the standard xcart screen.

Just like the code you suggested for the address change, can you tell me how to do this so the error codes stay in ezcheckout?

Thanks again.

Jon 06-28-2006 09:44 AM

Can you give me the exact url accessed for the error?

taltos1 06-28-2006 10:07 AM

It is here:
Thank you[/code]

Jon 06-28-2006 10:18 AM

Try this:

Open error_message.php

FIND:

Code:

func_display("customer/home.tpl",$smarty);

Replace with:

Code:

if ($error == "error_ccprocessor_error") {
    func_display("customer/home_checkout.tpl",$smarty);
} else {
    func_display("customer/home.tpl",$smarty);
}


taltos1 06-28-2006 10:43 AM

Amazing. Thanks again, in my humble opinion, these last 2 edits you helped me with should be included with the mod, small fixes, but makes the whole process much smoother. Thanks so much.

Jon 06-28-2006 10:47 AM

^ Probably so, we've tried to keep the amount of edits down however as some people aren't as proficient at edits which result in support cost. :)

ecommerce 09-08-2006 12:58 AM

Re: Easy Checkout Mod for X-Cart 3.5.x and 4.0.x
 
On 4.0.18,

I have a LOGOUT link somewhere on the site.

When I click it, it does log me out but it leaves me at

cart.php?mode=checkout

and defaults to highlight the LOGIN tab.

and in addition, it doesnt showing the login tab info,

it shows the empty cart message.
Your shopping cart
The items below are currently in your shopping cart. To remove any item click "Delete item". To checkout, please click "Checkout". Please note that Delivery method is ignored if you are ordering Gift Certificates or Electronically distributed products.


What I want is when the customer clicks on the Logout link,
they get logged out and are taken to the home page.

thanks.

ecommerce 09-08-2006 01:02 AM

Re: Easy Checkout Mod for X-Cart 3.5.x and 4.0.x
 
Jon,

I want to put a left 25px border and a right 25 border around your whole checkout.


<left td with image 25px> your checkout <right td with image 25px>

hope u get the idea.

i've been unsuccessful. Please point me in the right direction.

Jon 09-08-2006 10:11 AM

Re: Easy Checkout Mod for X-Cart 3.5.x and 4.0.x
 
Not quite sure what you mean, but something like this should suffice:

<table width="750" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="25">&nbsp;</td>
<td>

[ Original code will go here]

</td>
<td width="25">&nbsp;</td>
</tr>
</table>


All times are GMT -8. The time now is 09:23 PM.

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