begin adding inventory control overrides of parent class
This commit is contained in:
parent
b273a0bbb5
commit
3ec94d50d8
1 changed files with 13 additions and 0 deletions
|
|
@ -389,6 +389,19 @@ sub getPrice {
|
|||
return $self->getOptions->{price};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getQuantityAvailable ( )
|
||||
|
||||
Returns the amount of a variant that are available.
|
||||
|
||||
=cut
|
||||
|
||||
sub getQuantityAvailable {
|
||||
my $self = shift;
|
||||
return $self->getOptions->{quantity};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getThumbnailUrl {
|
||||
my $self = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue