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)

BCSE 05-01-2005 06:27 PM

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... 8O

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

gbanse 05-04-2005 10:39 AM

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

Jon 05-04-2005 12:04 PM

You may have to edit cart.php and assign the $mode variable to smarty.

gbanse 05-04-2005 12:32 PM

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?

Jon 05-04-2005 12:43 PM

Put that at the end of the file, right before $smarty->display

gbanse 05-04-2005 12:58 PM

Worked like a champ!

Thank you!

JonnyC 05-06-2005 04:19 AM

Hi Jon

Bought your mod yesterday and installed it no problems

Just wanted to say what a great mod and thanks

Jon :lol:

mrbiggles 05-07-2005 09:48 PM

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

Jon 05-07-2005 09:55 PM

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.

Jon 05-09-2005 10:34 AM

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.


All times are GMT -8. The time now is 08:30 PM.

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