| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
(if Total = $0) { still allow normal checkout process | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
(if Total = $0) { still allow normal checkout process
I have a site that offers most of its merchandise for free with free shipping. When a customer checks out with a $0 total, they go directly from the Cart View to the Order Confirmation - skipping the Payment Method and Order Review pages altogether. Where is the logic that causes this located? I'd like to disable it so that my customers can still review their ship-to information and enter order notes.
thanks, Glen p.s. This is in X-cart 4.0.16 gold
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS |
|||||||
#2
|
|||||||
|
|||||||
Here's the mod from X-cart tech support:
Code:
The code is slightly different in 4.0.13, so just look for the elseif with ["total_cost"] == 0 and comment out that statement. -Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS |
|||||||
#3
|
|||||||||
|
|||||||||
moved to custom mods
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||||
|
|||||||||
Thanks for sharing that, I have a client who uses his cart just for quoting and we had trouble with it missing out the payment step as of course there isn't any payment for a zero totalled order. Hopefully this will help solve it.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
The mod above is really only half of what I want:
Quote:
I've finally poked and prodded at cart.php long enough to sort out the solution (done in x-cart gold 4.0.13). In /cart.php find: Code:
and comment it out like this: Code:
Next, find: Code:
and paste this below it: Code:
EDIT BEGIN - code needed for x-cart 4.0.19 Finally, find: Code:
Code:
I've used paymentid=8 which is C.O.D. My store doesn't need C.O.D. so I've changed the language fields so it displays as "FREE". In the admin, make sure you have your C.O.D./FREE payment method unchecked - so that it doesn't display along with the other payment methods for $ purchases. Here's a list of the other standard payment methods and IDs: Quote:
That's it! I hope this is useful to some of you. -Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS |
|||||||
#6
|
|||||||
|
|||||||
Thanks for the great post. I was hoping someone could help me out with a problem I am having expanding on this mod. I want to run the credit cards through authorize.net. It returns a failed process, but that's fine since we will be processing these numbers manually later. I want to bypass the cc_processing error for the customer and provide a short message instead. I decided to do this on error_message.php in the root directory.
I created a tmp file : skin1/main/error_ccprocessor_error1.tpl It contains the message I want to post for the customer in the event of this particular error. Here"s how I'm going about it. This is the modified snippet from error_message.php. Code:
I'm getting a "Page Not Found or Do not have permission" message where the tmp file should show up when I try to run this page. Hope this is clear. Thanks for any help you can offer.
__________________
X-Cart Pro v4.4.3 |
|||||||
#7
|
|||||||
|
|||||||
Re: (if Total = $0) { still allow normal checkout process
Would anyone have code to allow having a downloadable item available for free in version 4.4.1? Want to have them register, but then just go to download page and skip credit card validation step.
__________________
4.4.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|