Change autoGenerate=>0 to noFormPost=>0 in Product.
This commit is contained in:
parent
a00d173fe6
commit
fcd68c93ac
1 changed files with 6 additions and 20 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue