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
  #391  
Old 05-01-2005, 06:27 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,060
 

Default

Quote:
Originally Posted by markwhoo
Quote:
Originally Posted by Jon
Hey Mark, the issues aside from the points mod have been resolved, as I believe we've spoken about already.

Carrie has a fix for the points mod so you'll have to contact her for an updated file. PM me if you have any questions or concerns.

Just an update on this for those that may be interested. (If you use Points Mods from Carrie at BCSE AND Jons exRecommends)

Carrie was able to change the redirect for the points mod when using the ezRecommends mod by Jon.

Now when points are used as payment method and end user runs short and cannot cover entire cart amount, the cart will redirect to payment method, but you WILL NOT get error message stating you need additional funds to complete purchase.

This will leave you either needing to have explicit instructions for end user to stop possible confusion, or simply remove the ability to pay with points and have end user request a Gift Certificate instead and admin deduct points for that due to Jon having a fix for the redirect to enable user to pay with Gift Certificate etc.


So, use Gift Cert not Points for purchase or no using ezRecommends as there is issue with payment error/notifications when using both.


Carrie has stated she hopes to add ability to post errors in future releases or version update that will be compatible with the ezRecommends Mod. No date specified...

My thanks go out to Jon for providing fix for the redirect when using Gift Certificate as payment method!

There is no problem using Jon's mods with my Points mods if a slight modification is done to the install of the ezCheckout mod. My points mod shows in RED the points discount to be clear to the customer after paying with points. With Jon's ezCheckout mod, his mod hides this by default.

To show this follow these steps:
-In step 8 instead of using the instructed code at the bottom of this step:
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}

Use this code (take out the {if} {/if}):
Code:
{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%"}

I hope this clears things up. I also have added to my code to allow for the ezRecommends module. So if you have the ezRecommends and my Points mod, contact me and I will send you an updated points_payment.php file (any orders after 3/6/05 have this code already in there for them).

I hope this clears things up for you guys! Any questions contact me!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #392  
Old 05-04-2005, 10:39 AM
 
gbanse gbanse is offline
 

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

Default

First, nice mod!

I'm having a bit of trouble getting the logo in the upper left-hand corner to switch out depending on the mode. My code:
Quote:

[img]skin1/images/{if $mode eq [/img]</p>

The way I thought this would work was to change it to the wishlist logo if the url read: /cart.php?mode=wishlist But it doesn't. I'm making the changes in home_checkout.tpl
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #393  
Old 05-04-2005, 12:04 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

You may have to edit cart.php and assign the $mode variable to smarty.
Reply With Quote
  #394  
Old 05-04-2005, 12:32 PM
 
gbanse gbanse is offline
 

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

Default

Hello Jon,
Thanks for the reply.

Assign mode like this?

$smarty->assign("mode", $mode);

And I assume it can be at the end of the file outside of any function?
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #395  
Old 05-04-2005, 12:43 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Put that at the end of the file, right before $smarty->display
Reply With Quote
  #396  
Old 05-04-2005, 12:58 PM
 
gbanse gbanse is offline
 

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

Default

Worked like a champ!

Thank you!
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #397  
Old 05-06-2005, 04:19 AM
 
JonnyC JonnyC is offline
 

Member
  
Join Date: Jul 2004
Location: Manchester UK
Posts: 12
 

Default

Hi Jon

Bought your mod yesterday and installed it no problems

Just wanted to say what a great mod and thanks

Jon
__________________
X-Cart version 4.4.5
Reply With Quote
  #398  
Old 05-07-2005, 09:48 PM
 
mrbiggles mrbiggles is offline
 

Senior Member
  
Join Date: Jan 2005
Location: Adelaide , South Australia
Posts: 107
 

Default

Hello
I bought the EZ-checkout, upsell, and the other one, installed them all ok in about an hour, and they seem to be working fine exept I cannot login with an existing username and password from the checkout, it sends me to a blank checkout page.

I had a quick look through this thread (almost needs its own sub forum) but got 15 pages in and gave up.

Hope this is a common problem, I would place the code here but seeing as its 3rd party thought I had better not.
Regards Adam
__________________
www.creydall.com
X-Cart version 4.0.11
PHP 4.3.9 MySQL 4.0.22
Apache/1.3.33
Perl 5.008004
Adam
Adelaide South Australia
Reply With Quote
  #399  
Old 05-07-2005, 09:55 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Nobody else has reported the error, so I assume it's something specific to your installation, but can find out for sure if you PM me ftp details.
Reply With Quote
  #400  
Old 05-09-2005, 10:34 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Quote:
Originally Posted by mrbiggles
Hello
I bought the EZ-checkout, upsell, and the other one, installed them all ok in about an hour, and they seem to be working fine exept I cannot login with an existing username and password from the checkout, it sends me to a blank checkout page.

Fixed, you didn't upload the skin1/customer/main folder provided with the installation.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 03:33 AM.

   

 
X-Cart forums © 2001-2020