Plugin Directory

Changeset 3236163


Ignore:
Timestamp:
02/06/2025 05:22:21 PM (14 months ago)
Author:
artabr
Message:

Update to version 3.1.5 from GitHub

Location:
art-woocommerce-order-one-click
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • art-woocommerce-order-one-click/tags/3.1.5/art-woo-order-one-click.php

    r3235681 r3236163  
    66 * Domain Path: /languages
    77 * Description: Plugin for WooCommerce. It includes the catalog mode in the store (there are no prices and the Buy button) and can turn on the Buy/Order button in one click. WooCommerce and Contact Form 7 are required for proper operation.
    8  * Version: 3.1.4
     8 * Version: 3.1.5
    99 * Author: Artem Abramovich
    1010 * Author URI: https://wpruse.ru/
  • art-woocommerce-order-one-click/tags/3.1.5/classes/RequestHandler.php

    r3232179 r3236163  
    186186            $posted_data['awooc-tel'] ?? '',
    187187            (int) ( $posted_data['awooc_product_id'] ?? 0 ),
    188             (int) ( $posted_data['awooc_product_qty'] ?? 1 ),
     188            (float) ( $posted_data['awooc_product_qty'] ?? 1 ),
    189189            (int) ( $posted_data['awooc_customer_id'] ?? 0 ),
    190190        ];
  • art-woocommerce-order-one-click/tags/3.1.5/classes/RequestProcessing/OrderCreator.php

    r3234688 r3236163  
    104104        do_action( 'awooc_after_created_order', $product_id, $this->order, $address, $product_qty );
    105105
    106         $this->add_order( (int) $product_id, (int) $product_qty, $address, (int) $customer_id );
     106        $this->add_order( (int) $product_id, $product_qty, $address, (int) $customer_id );
    107107
    108108        do_action( 'awooc_create_order', $this->order, $contact_form, $posted_data );
     
    116116     *
    117117     * @param  int   $product_id  ID продкта.
    118      * @param  int  $product_qty количество продукта.
     118     * @param  float $product_qty количество продукта.
    119119     * @param  array $address     адрес для заказа.
    120120     *
     
    123123     * @since 2.2.6
    124124     */
    125     public function add_order( int $product_id, int $product_qty, array $address, int $customer_id ): void {
     125    public function add_order( int $product_id, float $product_qty, array $address, int $customer_id ): void {
    126126
    127127        $this->order->add_product( wc_get_product( $product_id ), $product_qty );
  • art-woocommerce-order-one-click/tags/3.1.5/readme.txt

    r3235681 r3236163  
    55Requires at least: 5.5
    66Tested up to: 6.7
    7 Stable tag: 3.1.4
     7Stable tag: 3.1.5
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    100100
    101101== Changelog ==
     102=  [3.1.5] - 2025-02-06 =
     103* Исправлено: поддержка дробного количества при создании заказа
     104
     105=  [3.1.4] - 2025-02-05 =
     106* Исправлено: поведение скрытого поля если оно указано в форме
     107
     108=  [3.1.3] - 2025-02-05 =
     109* Добавлено: фильтр `awooc_quantity_input_args` изменения аттрибутов поля количества в окне
     110* Исправлено: пересчет дробных значений количества в окне
     111
    102112=  [3.1.2] - 2025-02-04 =
    103113* Добавлено: настройка для включения изменения названия заказа в литинге заказов
  • art-woocommerce-order-one-click/tags/3.1.5/vendor/composer/installed.php

    r3235681 r3236163  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => 'ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',
     6        'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => 'ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',
     16            'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • art-woocommerce-order-one-click/trunk/art-woo-order-one-click.php

    r3235681 r3236163  
    66 * Domain Path: /languages
    77 * Description: Plugin for WooCommerce. It includes the catalog mode in the store (there are no prices and the Buy button) and can turn on the Buy/Order button in one click. WooCommerce and Contact Form 7 are required for proper operation.
    8  * Version: 3.1.4
     8 * Version: 3.1.5
    99 * Author: Artem Abramovich
    1010 * Author URI: https://wpruse.ru/
  • art-woocommerce-order-one-click/trunk/classes/RequestHandler.php

    r3232179 r3236163  
    186186            $posted_data['awooc-tel'] ?? '',
    187187            (int) ( $posted_data['awooc_product_id'] ?? 0 ),
    188             (int) ( $posted_data['awooc_product_qty'] ?? 1 ),
     188            (float) ( $posted_data['awooc_product_qty'] ?? 1 ),
    189189            (int) ( $posted_data['awooc_customer_id'] ?? 0 ),
    190190        ];
  • art-woocommerce-order-one-click/trunk/classes/RequestProcessing/OrderCreator.php

    r3234688 r3236163  
    104104        do_action( 'awooc_after_created_order', $product_id, $this->order, $address, $product_qty );
    105105
    106         $this->add_order( (int) $product_id, (int) $product_qty, $address, (int) $customer_id );
     106        $this->add_order( (int) $product_id, $product_qty, $address, (int) $customer_id );
    107107
    108108        do_action( 'awooc_create_order', $this->order, $contact_form, $posted_data );
     
    116116     *
    117117     * @param  int   $product_id  ID продкта.
    118      * @param  int  $product_qty количество продукта.
     118     * @param  float $product_qty количество продукта.
    119119     * @param  array $address     адрес для заказа.
    120120     *
     
    123123     * @since 2.2.6
    124124     */
    125     public function add_order( int $product_id, int $product_qty, array $address, int $customer_id ): void {
     125    public function add_order( int $product_id, float $product_qty, array $address, int $customer_id ): void {
    126126
    127127        $this->order->add_product( wc_get_product( $product_id ), $product_qty );
  • art-woocommerce-order-one-click/trunk/readme.txt

    r3235681 r3236163  
    55Requires at least: 5.5
    66Tested up to: 6.7
    7 Stable tag: 3.1.4
     7Stable tag: 3.1.5
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    100100
    101101== Changelog ==
     102=  [3.1.5] - 2025-02-06 =
     103* Исправлено: поддержка дробного количества при создании заказа
     104
     105=  [3.1.4] - 2025-02-05 =
     106* Исправлено: поведение скрытого поля если оно указано в форме
     107
     108=  [3.1.3] - 2025-02-05 =
     109* Добавлено: фильтр `awooc_quantity_input_args` изменения аттрибутов поля количества в окне
     110* Исправлено: пересчет дробных значений количества в окне
     111
    102112=  [3.1.2] - 2025-02-04 =
    103113* Добавлено: настройка для включения изменения названия заказа в литинге заказов
  • art-woocommerce-order-one-click/trunk/vendor/composer/installed.php

    r3235681 r3236163  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => 'ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',
     6        'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => 'ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',
     16            'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.