[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: search prod_group in items
Stefano Kerschbaumer - Interline S.r.l. writes:
> UserTag is_set Routine <<EOR
> sub {
> my $out_set = "ok";
> my $sets = 0;
> my $category_grappe = 0;
> my $category_grandi_etichette = 0;
> foreach my $index (0 .. $#$Vend::Items) {
> $out_set = $out_set . $Vend::Items->[$index]{quantity};
>
> This is the code error:
>
> $out_set = $out_set . $Vend::Items->[$index]{prod_group};
>
> I think to access a product group I search width
> $Vend::Items->[$index]{code} in table products ... how ...?
>
Either you put prod_group into the item automatically with
AutoModifier prod_group
or use
$Tag->field('prod_group', $Vend::Items->[$index]{code})
Ciao
Racke
--
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.