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
  #351  
Old 03-27-2005, 06:33 PM
 
pengrus pengrus is offline
 

eXpert
  
Join Date: Feb 2004
Posts: 359
 

Default

Thank you, Jon.

I purchased the ezCheckout for now. I have finished the installation, and have a couple of questions:

1. It seems the ezcheckout page still use quite a lot default css variables from the default orange theme skin (skin1.css) such as the link, and font color and the price color, etc. How can I link it to my custom skin css that's on the Customer page?

2. The buttons like Checkout and Submit on the ezCheckout page are different from my custom skin's buttons. I am using Fashion Mosaic skin. I think this is also related to question 1, it links to skin1.css instead of skin1_customer.css.

Edited: I found that on the home_checkout.tpl , we need to replace the {#CSSFile#} with skin1_customer.css to solve above problem

Could you please help?

Thank you very much!
__________________
x-cart 4.1.8 Gold
Linux
Reply With Quote
  #352  
Old 03-27-2005, 07:31 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Change:

Code:
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">

to:

Code:
<link rel="stylesheet" href="{$SkinDir}/skin1_customer.css">
Reply With Quote
  #353  
Old 03-27-2005, 07:44 PM
 
pengrus pengrus is offline
 

eXpert
  
Join Date: Feb 2004
Posts: 359
 

Default

Thank you, Jon. Beautifully done... I just checked walmart.com, officedepot.com and amazon.com and realize they all have very simplified check out process like yours. I learned a lot from your mod. Thank you very much!
__________________
x-cart 4.1.8 Gold
Linux
Reply With Quote
  #354  
Old 03-30-2005, 09:00 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

For users of 4.0.13 there's an update needed for ezUpsell.

The cart.php code is different.

Open cart.php

Find:
Code:
# # Redirect # if($mode=="add" and $productid) { if(!empty($active_modules['SnS_connector'])) { func_generate_sns_action("AddToCart", $productid); } if($config["General"]["redirect_to_cart"]=="Y") { func_header_location("cart.php"); } else{ if(!empty($HTTP_REFERER)) { func_header_location($HTTP_REFERER); } else { func_header_location("home.php?cat=$cat&page=$page"); } } } elseif (!empty($is_sns_action)) {

REPLACE with:

Code:
# # Redirect # if($mode=="add" and $productid) { if(!empty($active_modules['SnS_connector'])) { func_generate_sns_action("AddToCart", $productid); } #if($config["General"]["redirect_to_cart"]=="Y") { # func_header_location("cart.php"); #} else{ # if(!empty($HTTP_REFERER)) { # func_header_location($HTTP_REFERER); # } else { # func_header_location("home.php?cat=$cat&page=$page"); # } #} if($mode=="add" and $productid) { func_header_location("added.php?cat=$cat&productid=$productid&amount=$amount"); } } elseif (!empty($is_sns_action)) {
Reply With Quote
  #355  
Old 03-31-2005, 06:03 PM
 
pokeey pokeey is offline
 

Member
  
Join Date: Mar 2005
Posts: 15
 

Default

Jon doing that gives me a "file not found."

Anyway I emailed you earlier for install. (sheermiracle)

I did EZ-Cart no problem but EZ-Upsell has me stumped

Chris
__________________
http://sheermiracle.com/mineral-makeup/home.php
x-cart-4.0.13gold
EZ-Cart
EZ-Upsell
Reply With Quote
  #356  
Old 03-31-2005, 08:45 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

^ Just emailed you about it.
Reply With Quote
  #357  
Old 04-01-2005, 07:21 AM
 
kalmaster kalmaster is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 44
 

Default

Hmm... I haven't had any problems with the MOD
Thanks alot guys!
__________________
X-Cart Gold edition
X-Cart version 4.0.4 [Unix]
Reply With Quote
  #358  
Old 04-01-2005, 10:45 AM
 
pokeey pokeey is offline
 

Member
  
Join Date: Mar 2005
Posts: 15
 

Default

Jon,

Payment sent dude and Thankx.

Chris
__________________
http://sheermiracle.com/mineral-makeup/home.php
x-cart-4.0.13gold
EZ-Cart
EZ-Upsell
Reply With Quote
  #359  
Old 04-01-2005, 11:05 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

^ All done.

Took some trouble shooting, but found that the problem was simply that home_main.tpl did not have the ezUpsell code implemented in it.

I modified your cart.php to put in the required redirect, updated your home_main.tpl, and ensured that everything is working.

You'll also want to reimplement the language variables as per the installation instructions. If you'd like to PM me admin details I will do this for you also.

Oh, and you may want to also update your signature with 4.0.13
Reply With Quote
  #360  
Old 04-01-2005, 11:48 AM
 
pokeey pokeey is offline
 

Member
  
Join Date: Mar 2005
Posts: 15
 

Default

Jon,

Thank you!

Quote:
You'll also want to reimplement the language variables as per the installation instructions
I didn't get install instructions. So I was "winging it."

Here's the page:<blockquote>
versions of 4.0.x, specifically the 4.0.12 branch.

Please note that this will override the option in your admin section to redirect to the cart.php or not. You will however be able to easily disable this mod if for any reason you need to do so in the future.

To contact us please visit: http://www.websitecm.com/contact/
[/quote]

The 4.0 link went no where. Just back to the folder. Hmph?

I'll pm you my details

Thanks again.

Chris
__________________
http://sheermiracle.com/mineral-makeup/home.php
x-cart-4.0.13gold
EZ-Cart
EZ-Upsell
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 11:40 AM.

   

 
X-Cart forums © 2001-2020