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
  #121  
Old 10-01-2004, 08:39 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Heh heh, no worries. I tried to minimize the changes as much as possible, so I don't think compatibility with upgrades will be much of an issue.
Reply With Quote
  #122  
Old 10-02-2004, 09:21 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Jon,

When I go to the MAKE PAYMENT Screen, my buttons at the top are not updating. It stays on METHOD rather than moving to payment.

V4.0.4.

Any suggestions?
Reply With Quote
  #123  
Old 10-02-2004, 10:03 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Likely a step in the install instructions were missed, likely the assigning of a variable. Make sure it was all installed correctly. If you'd like to PM me login details I'll have a look.
Reply With Quote
  #124  
Old 10-02-2004, 10:08 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

I'll go through it again. I only deviated from the custom install in one spot, if I still have problems tomorrow, I'll PM what that deviation was and maybe you can tell from that.

Thanks.
Reply With Quote
  #125  
Old 10-03-2004, 10:44 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

It likely has to do with:

Code:
$smarty->assign("paymentid",$paymentid);

Make sure that is in the correct spot.
Reply With Quote
  #126  
Old 10-03-2004, 01:33 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

That was it. Thanks.
Reply With Quote
  #127  
Old 10-03-2004, 04:36 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

I just caught it now, but looking at the screen samples in the first post of this thread and confirmed by checking out in my store, order totals are not shown to the customer after login.

For those of you with realtime shipping and/or taxes, you may want to consider adding this into the templates. It's never good to have a customer hitting the payment submission screen without seeing an order total with shipping and taxes.

I will post back here or update Jon when I get the chance to look at this.
Reply With Quote
  #128  
Old 10-03-2004, 09:36 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

^ Yeah your right. Thanks for catching this. I'll have a solution coded and posted here asap tomorrow.
Reply With Quote
  #129  
Old 10-04-2004, 07:46 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Here's the fix for people using realtime shipping. It will include the cart contents review, and shipping price, after login on the payment selection page.

I don't have a realtime shipping account, so please let me know if it works well and/or what improvements can be made if any.

Code for 4.0

Open /skin1/customer/main/checkout.tpl (after already modded with X-Easy Checkout)

Find:

Code:
{elseif $payment_methods ne ""}

After add:

Code:
{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}

Code for 3.5.x

Find:

Code:
{elseif $payment_methods ne ""}

After add:

Code:
{if $config.Shipping.realtime_shipping eq "Y"} {capture name=checkout_dialog} <form action="cart.php" method=post name=cartform> {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"} {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}
Reply With Quote
  #130  
Old 10-04-2004, 08:29 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Looks great on 4.0.

Thanks Jon.
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 01:10 PM.

   

 
X-Cart forums © 2001-2020