X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding recommended products to checkout page. (https://forum.x-cart.com/showthread.php?t=33228)

peterstagg 08-13-2007 01:49 PM

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.

balinor 08-13-2007 01:59 PM

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.

peterstagg 08-13-2007 02:01 PM

Re: Adding recommended products to checkout page.
 
Hi Balinor
Even if they are set to random selection?

Jon 08-13-2007 03:52 PM

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

peterstagg 08-14-2007 12:35 PM

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} :-"

Jon 08-14-2007 12:45 PM

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

peterstagg 08-14-2007 12:51 PM

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

hebs 03-18-2008 05:30 AM

Re: Adding recommended products to checkout page.
 
Hi Peter,

Did you ever manage to get this working?

peterstagg 03-18-2008 01:17 PM

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

hebs 03-18-2008 01:30 PM

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


All times are GMT -8. The time now is 03:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.