Finish cleaning up after the move of getTaxRate from the Sku to the TaxDriver.
This commit is contained in:
parent
c541788968
commit
25ead75eba
3 changed files with 0 additions and 18 deletions
|
|
@ -41,7 +41,6 @@ use WebGUI::Asset::Sku;
|
|||
$hashRef = $self->getOptions;
|
||||
$integer = $self->getMaxAllowedInCart;
|
||||
$float = $self->getPrice;
|
||||
$float = $self->getTaxRate;
|
||||
$boolean = $self->isShippingRequired;
|
||||
$html = $self->processStyle($output);
|
||||
|
||||
|
|
@ -336,19 +335,6 @@ sub getTaxConfiguration {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getTaxRate ( )
|
||||
|
||||
Returns undef unless the "Override tax rate?" switch is set to yes. If it is, then it returns the value of the "Tax Rate Override" field.
|
||||
|
||||
=cut
|
||||
|
||||
sub getTaxRate {
|
||||
my $self = shift;
|
||||
return ($self->get("overrideTaxRate")) ? $self->get("taxRateOverride") : undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getThumbnailUrl ( )
|
||||
|
||||
Returns undef. Should be overridden by any skus that have images.
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ our $HELP = {
|
|||
{ 'name' => 'sku', description=>'sku help'},
|
||||
{ 'name' => 'description', description=>'description help' },
|
||||
{ 'name' => 'displayTitle', description=>'display title help' },
|
||||
{ 'name' => 'overrideTaxRate', description=>'override tax rate help' },
|
||||
{ 'name' => 'taxRateOverride', description=>'tax rate override help' },
|
||||
{ 'name' => 'vendorId', description=>'vendor help' },
|
||||
],
|
||||
related => []
|
||||
|
|
|
|||
|
|
@ -69,8 +69,6 @@ our $I18N = {
|
|||
context => q|help for vendor field|
|
||||
},
|
||||
|
||||
|
||||
|
||||
'add to cart' => {
|
||||
message => q|Add To Cart|,
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue