payone 2
This commit is contained in:
parent
1953c97cd0
commit
d1dae9b736
9 changed files with 687 additions and 242 deletions
|
|
@ -23,11 +23,18 @@ class Yard extends Cart
|
|||
if($this->getShippingExtra('shipping_price')){
|
||||
$this->shipping = floatval($this->getShippingExtra('shipping_price'));
|
||||
}
|
||||
|
||||
if($this->getShippingExtra('shipping_country_id')){
|
||||
$this->shipping_country_id = $this->getShippingExtra('shipping_country_id');
|
||||
}
|
||||
|
||||
parent::__construct($session, $events);
|
||||
|
||||
if($this->shipping == 0){
|
||||
self::instance('shopping')->setShippingCountryWithPrice($this->shipping_country_id);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static function getTaxRate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue