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
  #231  
Old 11-12-2004, 03:14 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Edit the areas in capital letters.

You need to upload the dingbat to the skin1/images folder.

Code:
{capture name=menu} PUT THE CONTENT HERE {/section} {/capture} { include file="menu.tpl" dingbats="DINGBAT_FILE_HERE.gif" menu_title="MENU TITLE HERE" menu_content=$smarty.capture.menu }
Reply With Quote
  #232  
Old 11-12-2004, 03:21 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default

jon sorry which templete is it i have to do this with, you know me not to clever at this stuff yet, thanks again
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #233  
Old 11-12-2004, 03:29 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Put that wherever you want the menu to appear.

/skin1/customer/home.tpl

That's probably the one you want.
Reply With Quote
  #234  
Old 11-12-2004, 03:46 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default

thanks for your help jon, cheers
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #235  
Old 11-12-2004, 10:11 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

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

Default

Here is a little picture of the invoice I finish re-desing it. I have not posted the files her because I think will be better if you can get a zip file.
I have asked Carrie from www.bcsengineering.com to put it on her store in the free mod area and she has agree to do it. So you can get it there 24/7.

Or you can e-mail at webmaster@ballroomdancingshoe.com requesting the nice invoice mod and I will send it to you. no more words here is the image of it.

http://www.ballroomdancingshoe.com/images/invoice.gif

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
  #236  
Old 11-14-2004, 04:47 AM
 
parmar parmar is offline
 

eXpert
  
Join Date: Apr 2003
Location: London, UK
Posts: 286
 

Default

Jon..

Having bought the Easy Checkout mod few weeks ago, I'm just trying to install it now on our development site, X-Cart version 4.0.7

i'm just wondering about this code below.

Quote:
Find:

if ($login_type == "C" || $login_type == "B") {
if (!func_is_cart_empty($cart)) {
func_header_location($redirect_to."/cart.php");

Replace with:

if ($login_type == "C" || $login_type == "B") {
if($redirect2 == "checkout")
func_header_location($redirect_to."/cart.php?mode=checkout");
elseif (!func_is_cart_empty($cart)) {
func_header_location($redirect_to."/cart.php");

The lines on my include/login.php file are as below. Do I replace the whole of the section below with your code? including the if((strpos($HTTP_REFERER, "mode=auth")...... bit too?
Code:
if ($login_type == "C" || $login_type == "B") { if (!func_is_cart_empty($cart)) { if((strpos($HTTP_REFERER, "mode=auth") === false) && (strpos($HTTP_REFERER, "mode=checkout") === false)) { func_header_location($redirect_to."/cart.php");

Same in register.php file. do i replace the whole of the section below with your code?
Code:
elseif ($action == "cart") { if (empty($paymentid)) $script = "cart.php?mode=checkout&registered=";

Thank you in advance.
__________________
--------------------
Sandip


x-cart version 5.4.X, hosted on X-Cart server/
Reply With Quote
  #237  
Old 11-14-2004, 09:39 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Looks like in the newer versions they are now making changes to integrate some of my mod.

Login.php needs to be changed to this:

if ($login_type == "C" || $login_type == "B") {
if($redirect2 == "checkout")
func_header_location($redirect_to."/cart.php?mode=checkout");
elseif (!func_is_cart_empty($cart)) {
if((strpos($HTTP_REFERER, "mode=auth") === false) && (strpos($HTTP_REFERER, "mode=checkout") === false)) {
func_header_location($redirect_to."/cart.php");

---

If in register.php it looks like this you do not need to change it:

elseif ($action == "cart") {
if (empty($paymentid))
$script = "cart.php?mode=checkout&registered=";
Reply With Quote
  #238  
Old 11-14-2004, 01:28 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default is there a problem with v4.07, or is it just me !!!

Hi jon as we were speaking before and i had prob with mysql database
they have now brought out v4.07 so i un-installed v4.06 and done a new database after speaking with my hosting tech support, database i can gain accses to now, but i installed new version, set permissions etc
but on running install.php all ok untill i get to Checking results
Critical dependencies, it has failed on - File uploads is ... Off
So i un-installed and re-uploaded v4.06 and all depenencies are ok,
so yet again, un-installed and re-uploaded v4.07 and once again
File uploads is ... Off failed !! so i can't go any further, tell a lie i first tried doing a patch for the new version, but it came back with the same problem, so thats why i un-installed, any advice, except leave well alone next time (dont fix what isn't broken) haha.
thanks Dean
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #239  
Old 11-14-2004, 01:36 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

^ No idea. Best bet is to contact x-cart support.
Reply With Quote
  #240  
Old 11-15-2004, 02:18 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default

Hi thanks anyway jon, at least i used my head this time and made a full
public_html backup through my server and a my sqldump, so got my site back up within 5 mins, i have contacted xcart support would just like to know why incase there a bug, cheers Dean
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
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:49 AM.

   

 
X-Cart forums © 2001-2020