added variant id template variable to product variant loop

This commit is contained in:
Graham Knop 2008-09-18 19:51:19 +00:00
parent 7aa9c59af8
commit eca7ffbe9d
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
7.6.0 7.6.0
- added variant id template variable to product variant loop
- fixed: editting DataForm email fields resets their name - fixed: editting DataForm email fields resets their name
- no longer preloads files that start with . - no longer preloads files that start with .
- rfe: let package import inherit permissions - rfe: let package import inherit permissions

View file

@ -1566,6 +1566,7 @@ sub view {
my $price = sprintf('%.2f', $collateral->{price}); my $price = sprintf('%.2f', $collateral->{price});
my $desc = $collateral->{shortdesc}; my $desc = $collateral->{shortdesc};
push(@variantLoop,{ push(@variantLoop,{
'variant_id' => $id,
'variant_controls' => $segment, 'variant_controls' => $segment,
'variant_sku' => $collateral->{varSku}, 'variant_sku' => $collateral->{varSku},
'variant_title' => $desc, 'variant_title' => $desc,