mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
@@ -68,4 +68,9 @@ class BuyableProduct extends Model implements Buyable
|
|||||||
{
|
{
|
||||||
return $this->weight;
|
return $this->weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getBuyableTaxRate(CartItemOptions $options): float
|
||||||
|
{
|
||||||
|
return $this->tax_rate;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user