From fcd68c93ac4641f8bd41004ba256692881484da5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 20 Jan 2010 20:15:25 -0800 Subject: [PATCH] Change autoGenerate=>0 to noFormPost=>0 in Product. --- lib/WebGUI/Asset/Sku/Product.pm | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/lib/WebGUI/Asset/Sku/Product.pm b/lib/WebGUI/Asset/Sku/Product.pm index 88ad02a2e..2ea285dc7 100644 --- a/lib/WebGUI/Asset/Sku/Product.pm +++ b/lib/WebGUI/Asset/Sku/Product.pm @@ -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 )