Changeset 3236163
- Timestamp:
- 02/06/2025 05:22:21 PM (14 months ago)
- Location:
- art-woocommerce-order-one-click
- Files:
-
- 10 edited
- 1 copied
-
tags/3.1.5 (copied) (copied from art-woocommerce-order-one-click/trunk)
-
tags/3.1.5/art-woo-order-one-click.php (modified) (1 diff)
-
tags/3.1.5/classes/RequestHandler.php (modified) (1 diff)
-
tags/3.1.5/classes/RequestProcessing/OrderCreator.php (modified) (3 diffs)
-
tags/3.1.5/readme.txt (modified) (2 diffs)
-
tags/3.1.5/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/art-woo-order-one-click.php (modified) (1 diff)
-
trunk/classes/RequestHandler.php (modified) (1 diff)
-
trunk/classes/RequestProcessing/OrderCreator.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
art-woocommerce-order-one-click/tags/3.1.5/art-woo-order-one-click.php
r3235681 r3236163 6 6 * Domain Path: /languages 7 7 * 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. 48 * Version: 3.1.5 9 9 * Author: Artem Abramovich 10 10 * Author URI: https://wpruse.ru/ -
art-woocommerce-order-one-click/tags/3.1.5/classes/RequestHandler.php
r3232179 r3236163 186 186 $posted_data['awooc-tel'] ?? '', 187 187 (int) ( $posted_data['awooc_product_id'] ?? 0 ), 188 ( int) ( $posted_data['awooc_product_qty'] ?? 1 ),188 (float) ( $posted_data['awooc_product_qty'] ?? 1 ), 189 189 (int) ( $posted_data['awooc_customer_id'] ?? 0 ), 190 190 ]; -
art-woocommerce-order-one-click/tags/3.1.5/classes/RequestProcessing/OrderCreator.php
r3234688 r3236163 104 104 do_action( 'awooc_after_created_order', $product_id, $this->order, $address, $product_qty ); 105 105 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 ); 107 107 108 108 do_action( 'awooc_create_order', $this->order, $contact_form, $posted_data ); … … 116 116 * 117 117 * @param int $product_id ID продкта. 118 * @param int$product_qty количество продукта.118 * @param float $product_qty количество продукта. 119 119 * @param array $address адрес для заказа. 120 120 * … … 123 123 * @since 2.2.6 124 124 */ 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 { 126 126 127 127 $this->order->add_product( wc_get_product( $product_id ), $product_qty ); -
art-woocommerce-order-one-click/tags/3.1.5/readme.txt
r3235681 r3236163 5 5 Requires at least: 5.5 6 6 Tested up to: 6.7 7 Stable tag: 3.1. 47 Stable tag: 3.1.5 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 100 100 101 101 == 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 102 112 = [3.1.2] - 2025-02-04 = 103 113 * Добавлено: настройка для включения изменения названия заказа в литинге заказов -
art-woocommerce-order-one-click/tags/3.1.5/vendor/composer/installed.php
r3235681 r3236163 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',6 'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',16 'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
art-woocommerce-order-one-click/trunk/art-woo-order-one-click.php
r3235681 r3236163 6 6 * Domain Path: /languages 7 7 * 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. 48 * Version: 3.1.5 9 9 * Author: Artem Abramovich 10 10 * Author URI: https://wpruse.ru/ -
art-woocommerce-order-one-click/trunk/classes/RequestHandler.php
r3232179 r3236163 186 186 $posted_data['awooc-tel'] ?? '', 187 187 (int) ( $posted_data['awooc_product_id'] ?? 0 ), 188 ( int) ( $posted_data['awooc_product_qty'] ?? 1 ),188 (float) ( $posted_data['awooc_product_qty'] ?? 1 ), 189 189 (int) ( $posted_data['awooc_customer_id'] ?? 0 ), 190 190 ]; -
art-woocommerce-order-one-click/trunk/classes/RequestProcessing/OrderCreator.php
r3234688 r3236163 104 104 do_action( 'awooc_after_created_order', $product_id, $this->order, $address, $product_qty ); 105 105 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 ); 107 107 108 108 do_action( 'awooc_create_order', $this->order, $contact_form, $posted_data ); … … 116 116 * 117 117 * @param int $product_id ID продкта. 118 * @param int$product_qty количество продукта.118 * @param float $product_qty количество продукта. 119 119 * @param array $address адрес для заказа. 120 120 * … … 123 123 * @since 2.2.6 124 124 */ 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 { 126 126 127 127 $this->order->add_product( wc_get_product( $product_id ), $product_qty ); -
art-woocommerce-order-one-click/trunk/readme.txt
r3235681 r3236163 5 5 Requires at least: 5.5 6 6 Tested up to: 6.7 7 Stable tag: 3.1. 47 Stable tag: 3.1.5 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 100 100 101 101 == 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 102 112 = [3.1.2] - 2025-02-04 = 103 113 * Добавлено: настройка для включения изменения названия заказа в литинге заказов -
art-woocommerce-order-one-click/trunk/vendor/composer/installed.php
r3235681 r3236163 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',6 'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' ba82ddb0c6f1beaf13079b8eeb37cc31aefdf55b',16 'reference' => 'edb4c73e670ff103c20a3e3c3a1f1090d48802a4', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.