![]() |
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. |
Re: FastLane and Coupon
I am not a big fan of fastlane checkout or the standard cart. I have managed to get all of the following onto my 1st checkout page of the standard cart to make it a bit smoother:
Redeem a coupon - accepts normal x-cart coupons. I have called them referral coupons as part of the BCSE Reward referral mod: (try this one - "2905REFERRAL9278") - I modified discount_coupons.php to reload the checkout page rather than the cart page after a coupon is added. in modules/Discount_Coupons/discount_coupons.php replace 2 instances of this: HTML Code:
func_header_location("cart.php"); with this: HTML Code:
func_header_location("cart.php?mode=checkout"); Redeem a coupon - also accepts multiple On Sale coupons (try this one - "DISCOUNT10") - currently it reverts back to the cart page as I cannot edit OnSale_coupons.php - although bill was kind enough to run me off a modified file - still needs a bit of tinkering. Redeem Points Points - BCSE's customer reward points mod - I could not stand having this as a seperate payment method to I have set it up to work on the checkout page 1. please take a look: http://www.sub-laser.co.uk/shop and have a play: the site is not open so please do not submit on any orders and excuse the crap finish and layout - still working on content and CSS issues. Any comments/suggestions please :wink: |
Re: FastLane and Coupon
oops, sorry.. the whole point of my last post was to say that in my opinion the standard cart is much easier to play around with than fast_lane_checkout. Why not try/use the standard cart - I messed around with fastlane for hours and could not get it to do what I wanted and thought that the standard cart was a step backwards - but its not.
|
Re: FastLane and Coupon
Thanks for the tips Hebs. I'm in the process of setting up a test environment to put all checkout info on one page and plan on using the standard cart. Do you know roughly how much time you spent in getting your checkout set up? I'm trying to weight the benefits of doing this myself vs. add on software.
Thanks. |
Re: FastLane and Coupon
it only took a couple of days, but most of that time was taken up by teaching myself the basics of smarty & php. If you are happy with the basics of HTML, smarty & PHP then it should be quick.
Most of my time was taken up with trial & error because I am learning as I go. If time is a premuim then it is worth paying a professional. |
Re: FastLane and Coupon
I've got an issue. I've sent out a first time customer discount coupon. i don't require customers to register before they can shop (I do before they can check out though). The problem is that since the coupon is a 1 per customer only, you need to be logged in apparently so the store can know who you are. So the coupon won't work on the bottom of the shopping cart page. Needs to be in the checkout. I'm using fastlane -
Can anyone tell me how to move the coupon to the checkout shipping and payment page? Have you verified that it works? |
Re: FastLane and Coupon
Hi All,
I included the "coupon code" code on my Fast Lane Checkout "Place order" page, but now whenever I enter a coupon code and click Submit, I get redirected back to my shopping cart. Obviously, I want to avoid this since this person is at the last step of the checkout process. Any way to keep the customer on this page after submitting a coupon code? I don't want them to be redirected back to the cart only to have to click a few more times in order to get back to this page again. Note: I added Quote:
to skin1/modules/Fast_Lane_Checkout/checkout_3_place.tpl. Any help would be appreciated. Thanks! |
Re: FastLane and Coupon
I am also having this redirect problem. Is there a solution which can direct the user back to the checkout page rather than right back to cart.php?
|
All times are GMT -8. The time now is 12:18 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.