[ic] See related products not working

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Tue Aug 31 09:44:23 EDT 2004

At 07:16 PM 8/30/2004, you wrote:

>Hey list, the following code generates the see also in the flypage, I 
>havent been able to see any see algo products, it is allways empty, so I 
>guess that the control random is either not generated or is generated 
>emty, can any one helpme with this,  first can someone explainme how this 
>work,or why this isnot working.
>In my db I have related products in the merchandizing menu, we are using 
>postgres 7.4, Debian kernell 2.4.18-bf2.4, and IC 5.0.1
><td height="241" valign="top"> [calc]
>        my $n = 1;
>        $Scratch->{width_percent} = '100%';
>        my $rand = q{[control random]};
>        delete $Scratch->{random};
>        if($rand) {
>                $Scratch->{random} = q{[control size 10]};
>        }
>        return;
>    [/calc]
>All the helpwill be apreciated
>Daniel Castro

I can tell you that the above is a fragment which does very little - it 
certainly does not display random products. Take a look at 
yourcat/templates/components/random, which should contain the full code.

- Ed

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list