![]() |
FastLane and Coupon
I noticed that when a customer logs into the cart (new or returning), Fastlane by-passes the first page (your cart). That is the page where the customer can redeem a discount coupon.
How does everybody deal with this ? Has anyone figured out how to call the coupon template from the payment page instead ? |
Re: FastLane and Coupon
I've noticed the same thing and am looking at how to add it now.
*sigh* yet more customizations required for missing x-cart features. |
Re: FastLane and Coupon
The Fast Lane checkout doesn't skip the cart. This is the page that displays when a customer adds an item to the cart using the Buy Together module. The reason the cart.php page is skipped is to get the customers through the checkout as fast as possible to reduce abandoned carts.
There are 2 options to change this: Option 1. Add the coupon box to the "Added to your cart" page: Near line 70, after this code: Code:
<td>{include file="buttons/button.tpl" button_title=$lng.lbl_proceed_checkout style="button" href="`$catalogs.customer`/cart.php?mode=checkout"}</td> Insert this: Code:
{* Display Coupon on 'Added Page' *} --- Option 2. Change the link that goes directly to the checkout to go to the cart.php page instead. It is in the skin1/modules/Buy_Together/buy_together_added.tpl. Change this (two places): Code:
{include file="buttons/button.tpl" button_title=$lng.lbl_proceed_checkout style="button" href="`$catalogs.customer`/cart.php?mode=checkout"} to this: Code:
{include file="buttons/button.tpl" button_title=$lng.lbl_proceed_checkout style="button" href="`$catalogs.customer`/cart.php"} Then login to the languages section of the admin and change the language variable lbl_proceed_checkout to 'continue to cart' |
Re: FastLane and Coupon
For option #1 it looks like the changes go into skin1/modules/Buy_Together/buy_together_added.tpl .
|
Re: FastLane and Coupon
Quote:
Yes, the buy_together_added.tpl for both options. |
Re: FastLane and Coupon
Thanks again for the code Bill, it works as advertised!
I saw your promotions, sales and specials mod a few days ago. If our store was not under feature lock-down right now I would have purchased it before go-live. That's the next mod on my list to buy. Unfortunately, I just discovered that X-Cart only supports one coupon per cart. So much for a free shipping _AND_ 10% off weekend. :roll: Not a show-stopper though so we're plowing through the final pre-launch checklist on the updated site. -- Xray2 |
Re: FastLane and Coupon
Once again, thank you Bill for great contributions !
However, it is not only your mod that causes the check out to skip the first page, I was refering to x-cart original Fast-Lane-Check-Out. Try the x-cart demo on their demo website and you will see that you will never have the opportunity during checkout to enter a discount coupon. The only time you have a chance to enter a discount coupon is when you add a product to the cart (which brings up the standard cart page) and when you click on "cart" (which also brings up the standard cart page). I'm still wondering how the community is dealing with this. Thanks to your ideas, I called up the "modules/Discount_Coupons/add_coupon.tpl" from "skin1/modules/Fast_Lane_Checkout/checkout_2_method.tpl". Unfortunately, I was not able to place it above the "payment options" because I guess it interferes with the {capture} code (I'm not a pro) so I placed it at the bottom of the page and it works. It's uggly though because it'll redirect you to the first page (your cart) again. But at least, customers don't miss the opportunity to enter a discount code. I'm sure Bill, your new long awaited check-out module will take care of all this :roll: |
Re: FastLane and Coupon
Quote:
It probably will not be stock, but it would be easy to add to the one page template (maybe I will make this an option). Quote:
Just a FYI, the On Sale module allows unlimted coupons per order (for coupons made with the On Sale module). |
Re: FastLane and Coupon
Has anyone worked out how to add the 'redeem a coupon' box to the actual fast lane checkout rather than the 'items' page? It seems that it would make more sense for it to be on the payment method page, rather than on the items page.
balinor has got it working with the standard checkout, but I'm struggling to get it working with the fast lane checkout. Any ideas? |
Re: FastLane and Coupon
Quote:
I moved the coupon code to \xcartdir\skin1\modules\Fast_Lane_Checkout\checkou t_2_method.tpl and it worked -- the coupon box is on the payment method page. |
All times are GMT -8. The time now is 01:37 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.