Skip to content

Commit

Permalink
#3473 - $this->basket['shipping']['tax']['tax_inclusive']
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookbanks committed Jan 12, 2024
1 parent 94ff662 commit 83387f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/cart.class.php
Expand Up @@ -946,7 +946,7 @@ public function get()
$this->_shipping = (isset($this->basket['shipping']) && !empty($this->basket['shipping'])) ? $this->basket['shipping']['value'] : 0;

if (isset($this->basket[$tax_on]['state_id']) && ($this->basket['shipping']['tax_id'] ?? false)) {
$GLOBALS['tax']->productTax($this->_shipping, $this->basket['shipping']['tax_id'], false, $this->basket[$tax_on]['state_id'], 'shipping');
$GLOBALS['tax']->productTax($this->_shipping, $this->basket['shipping']['tax_id'], $this->basket['shipping']['tax']['tax_inclusive'], $this->basket[$tax_on]['state_id'], 'shipping');
}

// Apply Discounts
Expand Down

0 comments on commit 83387f9

Please sign in to comment.