Plugin Directory

Changeset 3211225


Ignore:
Timestamp:
12/20/2024 05:35:33 PM (16 months ago)
Author:
avify
Message:

Update to version 1.3.2 from GitHub

Location:
avify
Files:
34 added
16 deleted
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • avify/tags/1.3.2/.git/FETCH_HEAD

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c        '1734e6d8110369bf3277e2694650f0dc3d77010c' of https://github.com/avify-com/avify-wordpress-plugin
     181fb508396c54c1987d79310fc8a2f3545ac66f1        '81fb508396c54c1987d79310fc8a2f3545ac66f1' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/tags/1.3.2/.git/HEAD

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c
     181fb508396c54c1987d79310fc8a2f3545ac66f1
  • avify/tags/1.3.2/.git/config

    r3151942 r3211225  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzXzJ3RmVTSmprcFVKMVZ3QnB2N05ISWFaYUR0TGJzRTFLbGFqQw==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX0p5WDl4ckw0cTBIb2l1UWFNMWhjR0txNGZDcWxPYTBONVlRcw==
  • avify/tags/1.3.2/.git/logs/HEAD

    r3151942 r3211225  
    1 0000000000000000000000000000000000000000 1734e6d8110369bf3277e2694650f0dc3d77010c runner <runner@fv-az1788-426.v003jhcb0gbebhi3eudo0jipka.bx.internal.cloudapp.net> 1726344424 +0000    checkout: moving from master to refs/tags/1.3.1.0
     10000000000000000000000000000000000000000 81fb508396c54c1987d79310fc8a2f3545ac66f1 runner <runner@fv-az573-725.(none)> 1734716101 +0000  checkout: moving from master to refs/tags/1.3.2
  • avify/tags/1.3.2/.git/shallow

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c
     181fb508396c54c1987d79310fc8a2f3545ac66f1
  • avify/tags/1.3.2/README.md

    r3151942 r3211225  
    55Requires at least: 5.6
    66Tested up to: 6.4.3
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6161
    6262## Changelog
     63
     64### 1.3.2
     65
     66* Add attachment src REST endpoint
     67* Fix tax total error when prices include tax setting is enabled
    6368
    6469### 1.3.1
  • avify/tags/1.3.2/avify-checkout.php

    r3151942 r3211225  
    33    $options = get_option('avify-settings-options');
    44    if (($options['avify_enable_checkout'] ?? '') === 'on' && is_checkout()) {
    5         $v = '1.3.1';
     5        $v = '1.3.2';
    66        wp_enqueue_script('avify-checkout', plugin_dir_url( __FILE__ ) . '/assets/avify-checkout.js', array('jquery', 'jquery-ui-sortable', 'jquery-ui-resizable'), $v);
    77        wp_enqueue_style('avify-checkout', plugin_dir_url( __FILE__ ) . '/assets/avify-checkout.css', false, $v);
  • avify/tags/1.3.2/avify-wordpress-initializer.php

    r3151942 r3211225  
    77 * Plugin URI:
    88 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory.
    9  * Version: 1.3.1
     9 * Version: 1.3.2
    1010 * Author: Avify
    1111 * Author URI: https://avify.com/
     
    7474    include_once('avify-shipping.php');
    7575
     76    /** Avify Rest */
     77    include_once('avify-rest.php');
     78
    7679    /** Avify Custom Options */
    7780    include_once('avify-custom-options.php');
  • avify/tags/1.3.2/readme.txt

    r3151942 r3211225  
    44Requires at least: 5.6
    55Tested up to: 6.4.3
    6 Stable tag: 1.3.1
     6Stable tag: 1.3.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5959== Changelog ==
    6060
    61 ### 1.3.1
     61### 1.3.2
     62
     63* Add attachment src REST endpoint
     64* Fix tax total error when prices include tax setting is enabled
     65
     66= 1.3.1 =
    6267
    6368* Allow user to customize state,city,district labels
  • avify/tags/1.3.2/templates/checkout.php

    r3151942 r3211225  
    596596                            <?php
    597597                            if ( $cart ) {
    598                                 foreach ( $cart->get_cart() ?? [] as $cart_item ) {
     598                                foreach ( $cart->get_cart() ?? [] as $cart_item_key => $cart_item ) {
    599599                                    $product  = $cart_item['data'];
    600                                     $quantity = $cart_item['quantity'];
    601 
    602600                                    if ( ! empty( $product ) ) {
    603                                         ?>
     601                            ?>
    604602                                        <div class="review-order-product-item flex middle space-between">
    605                                             <div class="review-order-product-item-part flex middle">
     603                                            <?php
     604                                                $quantity = $cart_item['quantity'];
     605                                                $product_name      = apply_filters( 'woocommerce_cart_item_name', $product->get_name(), $cart_item, $cart_item_key );
     606                                                $thumbnail         = apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image(), $cart_item, $cart_item_key );
     607                                                $product_price     = apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $product ), $cart_item, $cart_item_key );
     608                                                $product_permalink = apply_filters( 'woocommerce_cart_item_permalink', $product->is_visible() ? $product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key );
     609                                            ?>
     610                                            <div class="review-order-product-item-part flex middle"
     611                                                 style="max-width: 80%"
     612                                            >
    606613                                                <div class="review-order-product-item-image">
    607                                                     <?= $product->get_image(); ?>
     614                                                    <?= $thumbnail ?>
    608615                                                </div>
    609616
    610617                                                <div class="review-order-product-item-name">
    611618                                                    <div class="avf_txt type-9">
    612                                                         <?= $product->get_name(); ?> x <?= $quantity; ?>
     619                                                        <?= $product_name ?> x <?= $quantity; ?>
    613620                                                    </div>
    614621                                                </div>
     
    618625                                                 data-item-quantity="<?= $quantity; ?>">
    619626                                                <div class="avf_txt type-9">
    620                                                     <?= get_woocommerce_currency_symbol(); ?>
    621                                                     <?= $product->get_price(); ?>
     627                                                    <?= $product_price ?>
    622628                                                </div>
    623629                                            </div>
     
    671677                            </div>
    672678
    673                             <div class="review-order-total-taxes review-order-total-part-container">
     679                            <div class="review-order-total-taxes review-order-total-part-container" style="<?= WC()->cart->display_prices_including_tax() ? "display: none" : "" ?>">
    674680                                <div class="review-order-total-left-part">
    675681                                    <div class="avf_txt type-10">
  • avify/trunk/.git/FETCH_HEAD

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c        '1734e6d8110369bf3277e2694650f0dc3d77010c' of https://github.com/avify-com/avify-wordpress-plugin
     181fb508396c54c1987d79310fc8a2f3545ac66f1        '81fb508396c54c1987d79310fc8a2f3545ac66f1' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/trunk/.git/HEAD

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c
     181fb508396c54c1987d79310fc8a2f3545ac66f1
  • avify/trunk/.git/config

    r3151942 r3211225  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzXzJ3RmVTSmprcFVKMVZ3QnB2N05ISWFaYUR0TGJzRTFLbGFqQw==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX0p5WDl4ckw0cTBIb2l1UWFNMWhjR0txNGZDcWxPYTBONVlRcw==
  • avify/trunk/.git/logs/HEAD

    r3151942 r3211225  
    1 0000000000000000000000000000000000000000 1734e6d8110369bf3277e2694650f0dc3d77010c runner <runner@fv-az1788-426.v003jhcb0gbebhi3eudo0jipka.bx.internal.cloudapp.net> 1726344424 +0000    checkout: moving from master to refs/tags/1.3.1.0
     10000000000000000000000000000000000000000 81fb508396c54c1987d79310fc8a2f3545ac66f1 runner <runner@fv-az573-725.(none)> 1734716101 +0000  checkout: moving from master to refs/tags/1.3.2
  • avify/trunk/.git/shallow

    r3151942 r3211225  
    1 1734e6d8110369bf3277e2694650f0dc3d77010c
     181fb508396c54c1987d79310fc8a2f3545ac66f1
  • avify/trunk/README.md

    r3151942 r3211225  
    55Requires at least: 5.6
    66Tested up to: 6.4.3
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6161
    6262## Changelog
     63
     64### 1.3.2
     65
     66* Add attachment src REST endpoint
     67* Fix tax total error when prices include tax setting is enabled
    6368
    6469### 1.3.1
  • avify/trunk/avify-checkout.php

    r3151942 r3211225  
    33    $options = get_option('avify-settings-options');
    44    if (($options['avify_enable_checkout'] ?? '') === 'on' && is_checkout()) {
    5         $v = '1.3.1';
     5        $v = '1.3.2';
    66        wp_enqueue_script('avify-checkout', plugin_dir_url( __FILE__ ) . '/assets/avify-checkout.js', array('jquery', 'jquery-ui-sortable', 'jquery-ui-resizable'), $v);
    77        wp_enqueue_style('avify-checkout', plugin_dir_url( __FILE__ ) . '/assets/avify-checkout.css', false, $v);
  • avify/trunk/avify-wordpress-initializer.php

    r3151942 r3211225  
    77 * Plugin URI:
    88 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory.
    9  * Version: 1.3.1
     9 * Version: 1.3.2
    1010 * Author: Avify
    1111 * Author URI: https://avify.com/
     
    7474    include_once('avify-shipping.php');
    7575
     76    /** Avify Rest */
     77    include_once('avify-rest.php');
     78
    7679    /** Avify Custom Options */
    7780    include_once('avify-custom-options.php');
  • avify/trunk/readme.txt

    r3151942 r3211225  
    44Requires at least: 5.6
    55Tested up to: 6.4.3
    6 Stable tag: 1.3.1
     6Stable tag: 1.3.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5959== Changelog ==
    6060
    61 ### 1.3.1
     61### 1.3.2
     62
     63* Add attachment src REST endpoint
     64* Fix tax total error when prices include tax setting is enabled
     65
     66= 1.3.1 =
    6267
    6368* Allow user to customize state,city,district labels
  • avify/trunk/templates/checkout.php

    r3151942 r3211225  
    596596                            <?php
    597597                            if ( $cart ) {
    598                                 foreach ( $cart->get_cart() ?? [] as $cart_item ) {
     598                                foreach ( $cart->get_cart() ?? [] as $cart_item_key => $cart_item ) {
    599599                                    $product  = $cart_item['data'];
    600                                     $quantity = $cart_item['quantity'];
    601 
    602600                                    if ( ! empty( $product ) ) {
    603                                         ?>
     601                            ?>
    604602                                        <div class="review-order-product-item flex middle space-between">
    605                                             <div class="review-order-product-item-part flex middle">
     603                                            <?php
     604                                                $quantity = $cart_item['quantity'];
     605                                                $product_name      = apply_filters( 'woocommerce_cart_item_name', $product->get_name(), $cart_item, $cart_item_key );
     606                                                $thumbnail         = apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image(), $cart_item, $cart_item_key );
     607                                                $product_price     = apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $product ), $cart_item, $cart_item_key );
     608                                                $product_permalink = apply_filters( 'woocommerce_cart_item_permalink', $product->is_visible() ? $product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key );
     609                                            ?>
     610                                            <div class="review-order-product-item-part flex middle"
     611                                                 style="max-width: 80%"
     612                                            >
    606613                                                <div class="review-order-product-item-image">
    607                                                     <?= $product->get_image(); ?>
     614                                                    <?= $thumbnail ?>
    608615                                                </div>
    609616
    610617                                                <div class="review-order-product-item-name">
    611618                                                    <div class="avf_txt type-9">
    612                                                         <?= $product->get_name(); ?> x <?= $quantity; ?>
     619                                                        <?= $product_name ?> x <?= $quantity; ?>
    613620                                                    </div>
    614621                                                </div>
     
    618625                                                 data-item-quantity="<?= $quantity; ?>">
    619626                                                <div class="avf_txt type-9">
    620                                                     <?= get_woocommerce_currency_symbol(); ?>
    621                                                     <?= $product->get_price(); ?>
     627                                                    <?= $product_price ?>
    622628                                                </div>
    623629                                            </div>
     
    671677                            </div>
    672678
    673                             <div class="review-order-total-taxes review-order-total-part-container">
     679                            <div class="review-order-total-taxes review-order-total-part-container" style="<?= WC()->cart->display_prices_including_tax() ? "display: none" : "" ?>">
    674680                                <div class="review-order-total-left-part">
    675681                                    <div class="avf_txt type-10">
Note: See TracChangeset for help on using the changeset viewer.