[ic] suggested changes to foundation

Paul Vinciguerra pvinci at vinciguerra.com
Fri Aug 8 02:56:58 EDT 2003


Hi Everyone.

I'd like to suggest the following changes to foundation for discussion.  

The first diff addresses the fact that using result_grid always returned a 
price of zero.

The second one was required to get products  in my vertical_component that 
have perl special characters in the /scan parameters to go able to be found.

If there are no problems/issues with these changes, I'd like to get them 
added.

Thanks,


Paul 


*** /usr/local/interchange-
4.9.6/foundation/templates/components/results_grid   Sat Jun  7 02:44:39 2003
--- /export/home/catalog/templates/components/results_grid  Wed Aug  6 
22:39:08 2003
***************
*** 153,159 ****
  </div>
  EO_TMPL

!       $record->{price} = $Tag->price($sku);
        $record->{image} = $Tag->image({
                                        imagesubdir => "items",
                                        src => $record->{image},
--- 154,160 ----
  </div>
  EO_TMPL

!         $record->{price} = $Tag->price({ code => $sku });
        $record->{image} = $Tag->image({
                                        imagesubdir => "items",
                                        src => $record->{image},

*** /export/home/interchange-4.9.8/dist/catalog_before.cfg       Wed Dec 11 
16:17:57 2002
--- /usr/local/interchange-4.9.8/catalog_before.cfg     Mon Aug  4 23:05:06 
2003
***************
*** 112,117 ****
--- 112,118 ----
                                my ($col, $string) = split /\s*=\s*/;
                                push @out, "sf=$col";
                                push @out, "se=$string";
+                                 push @out, "op=eq";
                        }
                        push @out, $record->{search}
                                if $record->{search} =~ /^\s*\w\w=/;






More information about the interchange-users mailing list