Plugin Directory

Changeset 1515109


Ignore:
Timestamp:
10/14/2016 10:42:18 PM (9 years ago)
Author:
MailChimp
Message:

Update to 1.0.3 and fix comma issue for carts > 000.

Location:
mailchimp-for-woocommerce
Files:
127 added
3 edited

Legend:

Unmodified
Added
Removed
  • mailchimp-for-woocommerce/trunk/changelog.md

    r1514325 r1515109  
     1** 1.0.3 **
     2* fixed cart posts on dollar amounts greater than 1000
     3
    14** 0.1.22 **
    25* flag quantity as 1 if the product does not manage inventory
  • mailchimp-for-woocommerce/trunk/includes/api/assets/class-mailchimp-cart.php

    r1514325 r1515109  
    158158    public function setOrderTotal($total)
    159159    {
    160         $this->order_total = number_format($total, 2);
     160        $this->order_total = $total;
    161161
    162162        return $this;
     
    177177    public function setTaxTotal($total)
    178178    {
    179         $this->tax_total = number_format($total, 2);
     179        $this->tax_total = $total;
    180180
    181181        return $this;
     
    219219            'checkout_url' => (string) $this->getCheckoutURL(),
    220220            'currency_code' => (string) $this->getCurrencyCode(),
    221             'order_total' => $this->getOrderTotal(),
    222             'tax_total' => $this->getTaxTotal() > 0 ? $this->getTaxTotal() : null,
     221            'order_total' => floatval($this->getOrderTotal()),
     222            'tax_total' => $this->getTaxTotal() > 0 ? floatval($this->getTaxTotal()) : null,
    223223            'lines' => array_map(function($item) {
    224224                return $item->toArray();
  • mailchimp-for-woocommerce/trunk/mailchimp-woocommerce.php

    r1514325 r1515109  
    1010 *
    1111 * @link              https://mailchimp.com
    12  * @since             1.0.2
     12 * @since             1.0.0
    1313 * @package           MailChimp_Woocommerce
    1414 *
     
    1717 * Plugin URI:        https://mailchimp.com/connect-your-store/
    1818 * Description:       MailChimp - WooCommerce plugin
    19  * Version:           1.0.2
     19 * Version:           1.0.3
    2020 * Author:            MailChimp
    2121 * Author URI:        https://mailchimp.com
     
    3838        'repo' => 'master',
    3939        'environment' => 'production',
    40         'version' => '1.0.2',
     40        'version' => '1.0.3',
    4141        'slack_token' => false,
    4242        'slack_channel' => 'mc-woo',
Note: See TracChangeset for help on using the changeset viewer.