Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

And only for AUD

  • Loading branch information...
commit 13a65595c877e4e9f7b367e0e179f9d394d20f84 1 parent 4240f47
Leigh authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 uc_ascent_salesforce.module
8 uc_ascent_salesforce.module
View
@@ -278,8 +278,12 @@ function uc_ascent_salesforce_process_jobs($sf, $parent = 0) {
$order_shipping->model = _uc_ascent_get_shippinglineitem_product_code();
$original_price = uc_ascent_salesforce_total_lineitem_type($order, 'shipping');
- // actual price should not include the 10%
- $order_shipping->price = $original_price / 1.10;
+ if($order->currency == 'AUD') {
+ // actual price should not include the 10%
+ $order_shipping->price = $original_price / 1.10;
+ } else {
+ $order_shipping->price = $original_price;
+ }
$order_shipping->qty = 1; // one shipping unit
Please sign in to comment.
Something went wrong with that request. Please try again.