Plugin Directory

Changeset 3388746


Ignore:
Timestamp:
11/03/2025 10:14:52 AM (5 months ago)
Author:
wpify
Message:

Update to version 5.1.6

Location:
wpify-woo
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpify-woo/tags/5.1.6/readme.txt

    r3384014 r3388746  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.1.5
     7Stable tag: 5.1.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    219219
    220220== Changelog ==
     221= 5.1.6 =
     222* Add `wpify_woo_heureka_overeno_data` filter to edit sending data for Heureka ověřeno zákazníky
     223* Change order id in Heureka ověřeno zákazníky from DB id to order number
     224* Add settings to restrict the display of custom prices
     225* Add `wpify_woo_prices_should_display_price` filter whether to display the custom price
     226
    221227= 5.1.5 =
    222228* Add recipient name for SK QR payment (pay by square)
  • wpify-woo/tags/5.1.6/src/Modules/HeurekaOverenoZakazniky/HeurekaOverenoZakaznikyModule.php

    r3378635 r3388746  
    634634            }
    635635
    636             $shop_certification = new ShopCertification( $this->get_setting( 'api_key' ), $options, ( new WpRequester() ) );
    637             $shop_certification->setEmail( $order->get_wc_order()->get_billing_email() );
    638             $shop_certification->setOrderId( $order->id );
    639 
     636            $item_ids = [];
    640637            /** @var OrderItemLine $item */
    641638            foreach ( $order->line_items as $item ) {
    642                 $item_id = apply_filters( 'wpify_woo_heureka_overeno_item_id', $item->id, $item );
     639                $item_ids[] = apply_filters( 'wpify_woo_heureka_overeno_item_id', $item->id, $item );
     640            }
     641
     642            $data = apply_filters( 'wpify_woo_heureka_overeno_data', array(
     643                'email'    => $order->get_wc_order()->get_billing_email(),
     644                'order_id' => (int) ( $order->get_wc_order()->get_order_number() ?: $order->id ),
     645                'item_ids' => $item_ids,
     646            ), $order->get_wc_order() );
     647
     648            $shop_certification = new ShopCertification( $this->get_setting( 'api_key' ), $options, ( new WpRequester() ) );
     649            $shop_certification->setEmail( $data['email'] );
     650            $shop_certification->setOrderId( $data['order_id'] );
     651
     652            foreach ( $data['item_ids'] as $item_id ) {
    643653                $shop_certification->addProductItemId( $item_id );
    644654            }
     
    651661                sprintf( 'Heureka Overeno: sent order to Heureka.' ),
    652662                array(
    653                     'data' => array(
    654                         'order_id' => $order->id,
    655                         'result'   => $result,
    656                     ),
     663                    'data'   => $data,
     664                    'result' => $result,
    657665                )
    658666            );
     
    661669                sprintf( 'Heureka Overeno: error sending to Heureka.' ),
    662670                array(
    663                     'data' => array(
    664                         'message'  => $e->getMessage(),
    665                         'settings' => $this->get_settings(),
    666                         'options'  => $options,
    667                         'order_id' => $order->id,
    668                     ),
     671                    'data'     => $data,
     672                    'message'  => $e->getMessage(),
     673                    'settings' => $this->get_settings(),
     674                    'options'  => $options,
    669675                )
    670676            );
  • wpify-woo/tags/5.1.6/src/Modules/Prices/PricesModule.php

    r3262059 r3388746  
    182182                    ),
    183183                    array(
     184                        'id'      => 'price_condition',
     185                        'type'    => 'select',
     186                        'label'   => __( 'When price display', 'wpify-woo' ),
     187                        'options' => array(
     188                            array(
     189                                'label' => __( 'Always', 'wpify-woo' ),
     190                                'value' => '',
     191                            ),
     192                            array(
     193                                'label' => __( 'If product is in sale', 'wpify-woo' ),
     194                                'value' => 'in_sale',
     195                            ),
     196                            array(
     197                                'label' => __( 'If product is not in sale', 'wpify-woo' ),
     198                                'value' => 'not_in_sale',
     199                            ),
     200                            array(
     201                                'label' => __( 'If product is on backorder', 'wpify-woo' ),
     202                                'value' => 'on_backorder',
     203                            ),
     204                        ),
     205                        'default' => '',
     206                    ),
     207                    array(
    184208                        'type'      => 'hidden',
    185209                        'id'        => 'uuid',
     
    332356            foreach ( $custom_prices as $custom_price ) {
    333357                $custom_prices_meta = get_post_meta( $product->get_id(), '_custom_prices', true );
    334                 $has_price          = ! empty( $custom_prices_meta ) && isset( $custom_prices_meta[ $custom_price['uuid'] ] );
     358                $has_price          = 'lowest' === $custom_price['type'] || ( ! empty( $custom_prices_meta ) && isset( $custom_prices_meta[ $custom_price['uuid'] ] ) );
     359
     360                if ( ! $this->should_display_custom_price( $custom_price, $product ) ) {
     361                    continue;
     362                }
    335363
    336364                if ( $has_price && isset( $custom_price['regular_price_label'] ) && ! empty( $custom_price['regular_price_label'] ) ) {
     
    381409        $line    = $in_html ? 'span' : 'p';
    382410
     411        global $product;
     412
    383413        ob_start();
    384414        ?>
     
    388418
    389419        foreach ( $custom_prices as $price ) {
     420            if ( ! $this->should_display_custom_price( $price, $product ) ) {
     421                continue;
     422            }
     423
    390424            $price['suffix'] = '';
    391425            if ( ! isset( $price['type'] ) ) {
     
    403437                    continue;
    404438                }
    405                 global $product;
    406439                $unit_data = $custom_prices_vales[ $price['uuid'] ];
    407440                if ( empty( $unit_data['quantity'] ) ) {
     
    457490
    458491        return ob_get_clean();
     492    }
     493
     494    public function should_display_custom_price( $custom_price, $product ) {
     495        $condition = ! empty( $custom_price['price_condition'] ) ? $custom_price['price_condition'] : '';
     496
     497        $display = true;
     498        if (
     499            'in_sale' === $condition && ! $product->is_on_sale() ||
     500            'not_in_sale' === $condition && $product->is_on_sale() ||
     501            'on_backorder' === $condition && ! $product->is_on_backorder()
     502        ) {
     503            $display = false;
     504        }
     505
     506        return apply_filters( 'wpify_woo_prices_should_display_price', $display, $custom_price, $product );
    459507    }
    460508
  • wpify-woo/tags/5.1.6/src/Plugin.php

    r3384014 r3388746  
    2323
    2424    /** Plugin version */
    25     public const VERSION = '5.1.5';
     25    public const VERSION = '5.1.6';
    2626
    2727    /** Plugin slug name */
  • wpify-woo/tags/5.1.6/vendor/composer/installed.php

    r3384014 r3388746  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.1.5',
    5         'version' => '5.1.5.0',
    6         'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5',
     4        'pretty_version' => '5.1.6',
     5        'version' => '5.1.6.0',
     6        'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.1.5',
    15             'version' => '5.1.5.0',
    16             'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5',
     14            'pretty_version' => '5.1.6',
     15            'version' => '5.1.6.0',
     16            'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/tags/5.1.6/vendor/wpify-woo/composer/installed.php

    r3384014 r3388746  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.1.5', 'version' => '5.1.5.0', 'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.1.5', 'version' => '5.1.5.0', 'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.0.72', 'version' => '4.0.72.0', 'reference' => '38b9b070dfac830a082d4bc7819ae787bdc28cfd', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.1.6', 'version' => '5.1.6.0', 'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.1.6', 'version' => '5.1.6.0', 'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.0.72', 'version' => '4.0.72.0', 'reference' => '38b9b070dfac830a082d4bc7819ae787bdc28cfd', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/tags/5.1.6/wpify-woo.php

    r3384014 r3388746  
    44 * Plugin Name:          WPify Woo
    55 * Description:          Custom functionality for WooCommerce
    6  * Version:              5.1.5
     6 * Version:              5.1.6
    77 * Requires PHP:         8.1.0
    88 * Requires at least:    6.2
  • wpify-woo/trunk/readme.txt

    r3384014 r3388746  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.1.5
     7Stable tag: 5.1.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    219219
    220220== Changelog ==
     221= 5.1.6 =
     222* Add `wpify_woo_heureka_overeno_data` filter to edit sending data for Heureka ověřeno zákazníky
     223* Change order id in Heureka ověřeno zákazníky from DB id to order number
     224* Add settings to restrict the display of custom prices
     225* Add `wpify_woo_prices_should_display_price` filter whether to display the custom price
     226
    221227= 5.1.5 =
    222228* Add recipient name for SK QR payment (pay by square)
  • wpify-woo/trunk/src/Modules/HeurekaOverenoZakazniky/HeurekaOverenoZakaznikyModule.php

    r3378635 r3388746  
    634634            }
    635635
    636             $shop_certification = new ShopCertification( $this->get_setting( 'api_key' ), $options, ( new WpRequester() ) );
    637             $shop_certification->setEmail( $order->get_wc_order()->get_billing_email() );
    638             $shop_certification->setOrderId( $order->id );
    639 
     636            $item_ids = [];
    640637            /** @var OrderItemLine $item */
    641638            foreach ( $order->line_items as $item ) {
    642                 $item_id = apply_filters( 'wpify_woo_heureka_overeno_item_id', $item->id, $item );
     639                $item_ids[] = apply_filters( 'wpify_woo_heureka_overeno_item_id', $item->id, $item );
     640            }
     641
     642            $data = apply_filters( 'wpify_woo_heureka_overeno_data', array(
     643                'email'    => $order->get_wc_order()->get_billing_email(),
     644                'order_id' => (int) ( $order->get_wc_order()->get_order_number() ?: $order->id ),
     645                'item_ids' => $item_ids,
     646            ), $order->get_wc_order() );
     647
     648            $shop_certification = new ShopCertification( $this->get_setting( 'api_key' ), $options, ( new WpRequester() ) );
     649            $shop_certification->setEmail( $data['email'] );
     650            $shop_certification->setOrderId( $data['order_id'] );
     651
     652            foreach ( $data['item_ids'] as $item_id ) {
    643653                $shop_certification->addProductItemId( $item_id );
    644654            }
     
    651661                sprintf( 'Heureka Overeno: sent order to Heureka.' ),
    652662                array(
    653                     'data' => array(
    654                         'order_id' => $order->id,
    655                         'result'   => $result,
    656                     ),
     663                    'data'   => $data,
     664                    'result' => $result,
    657665                )
    658666            );
     
    661669                sprintf( 'Heureka Overeno: error sending to Heureka.' ),
    662670                array(
    663                     'data' => array(
    664                         'message'  => $e->getMessage(),
    665                         'settings' => $this->get_settings(),
    666                         'options'  => $options,
    667                         'order_id' => $order->id,
    668                     ),
     671                    'data'     => $data,
     672                    'message'  => $e->getMessage(),
     673                    'settings' => $this->get_settings(),
     674                    'options'  => $options,
    669675                )
    670676            );
  • wpify-woo/trunk/src/Modules/Prices/PricesModule.php

    r3262059 r3388746  
    182182                    ),
    183183                    array(
     184                        'id'      => 'price_condition',
     185                        'type'    => 'select',
     186                        'label'   => __( 'When price display', 'wpify-woo' ),
     187                        'options' => array(
     188                            array(
     189                                'label' => __( 'Always', 'wpify-woo' ),
     190                                'value' => '',
     191                            ),
     192                            array(
     193                                'label' => __( 'If product is in sale', 'wpify-woo' ),
     194                                'value' => 'in_sale',
     195                            ),
     196                            array(
     197                                'label' => __( 'If product is not in sale', 'wpify-woo' ),
     198                                'value' => 'not_in_sale',
     199                            ),
     200                            array(
     201                                'label' => __( 'If product is on backorder', 'wpify-woo' ),
     202                                'value' => 'on_backorder',
     203                            ),
     204                        ),
     205                        'default' => '',
     206                    ),
     207                    array(
    184208                        'type'      => 'hidden',
    185209                        'id'        => 'uuid',
     
    332356            foreach ( $custom_prices as $custom_price ) {
    333357                $custom_prices_meta = get_post_meta( $product->get_id(), '_custom_prices', true );
    334                 $has_price          = ! empty( $custom_prices_meta ) && isset( $custom_prices_meta[ $custom_price['uuid'] ] );
     358                $has_price          = 'lowest' === $custom_price['type'] || ( ! empty( $custom_prices_meta ) && isset( $custom_prices_meta[ $custom_price['uuid'] ] ) );
     359
     360                if ( ! $this->should_display_custom_price( $custom_price, $product ) ) {
     361                    continue;
     362                }
    335363
    336364                if ( $has_price && isset( $custom_price['regular_price_label'] ) && ! empty( $custom_price['regular_price_label'] ) ) {
     
    381409        $line    = $in_html ? 'span' : 'p';
    382410
     411        global $product;
     412
    383413        ob_start();
    384414        ?>
     
    388418
    389419        foreach ( $custom_prices as $price ) {
     420            if ( ! $this->should_display_custom_price( $price, $product ) ) {
     421                continue;
     422            }
     423
    390424            $price['suffix'] = '';
    391425            if ( ! isset( $price['type'] ) ) {
     
    403437                    continue;
    404438                }
    405                 global $product;
    406439                $unit_data = $custom_prices_vales[ $price['uuid'] ];
    407440                if ( empty( $unit_data['quantity'] ) ) {
     
    457490
    458491        return ob_get_clean();
     492    }
     493
     494    public function should_display_custom_price( $custom_price, $product ) {
     495        $condition = ! empty( $custom_price['price_condition'] ) ? $custom_price['price_condition'] : '';
     496
     497        $display = true;
     498        if (
     499            'in_sale' === $condition && ! $product->is_on_sale() ||
     500            'not_in_sale' === $condition && $product->is_on_sale() ||
     501            'on_backorder' === $condition && ! $product->is_on_backorder()
     502        ) {
     503            $display = false;
     504        }
     505
     506        return apply_filters( 'wpify_woo_prices_should_display_price', $display, $custom_price, $product );
    459507    }
    460508
  • wpify-woo/trunk/src/Plugin.php

    r3384014 r3388746  
    2323
    2424    /** Plugin version */
    25     public const VERSION = '5.1.5';
     25    public const VERSION = '5.1.6';
    2626
    2727    /** Plugin slug name */
  • wpify-woo/trunk/vendor/composer/installed.php

    r3384014 r3388746  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.1.5',
    5         'version' => '5.1.5.0',
    6         'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5',
     4        'pretty_version' => '5.1.6',
     5        'version' => '5.1.6.0',
     6        'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.1.5',
    15             'version' => '5.1.5.0',
    16             'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5',
     14            'pretty_version' => '5.1.6',
     15            'version' => '5.1.6.0',
     16            'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/trunk/vendor/wpify-woo/composer/installed.php

    r3384014 r3388746  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.1.5', 'version' => '5.1.5.0', 'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.1.5', 'version' => '5.1.5.0', 'reference' => 'f4137434dd948ce05b7aefaec6299dbe5b35e9e5', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.0.72', 'version' => '4.0.72.0', 'reference' => '38b9b070dfac830a082d4bc7819ae787bdc28cfd', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.1.6', 'version' => '5.1.6.0', 'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.1.6', 'version' => '5.1.6.0', 'reference' => 'd6ca84af2cf0e5a03ecc29f21f755a26a13bd377', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.0.72', 'version' => '4.0.72.0', 'reference' => '38b9b070dfac830a082d4bc7819ae787bdc28cfd', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/trunk/wpify-woo.php

    r3384014 r3388746  
    44 * Plugin Name:          WPify Woo
    55 * Description:          Custom functionality for WooCommerce
    6  * Version:              5.1.5
     6 * Version:              5.1.6
    77 * Requires PHP:         8.1.0
    88 * Requires at least:    6.2
Note: See TracChangeset for help on using the changeset viewer.