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
  #101  
Old 09-22-2004, 01:56 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Quote:
Originally Posted by rjcbear
For those of us that only use paypal how can me display the IP address of the customer during the checkout process like you have on your site.

Kind regards,
Ricky

You can use this code in a smarty template:

Code:
Your IP address {php}echo $_SERVER['REMOTE_ADDR'];{/php} has been logged.
Reply With Quote
  #102  
Old 09-22-2004, 01:56 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Quote:
Originally Posted by amy2203
Thanks for this, great mod, I think it makes the ckeckout process soooo much easier.

If anyone wants a look it's www.willowtreecrafts.co.uk (live site so you'll only be able to see the first page)

Thanks again

Amy

Great looking site.
Reply With Quote
  #103  
Old 09-22-2004, 05:47 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
Can you post up your template file?

Here is the part of the tpl I modified

Code:
{* $Id: cart.tpl,v 1.59.2.4 2004/02/06 10:19:50 svowl Exp $ *} {include file="location.tpl" last_location=$lng.lbl_your_shopping_cart} <h3>{$lng.lbl_your_shopping_cart}</h3> {$lng.txt_cart_header} {if $active_modules.Gift_Certificates ne ""} {$lng.txt_cart_note} {/if} {if $cart.coupon_discount eq 0 and $products ne ""} {if $active_modules.Gift_Certificates ne ""} {include file="modules/Gift_Certificates/gc_cart.tpl" giftcerts_data=$cart.giftcerts} {/if} {if $active_modules.Discount_Coupons ne ""} {include file="modules/Discount_Coupons/add_coupon.tpl} {/if} {/if} {capture name=dialog} {if $products ne ""} <form action="cart.php" method=post name=cartform> <table border=0 width=100%> {section name=product loop=$products} {if $products[product].hidden eq ""} <tr><td width=50 valign=top> <a href="product.php?productid={$products[product].productid}">{include file="product_thumbnail.tpl" productid=$products

Thanks for all your help.

KInd regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #104  
Old 09-22-2004, 05:49 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Use this:

Code:
{* $Id: cart.tpl,v 1.59.2.4 2004/02/06 10:19:50 svowl Exp $ *} {include file="location.tpl" last_location=$lng.lbl_your_shopping_cart} <h3>{$lng.lbl_your_shopping_cart}</h3> {$lng.txt_cart_header} {if $active_modules.Gift_Certificates ne ""} {$lng.txt_cart_note} {/if} {if $active_modules.Gift_Certificates ne ""} {include file="modules/Gift_Certificates/gc_cart.tpl" giftcerts_data=$cart.giftcerts} {/if} {if $cart.coupon_discount eq 0 and $products ne ""} {if $active_modules.Discount_Coupons ne ""} {include file="modules/Discount_Coupons/add_coupon.tpl} {/if} {/if}
Reply With Quote
  #105  
Old 09-22-2004, 06:09 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Jon did not move at all
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #106  
Old 09-22-2004, 07:22 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Looks like the only way your cart is handling gift certificates is by the person selecting it as a payment option.

Can you explain to me in more detail what your trying to do?
Reply With Quote
  #107  
Old 09-22-2004, 08:57 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
Originally Posted by Jon
Looks like the only way your cart is handling gift certificates is by the person selecting it as a payment option.

Can you explain to me in more detail what your trying to do?

Sorry about that see if I can make a little bet better.

I had a customer the other day that was very ill because she could not find the place where to enter the code for her gift certificate and I got a very ugly e-mail from her. I would like to avoid this problem again if possible.

This is located in the checkout process when the customers selects gift certificate as a payment method. In my opinion the problem comes due to the current location of the gift certificate box at the bottom of the page if the location of the gift certificate box can be move to the top of the page the customers will not miss it that easy. Therefore very happy customer.

I hope this is much better explanation of my task.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #108  
Old 09-22-2004, 10:07 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

So just to clarify. After they select gift certificate as a payment method, you want them to go to a page that has the gift certificate entry at the top, with the order details below it?
Reply With Quote
  #109  
Old 09-22-2004, 10:55 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Still havent played with x-cart 4.0.x yet to try this one out, but wouldnt it be better to always have the gift voucher box available at checkout regardless of it was chosen as a payment method.

so customer would goto checkout and if all other methods of payment was hidden so that credit card is the only one used they go straight to credit card payment, on there is a input box for gift certificate along with other usuel stuff, if they enter gift certificate page refreshes and then shows the amount paid via gift cert and then carries on as normal.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #110  
Old 09-23-2004, 09:08 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
Originally Posted by Jon
So just to clarify. After they select gift certificate as a payment method, you want them to go to a page that has the gift certificate entry at the top, with the order details below it?

Yes Jon. I think that will help alot.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 04:42 AM.

   

 
X-Cart forums © 2001-2020