Increase max number of product import options.
authorAdrian Oldham <adriann@visualthought.com.au>
Thu, 25 Jul 2019 00:30:23 +0000 (10:30 +1000)
committerAdrian Oldham <adriann@visualthought.com.au>
Thu, 25 Jul 2019 00:31:01 +0000 (10:31 +1000)
site/cgi-bin/modules/BSE/Importer/Target/Product.pm

index f3640ae0eb4baf83eee0196a701e56000755d1d1..7aff144104bb8c431257a3a1420115308abe00f0 100644 (file)
@@ -8,7 +8,7 @@ use BSE::TB::ProductOptions;
 use BSE::TB::ProductOptionValues;
 use BSE::TB::PriceTiers;
 
-our $VERSION = "1.010";
+our $VERSION = "1.011";
 
 =head1 NAME
 
@@ -254,7 +254,7 @@ sub fill_leaf {
   my ($self, $importer, $leaf, %entry) = @_;
 
   my $ordering = time;
-  for my $opt_num (1 .. 5) {
+  for my $opt_num (1 .. 10) {
     my $name = $entry{"prodopt${opt_num}_name"};
     my $values = $entry{"prodopt${opt_num}_values"};