[IC] Cross-sell on flypage

Peter peter at pajamian.dhs.org
Tue Jul 12 20:07:43 EDT 2005


On 07/12/2005 11:53 AM, Webmaster Grandfather Clocks Plus wrote:
> Hi,
> 
> I'm trying to get the cross-sell items to show up on the flypage. We just
> upgraded from IC 4.8.6 to 5.2.0. I have set up the items that I want to
> cross sell with, but I'm having trouble having them show up on the flypage. 

This is directly from my own flypage.html:

[set upsell][item-data merchandising upsell_to][/set]
[tmp cross_codes][item-data merchandising cross_sell][/tmp]

Then later...

[if scratch cross_codes ne ""][or scratch upsell ne ""]
           <tr><td colspan=2><b>See Also:</b></td></tr>
[loop prefix=see_also list="[scratch cross_codes] [scratch upsell]"]
[see_also-next][see_also-calc]'[see_also-field sku]' eq '' or 
'[see_also-field inactive]' eq '1'[/see_also-calc][/see_also-next]
           <tr><td colspan=2>
             [page [see_also-code]][see_also-code]: [data products 
description [see_also-code]]</A>
           </td></tr>
[/loop]
[/if]


Note that I did this a while ago.  I could probably do it better now. 
You'll probably have to adjust it so it fits into your page layout.

Peter


More information about the interchange-users mailing list