Country Prices | Homeparty | Shop | Order

This commit is contained in:
Kevin Adametz 2021-08-27 18:53:12 +02:00
parent 51d81d8ec6
commit 39d1e93416
284 changed files with 784 additions and 216 deletions

View file

@ -189,7 +189,7 @@ class Yard extends Cart
public function getUserTaxFree()
{
return $this->user_tax_free;
return $this->user_tax_free ? true : false;
}
private function calculateShippingPrice(){
@ -505,6 +505,9 @@ class Yard extends Cart
case 'subtotal':
$rNumber = (float) ($this->subtotal(2, '.', '')) * $faktor;
break;
case 'price':
$rNumber = (float) $row->price * $faktor;
break;
case 'shippingNet':
$rNumber = (float) ($this->shippingNet(2, '.', '')) * $faktor;
break;