[comment] ui_template: Yes ui_template_name: leftright [/comment] [set bgcolor]#FFFFFF[/set] [set component_right]cross_vertical[/set] [set component_after]upsell_horizontal[/set] [set members_only]0[/set] [set component_vsize]3[/set] [set page_banner][item-description][/set] [set vbanner]Also see...[/set] [set component_hsize]2[/set] [set hbanner]You might also like [/set] [set component_before][/set] [set hpromo_type]specials[/set] [set page_title]__COMPANY__ -- [item-description][/set] [set vpromo_type]specials[/set] @_LEFTRIGHT_TOP_@ [set cross_category][item-field category][/set] [set upsell][item-data merchandising upsell_to][/set] [set cross_codes][item-data merchandising cross_sell][/set]
[item-field category]
[if-item-field image][item-field title][/if-item-field]
[if type=data term="products::gift_cert::[item-code]"] [else] [if-item-data inventory quantity < 1] [else] [/else] [/if-item-data] [/else] [/if]

[item-field title]

Amount:

[item-field title]

[item-price]
Out Of Stock

In Stock Notification
In Stock
Quantity:

[if ordered [item-code]] This item is currently in your [page ord/basket]shopping cart.
[/if] [item-field comment__MVC_FIELDMUNGE__] [if-item-data merchandising others_bought] [perl tables=products] my $hash = [item-data merchandising others_bought]; my @ary = sort { $hash->{$b} <=> $hash->{$a} } keys %$hash; return '' unless @ary; my %in_basket; splice(@ary, 3); for(@{$Carts->{main}}) { $in_basket{$_->{code}} = 1; } @ary = grep ! $in_basket{$_}, @ary; return '' unless @ary; my $out = <<'EOF';
Customers who bought this item also bought:
EOF for(@ary) { my $desc = tag_data( 'products', 'description', $_); $out .= <$desc
EOF } return $out . '
'; [/perl] [/if-item-data]

@_LEFTRIGHT_BOTTOM_@