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 => (
|
property variantsJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
property accessoryJSON => (
|
property accessoryJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
property relatedJSON => (
|
property relatedJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
property specificationJSON => (
|
property specificationJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
property featureJSON => (
|
property featureJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
property benefitJSON => (
|
property benefitJSON => (
|
||||||
##Collateral data is stored as JSON in here
|
##Collateral data is stored as JSON in here
|
||||||
autoGenerate => 0,
|
noFormPost => 0,
|
||||||
default => '[]',
|
default => '[]',
|
||||||
fieldType => "textarea",
|
fieldType => "textarea",
|
||||||
);
|
);
|
||||||
|
|
@ -551,20 +551,6 @@ sub getWeight {
|
||||||
return $self->getOptions->{weight};
|
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 )
|
=head2 moveCollateralDown ( tableName, keyName, keyValue )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue