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
  #161  
Old 10-14-2004, 04:25 PM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default

kind of like putting candy and tabloids at the supermarket checkout.. i like it! haha
__________________
X-Cart 4.0.12
PHP 4.3.11
MySQL 4.0.23
Linux/Apache
Net::SSLeay 1.25
libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
www.ewdhosting.com
Reply With Quote
  #162  
Old 10-14-2004, 08:33 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Exactly the idea of upselling, right at the counter, except it's more custom because you make offers based on what their holding

I've got a first pass done on my site which you can view here:
http://www.mixtapemp3.com/customer/cart.php

Add product(s) and add to cart, then proceed to checkout. After logging in you'll get the recommends (I wanted it after login so I have a commitment from them).

It looks through the products in their cart, and looks through all the order data for those products, pulling our products that were purchased at the same time as the products in their cart. It then randomly picks a set number of items (in my case 4) to return. They can click "show me more" to get another random set.

After adding to the cart, the mini cart in the top right updates, but they stay on the same page with a message saying the product has been added.
Reply With Quote
  #163  
Old 10-17-2004, 02:33 PM
 
mytreo.net mytreo.net is offline
 

Member
  
Join Date: Sep 2004
Posts: 11
 

Default

Hi Jon I'm just considering buying your Easy Checkout Addon - can I really be bothered to code it myself when you seem to have done such a nice job, but btw the recommends section on your checkout threw an SQL error at me during the order process

I hope I can get your mod installed and working nice if I buy it, I'm new to X-cart but enjoy the way it works.
__________________
X-Cart version 3.5.11 Gold
PHP 4.3.4 / MySQL server 4.0.17
Microsoft-IIS/6.0
Smarty 2.6.6
Reply With Quote
  #164  
Old 10-17-2004, 03:11 PM
 
mytreo.net mytreo.net is offline
 

Member
  
Join Date: Sep 2004
Posts: 11
 

Default

Well I bought it and the install seemed to go okay but I have a few little problems. ..

First is it easy for me to integrate the checkout with the rest of the site design? I was a little upset that it didn't run within the main template like the original checkout system - can you explain how I can make it appear the same as the other cart pages please?

Also stage 2 of ordering (the login) doesn't appear to be working correctly on my install - it displays the cart contents at the top and doesnt look at all like your screenshots (and also if you log in it returns to the wrong part of the checkout process) please could you take a look for me, I hope you can help me http://mytreo.net/store/customer/cart.php?mode=checkout

thanks much for a really useful addon
__________________
X-Cart version 3.5.11 Gold
PHP 4.3.4 / MySQL server 4.0.17
Microsoft-IIS/6.0
Smarty 2.6.6
Reply With Quote
  #165  
Old 10-17-2004, 06:25 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Thanks for letting me know about the mysql error, I'm still brushing up the code on that

To have the pages contain all the components of your shopping cart, the categories, etc., don't edit cart.php to use home_main.tpl and instead keep it using home.tpl

With that however you wont get the tabs, etc. across the top. You could take the tab code and integrate it into your home.tpl if you wished.

If it's not working correctly, then likely there was an error made in your installation. If you PM me ftp details I'll have a look for you.
Reply With Quote
  #166  
Old 10-17-2004, 06:30 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

mytreo.net there was definitely steps missed/done incorrectly in your installation process. You'll want to go over the installation instructions again to double check everything. Please PM me ftp details if you wish me to have a look.
Reply With Quote
  #167  
Old 10-18-2004, 01:00 AM
 
mytreo.net mytreo.net is offline
 

Member
  
Join Date: Sep 2004
Posts: 11
 

Default

Quote:
Originally Posted by Jon
To have the pages contain all the components of your shopping cart, the categories, etc., don't edit cart.php to use home_main.tpl and instead keep it using home.tpl

With that however you wont get the tabs, etc. across the top. You could take the tab code and integrate it into your home.tpl if you wished.
Sounds good

If it's not working correctly, then likely there was an error made in your installation. If you PM me ftp details I'll have a look for you.

Thanks I'm sure I followed the install instructions properly - I had previosuly edited anonymous_checkout.tpl but since that was overwritten I didn't think it would matter. I'll send you a PM
__________________
X-Cart version 3.5.11 Gold
PHP 4.3.4 / MySQL server 4.0.17
Microsoft-IIS/6.0
Smarty 2.6.6
Reply With Quote
  #168  
Old 10-18-2004, 07:47 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

^ It's fixed. Looks like you had your smarty configured not to compile every time and so the templates weren't recompiling. I set it to compile every time, ran through the process, and then set it back to your original setting. Everything seemed to work well. Note that you only have 1 payment method which is why that payment method is skipped. If you wanted to you could remove that tab, or just comment it out until you have more methods.
Reply With Quote
  #169  
Old 10-18-2004, 07:59 AM
 
mytreo.net mytreo.net is offline
 

Member
  
Join Date: Sep 2004
Posts: 11
 

Default

Thanks for fixing it, you're a gent

OT but what does it mean that I had the smarty configured not to recompile the templates each time? This sounds like something i should be aware of, could you explain pls or point me in the right direction?

I'm going to attempt to integrate the tag code into the home.tpl now and then you'll have another happy customer
__________________
X-Cart version 3.5.11 Gold
PHP 4.3.4 / MySQL server 4.0.17
Microsoft-IIS/6.0
Smarty 2.6.6
Reply With Quote
  #170  
Old 10-18-2004, 09:08 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

In your smarty folder, you have a smarty.class.php

Code:
/** * JON * This tells Smarty whether to check for recompiling or not. Recompiling * does not need to happen unless a template or config file is changed. * Typically you enable this during development, and disable for * production. * * @var boolean */ var $compile_check = true; /** * This forces templates to compile every time. Useful for development * or debugging. * * @var boolean */ var $force_compile = false;

There's a production setting and a development setting.

Let me know how the integration goes and if you need any help just let me know in this thread.
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:49 AM.

   

 
X-Cart forums © 2001-2020