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

Easy Checkout Mod for X-Cart 3.5.x and 4.0.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #381  
Old 04-20-2005, 08:17 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default

Hola,
I'm in the middle of installing this mod. When I open up skin1/customer/main/checkout.tpl (step 6) I'm just a tad bit confused as to what to do with these instructions:

Quote:
Find:
{elseif $payment_methods ne ""}

{capture name=dialog}
<FORM method="get" action="cart.php" name="checkout_form">

After Add:


{$lng.txt_payment_method}</p>

In that same area, find:
{elseif $payment_methods ne ""}

As near as I can tell, there is only one line of {elseif $payment_methods ne ""}

Am I missing something?
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #382  
Old 04-20-2005, 08:36 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

The instructions are both referencing that piece of code, just follow the instructions according to where stuff goes in relation to it.
Reply With Quote
  #383  
Old 04-20-2005, 09:05 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default

I am following the instructions but the instructions lead me to believe there should be more than one instance of {elseif $payment_methods ne ""} which I cannot find. Based on the instructions it looks like the code for that section should look like this:

Quote:
elseif $payment_methods ne ""}

{capture name=dialog}
<FORM method="get" action="cart.php" name="checkout_form">


{$lng.txt_payment_method}</p>

{if $config.Shipping.realtime_shipping eq "Y"}
{capture name=checkout_dialog}
<FORM action="cart.php" method="POST" name="cartform">
<INPUT type="hidden" name="cart_operation" value="cart_operation">
{include file="customer/main/cart_contents.tpl"}
<HR noshade size="1">

{include file="customer/main/cart_totals.tpl"}



{if $js_enabled}
{include file="buttons/update.tpl" href="javascript: document.cartform.submit()" js_to_href="Y"}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_update}{/if}
</FORM>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_shipping content=$smarty.capture.checkout_dialog extra="width=100%"}

{/if}

Is this right?
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #384  
Old 04-20-2005, 09:18 AM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi gbanse

Code:
{elseif $payment_methods ne ""} {if $giftcertapplied ne ""} {$lng.txt_giftcertapplied}</p>{/if} {if $config.Shipping.realtime_shipping eq "Y"} {capture name=checkout_dialog} <FORM action="cart.php" method="POST" name="cartform"> <INPUT type="hidden" name="cart_operation" value="cart_operation"> {include file="customer/main/cart_contents.tpl"} <HR noshade size="1"> {include file="customer/main/cart_totals.tpl"} {if $js_enabled} {include file="buttons/update.tpl" href="javascript: document.cartform.submit()" js_to_href="Y"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_update} {/if} </FORM> {/capture} {include file="dialog.tpl" title=$lng.lbl_shipping content=$smarty.capture.checkout_dialog extra="width=100%"} {/if} {capture name=dialog} <FORM method="get" action="cart.php" name="checkout_form"> {$lng.txt_payment_method}</p> <TABLE border="0" align="center"> {section name=payment loop=$payment_methods} <TR> <TD width="1"><INPUT type="radio" name="paymentid" value="{$payment_methods[payment].paymentid}"{if $payment_methods[payment].is_default eq "1"} checked{/if}></TD> <TD nowrap>{$payment_methods[payment].payment_method}</TD> <TD>{$payment_methods[payment].payment_details}</TD> </TR> {/section} <INPUT type="hidden" name="mode" value="checkout"> </TABLE> <DIV align="center"> {if $js_enabled} {include file="buttons/continue.tpl" style="button" href="javascript: document.checkout_form.submit()"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_continue} {/if} </DIV> </FORM> {/capture} {include file="dialog.tpl" title=$lng.lbl_payment_method content=$smarty.capture.dialog extra="width=100%"} {/if}

hope that helps.

OH!! and Jon still waiting for ezrecommens to work with gift certificate.
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #385  
Old 04-20-2005, 09:45 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default

Hello zardos,
Thank you. It's installed and seems to be working. Now I'm off to apply the skin.
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #386  
Old 04-20-2005, 12:15 PM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Hi Jon,
Do you have new instructions to install the ez-checkout mod on 4.0.13?

Thanks
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #387  
Old 04-20-2005, 02:15 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

^ Drop me a note or send me an MSN.

The gift certificate I will resolve as soon as possible but have some pressing issues first.
Reply With Quote
  #388  
Old 04-20-2005, 02:56 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

^No problem Jon.

Thanks
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #389  
Old 04-27-2005, 02:53 PM
  denlem's Avatar 
denlem denlem is offline
 

Senior Member
  
Join Date: Apr 2004
Location: MA / CT / RI Border
Posts: 117
 

Default

Jon,

Do you have any updated install instructions for the Easy Checkout Mod?

I got my copy from Emerson and am doing a fresh install with version 4.0.12.

The install goes fine up until steps 7 and 8. In both of those steps, the parts I am supposed to 'find' have other lines of code mixed in between it.

In step 7, i'm supposed to find:
Code:
if ($login_type == "C" || $login_type == "B") { if (!func_is_cart_empty($cart)) { func_header_location($redirect_to."/cart.php");

it looks more like:
Code:
if ($login_type == "C" || $login_type == "B") { if (!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"); } else { func_header_location($redirect_to."/cart.php?mode=checkout"); }

Step 8 has a similar difference too.

Any help would be appreciated.

Thanks,
Dennis
__________________
X-Cart Gold Plus 4.7.10
Reply With Quote
  #390  
Old 04-27-2005, 03:41 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Yes there are updated instructions. Please PM me with your email address and I will send them asap.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 04:46 PM.

   

 
X-Cart forums © 2001-2020