Change autoGenerate=>0 to noFormPost=>0 in Product.

This commit is contained in:
Colin Kuskie 2010-01-20 20:15:25 -08:00
parent a00d173fe6
commit fcd68c93ac

View file

@ -118,37 +118,37 @@ property warranty => (
);
property variantsJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
property accessoryJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
property relatedJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
property specificationJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
property featureJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
property benefitJSON => (
##Collateral data is stored as JSON in here
autoGenerate => 0,
noFormPost => 0,
default => '[]',
fieldType => "textarea",
);
@ -551,20 +551,6 @@ sub getWeight {
return $self->getOptions->{weight};
}
#-------------------------------------------------------------------
=head2 isShippingRequired
Overriding the method from Sku so that the user can configure it.
=cut
sub isShippingRequired {
my $self = shift;
return $self->get('isShippingRequired');
}
#-------------------------------------------------------------------
=head2 moveCollateralDown ( tableName, keyName, keyValue )