Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding recommended products to checkout page.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-13-2007, 01:49 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Question Adding recommended products to checkout page.

Hi
{Yes I am a $newbie I admit it.}

As in my previous thread I want to add a template into another page.

In this case I want to add the recommended products to the checkout page to entice a few extra sales.

I included the template, I copied the code directly into the page, but it does not show.

I have noticed that there are two tests before the template actually works.

First there is the: {if $active_modules.Recommended_Products ne ""}
and then in the template there is: {if $recommends}.

I did a test to see if $recommends has a value when called in the product page and then in the checkout page.

It does in the product page but not in the checkout page.

Is there a line of code that I should also be calling to get $recommends to be populated?

Is the issue with my last thread http://forum.x-cart.com/showthread.php?t=32871 related?

Thanks in advance for any suggestions.
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #2  
Old 08-13-2007, 01:59 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Adding recommended products to checkout page.

Hi Peter, the recommended and upselling links are tied to individual products, so they will not show in the cart...at least not without a lot of customizing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-13-2007, 02:01 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Adding recommended products to checkout page.

Hi Balinor
Even if they are set to random selection?
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #4  
Old 08-13-2007, 03:52 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default Re: Adding recommended products to checkout page.

^ Yes even if they are set to random selection. If you are on 4.0.x we have a mod available for this:

http://www.websitecm.com/x-cart-mods/ezrecommends.html

The correct code by the way is:

Code:
Yes I am a {$newbie} I admit it.

:P
Reply With Quote
  #5  
Old 08-14-2007, 12:35 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Adding recommended products to checkout page.

Thanks.
I can't see the images to see if it is exactly what I want. I'll have to login and check. But am I right in believing that it is an extra step and is not appended to the bottom of the page?

Cheers

Quote:
The correct code by the way is:

Code:
Yes I am a {$newbie} I admit it.

:P


I guess it should have been better put as
{if $newbie}

Put silly newbie question here

{/if}
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #6  
Old 08-14-2007, 12:45 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default Re: Adding recommended products to checkout page.

Haha

Yes you are correct, it creates an extra step in the checkout process that recommends them products based on their current shopping cart contents.

Jon
Reply With Quote
  #7  
Old 08-14-2007, 12:51 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Adding recommended products to checkout page.

Thanks Jon.

I'll have to work out a way to get it to be included in the cart page as I want customers to see the recommened products even if the cart is empty.
It's like: here are some products you might be interested in. Then they can add them to the cart.

I could use the favourites feature and put it there?

The upselling bit I will have to do later.
Cheers
Peter
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #8  
Old 03-18-2008, 05:30 AM
 
hebs hebs is offline
 

Advanced Member
  
Join Date: Mar 2007
Location: UK
Posts: 47
 

Default Re: Adding recommended products to checkout page.

Hi Peter,

Did you ever manage to get this working?
__________________
Hebs

xcart GOLD v4.1.9 [unix]
Loads of Mods!

www.sub-laser.co.uk


3D Photography
Reply With Quote
  #9  
Old 03-18-2008, 01:17 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Adding recommended products to checkout page.

Hi Hebs,
No not really, the only way I thought of doping it was to hard code all the data into the page, but that is not really an ideal way. I did think after getting your post that perhaps adding a variable into the database and adding the HTML into it the same way we do for the welcome_text_variable.
If carpeperdiem or balinor are reading this what do you think of the variable option?

Cheers
Peter
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #10  
Old 03-18-2008, 01:30 PM
 
hebs hebs is offline
 

Advanced Member
  
Join Date: Mar 2007
Location: UK
Posts: 47
 

Default Re: Adding recommended products to checkout page.

Hi Peter,

I'm going to have a play with the Personal Recommends mod by Websitecm: http://www.websitecm.com/x-cart-mods/x-cart-personal-recommends.html

See if I can display it at the bottom of the checkout/cart.

It has the options of recommending products based on cart contents or, if the cart is empty it will recommend other products - I think.

The ideal solution would be, to have thumbnails of recommended products at the bottom - but thats someway off yet.

Hebs
__________________
Hebs

xcart GOLD v4.1.9 [unix]
Loads of Mods!

www.sub-laser.co.uk


3D Photography
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:09 AM.

   

 
X-Cart forums © 2001-2020