Plugin Directory

Changeset 3262059


Ignore:
Timestamp:
03/26/2025 09:26:08 AM (12 months ago)
Author:
wpify
Message:

Update to version 5.0.1

Location:
wpify-woo
Files:
22 edited
1 copied

Legend:

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

    r3257809 r3262059  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.0.0
     7Stable tag: 5.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    219219
    220220== Changelog ==
     221= 5.0.1 =
     222* Fix display IČ DIČ in addresses
     223* Fix setting for Heureka certification widget code
     224* Fix Heureka parent category name
     225* Fix Custom price type warning
     226
    221227= 5.0.0 =
    222228* Add new conversion code for Heureka Měření konverzí
  • wpify-woo/tags/5.0.1/src/Modules/HeurekaOverenoZakazniky/HeurekaOverenoZakaznikyModule.php

    r3257809 r3262059  
    103103            array(
    104104                'id'    => 'widget_code',
    105                 'type'  => 'textarea',
     105                'type'  => 'code',
    106106                'label' => __( 'Certification widget code', 'wpify-woo' ),
    107107                'desc'  => __( 'Copy the code from your Heureka account.', 'wpify-woo' ),
  • wpify-woo/tags/5.0.1/src/Modules/IcDic/BlockSupport.php

    r3257809 r3262059  
    2020        add_filter( 'woocommerce_set_additional_field_value', [ $this, 'save_metadata_back_compatibility' ], 10, 4 );
    2121        add_action( 'woocommerce_sanitize_additional_field', [ $this, 'sanitize_ic_dic_fields' ] );
    22         add_filter( 'woocommerce_localisation_address_formats', [ $this, 'add_address_format' ] );
    2322        add_filter( 'woocommerce_store_api_cart_errors', [ $this, 'validate_cart' ], 10, 2 );
    2423        // Default values from meta (Backward compatibility)
     
    212211    }
    213212
    214     function add_address_format( $address ) {
    215         $replaces = [
    216             '{billing_ic}',
    217             '{billing_dic}',
    218             '{billing_dic_dph}',
    219         ];
    220 
    221         foreach ( $address as $key => $item ) {
    222             $address[ $key ] = str_replace( $replaces, '', $item );
    223         }
    224 
    225         return $address;
    226     }
    227 
    228213    public function set_customer_vat_extempt( $data ) {
    229214        if ( isset( $data['validation'] ) && $data['validation'] === 'passed' ) {
  • wpify-woo/tags/5.0.1/src/Modules/IcDic/IcDicModule.php

    r3257809 r3262059  
    77use WC_Order;
    88use WpifyWoo\Plugin;
     9use WpifyWoo\WooCommerceIntegration;
    910use WpifyWooDeps\Wpify\WooCore\Abstracts\AbstractModule;
    1011use WpifyWoo\Managers\ApiManager;
     
    3031        private PluginUtils $plugin_utils,
    3132        private ApiManager $api_manager,
     33        private WooCommerceIntegration $woo_integration,
    3234    ) {
    3335        parent::__construct();
     
    4749        add_filter( 'woocommerce_formatted_address_replacements', array( $this, 'replace_tags_in_emails' ), 10, 2 );
    4850        add_filter( 'woocommerce_localisation_address_formats', array( $this, 'localisation_address_formats' ) );
    49         add_filter( 'woocommerce_admin_order_data_after_billing_address', array(
    50             $this,
    51             'display_block_fields_in_admin'
    52         ) );
     51//      add_filter( 'woocommerce_admin_order_data_after_billing_address', array(
     52//          $this,
     53//          'display_block_fields_in_admin'
     54//      ) );
    5355        add_action( 'woocommerce_after_checkout_validation', array( $this, 'checkout_validation' ), 10, 2 );
    5456        add_action( 'init', array( $this, 'add_rest_api' ) );
     
    567569     */
    568570    public function localisation_address_formats( array $address_formats ): array {
    569         if ( apply_filters( 'wpify_woo_add_ic_dic_to_address', true ) === false ) {
     571        if ( $this->woo_integration->is_block_checkout() || apply_filters( 'wpify_woo_add_ic_dic_to_address', true ) === false ) {
    570572            return $address_formats;
    571573        }
     
    574576            $address_formats[ $key ] = $format . "\n{billing_ic}\n{billing_dic}\n{billing_dic_dph}";
    575577        }
    576 
    577578        return $address_formats;
    578579    }
    579580
    580     public function display_block_fields_in_admin( $order ) {
    581         $billing_ic      = $order->get_meta( '_billing_ic', true );
    582         $billing_dic     = $order->get_meta( '_billing_dic', true );
    583         $billing_dic_dph = $order->get_meta( '_billing_dic_dph', true );
    584 
    585         echo '<div class="address"><p>';
    586         if ( $billing_ic ) {
    587             echo '<span>' . __( 'Identification no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_ic );
    588         }
    589         if ( $billing_dic ) {
    590             echo '<br><span>' . __( 'VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic );
    591         }
    592         if ( $billing_dic_dph ) {
    593             echo '<br><span>' . __( 'IN VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic_dph );
    594         }
    595         echo '</p></div>';
    596     }
     581//  public function display_block_fields_in_admin( $order ) {
     582//      $billing_ic      = $order->get_meta( '_billing_ic', true );
     583//      $billing_dic     = $order->get_meta( '_billing_dic', true );
     584//      $billing_dic_dph = $order->get_meta( '_billing_dic_dph', true );
     585//
     586//      echo '<div class="address"><p>';
     587//      if ( $billing_ic ) {
     588//          echo '<span>' . __( 'Identification no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_ic );
     589//      }
     590//      if ( $billing_dic ) {
     591//          echo '<br><span>' . __( 'VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic );
     592//      }
     593//      if ( $billing_dic_dph ) {
     594//          echo '<br><span>' . __( 'IN VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic_dph );
     595//      }
     596//      echo '</p></div>';
     597//  }
    597598
    598599    /**
  • wpify-woo/tags/5.0.1/src/Modules/Prices/PricesModule.php

    r3257809 r3262059  
    471471        $items = [];
    472472        foreach ( $custom_prices as $price ) {
    473             if ( ! isset( $price['type'] ) && ! $price['type'] ) {
     473            if ( ! isset( $price['type'] ) || ! $price['type'] ) {
    474474                if ( isset( $price['lowest_price'] ) && $price['lowest_price'] ) {
    475475                    $price['type'] = 'lowest';
  • wpify-woo/tags/5.0.1/src/Modules/XmlFeedHeureka/Feed.php

    r3257809 r3262059  
    206206            }
    207207            if ( $cat_id ) {
    208                 $category = $this->heureka_categories[ $cat_id ]['category_fullname'] ?: $this->heureka_categories[ $cat_id ]['name'];
     208                $category = $this->heureka_categories[ $cat_id ]['category_fullname'] ?: $this->heureka_categories[ $cat_id ]['category_name'];
    209209                break;
    210210            }
  • wpify-woo/tags/5.0.1/src/Plugin.php

    r3257809 r3262059  
    2222
    2323    /** Plugin version */
    24     public const VERSION = '5.0.0';
     24    public const VERSION = '5.0.1';
    2525
    2626    /** Plugin slug name */
  • wpify-woo/tags/5.0.1/src/WooCommerceIntegration.php

    r3257809 r3262059  
    2020     * @return bool|void
    2121     */
    22     public function __construct( ) {
     22    public function __construct() {
    2323    }
    2424
     
    141141        return $currencies;
    142142    }
     143
     144    public function is_block_checkout(): bool {
     145        return \WC_Blocks_Utils::has_block_in_page( wc_get_page_id( 'checkout' ), 'woocommerce/checkout' );
     146    }
     147
     148    public function is_block_cart(): bool {
     149        return \WC_Blocks_Utils::has_block_in_page( wc_get_page_id( 'cart' ), 'woocommerce/cart' );
     150    }
    143151}
  • wpify-woo/tags/5.0.1/vendor/composer/installed.php

    r3257809 r3262059  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.0.0',
    5         'version' => '5.0.0.0',
    6         'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8',
     4        'pretty_version' => '5.0.1',
     5        'version' => '5.0.1.0',
     6        'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.0.0',
    15             'version' => '5.0.0.0',
    16             'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8',
     14            'pretty_version' => '5.0.1',
     15            'version' => '5.0.1.0',
     16            'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/tags/5.0.1/vendor/wpify-woo/composer/installed.php

    r3257809 r3262059  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', 'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.0.0', 'version' => '5.0.0.0', 'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8', '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.6', 'version' => '1.0.6.0', 'reference' => '8dfd07c6d2cf31c8da90c53b83c026c7696dda90', '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.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.10', 'version' => '3.0.10.0', 'reference' => 'f3dd2531dd32731366bd8dc1055e55ddc90c460e', '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), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.5', 'version' => '4.0.5.0', 'reference' => '736c567e257dbe0fcf6ce81b4d6dbe05c6899f96', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', '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' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), '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.2', 'version' => '4.2.2.0', 'reference' => '777fa98caaff3f10fb43f3cf67a8464c547e0550', '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.5.1', 'version' => '3.5.1.0', 'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.2', 'version' => '3.9.2.0', 'reference' => 'efbb7953f72a433086335b249292f280dd43ddfe', '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.31', 'version' => '4.0.31.0', 'reference' => 'f77175210a1caf51e068377365c75e643cae4cbe', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => '9d075a60f71a8fe6a86a8a02ed2551d2cbf392d5', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.22', 'version' => '4.1.22.0', 'reference' => 'f5c71ddb24d00496281664cdc3cac804b3394eb8', '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.0.6', 'version' => '5.0.6.0', 'reference' => '1b7932cb9b9f67c57f17e1641eb7b07662c19b8a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', 'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.0.1', 'version' => '5.0.1.0', 'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade', '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.6', 'version' => '1.0.6.0', 'reference' => '8dfd07c6d2cf31c8da90c53b83c026c7696dda90', '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.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.10', 'version' => '3.0.10.0', 'reference' => 'f3dd2531dd32731366bd8dc1055e55ddc90c460e', '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), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.5', 'version' => '4.0.5.0', 'reference' => '736c567e257dbe0fcf6ce81b4d6dbe05c6899f96', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', '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' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), '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.2', 'version' => '4.2.2.0', 'reference' => '777fa98caaff3f10fb43f3cf67a8464c547e0550', '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.5.1', 'version' => '3.5.1.0', 'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.2', 'version' => '3.9.2.0', 'reference' => 'efbb7953f72a433086335b249292f280dd43ddfe', '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.31', 'version' => '4.0.31.0', 'reference' => 'f77175210a1caf51e068377365c75e643cae4cbe', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => '9d075a60f71a8fe6a86a8a02ed2551d2cbf392d5', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.22', 'version' => '4.1.22.0', 'reference' => 'f5c71ddb24d00496281664cdc3cac804b3394eb8', '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.0.6', 'version' => '5.0.6.0', 'reference' => '1b7932cb9b9f67c57f17e1641eb7b07662c19b8a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/tags/5.0.1/wpify-woo.php

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

    r3257809 r3262059  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.0.0
     7Stable tag: 5.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    219219
    220220== Changelog ==
     221= 5.0.1 =
     222* Fix display IČ DIČ in addresses
     223* Fix setting for Heureka certification widget code
     224* Fix Heureka parent category name
     225* Fix Custom price type warning
     226
    221227= 5.0.0 =
    222228* Add new conversion code for Heureka Měření konverzí
  • wpify-woo/trunk/src/Modules/HeurekaOverenoZakazniky/HeurekaOverenoZakaznikyModule.php

    r3257809 r3262059  
    103103            array(
    104104                'id'    => 'widget_code',
    105                 'type'  => 'textarea',
     105                'type'  => 'code',
    106106                'label' => __( 'Certification widget code', 'wpify-woo' ),
    107107                'desc'  => __( 'Copy the code from your Heureka account.', 'wpify-woo' ),
  • wpify-woo/trunk/src/Modules/IcDic/BlockSupport.php

    r3257809 r3262059  
    2020        add_filter( 'woocommerce_set_additional_field_value', [ $this, 'save_metadata_back_compatibility' ], 10, 4 );
    2121        add_action( 'woocommerce_sanitize_additional_field', [ $this, 'sanitize_ic_dic_fields' ] );
    22         add_filter( 'woocommerce_localisation_address_formats', [ $this, 'add_address_format' ] );
    2322        add_filter( 'woocommerce_store_api_cart_errors', [ $this, 'validate_cart' ], 10, 2 );
    2423        // Default values from meta (Backward compatibility)
     
    212211    }
    213212
    214     function add_address_format( $address ) {
    215         $replaces = [
    216             '{billing_ic}',
    217             '{billing_dic}',
    218             '{billing_dic_dph}',
    219         ];
    220 
    221         foreach ( $address as $key => $item ) {
    222             $address[ $key ] = str_replace( $replaces, '', $item );
    223         }
    224 
    225         return $address;
    226     }
    227 
    228213    public function set_customer_vat_extempt( $data ) {
    229214        if ( isset( $data['validation'] ) && $data['validation'] === 'passed' ) {
  • wpify-woo/trunk/src/Modules/IcDic/IcDicModule.php

    r3257809 r3262059  
    77use WC_Order;
    88use WpifyWoo\Plugin;
     9use WpifyWoo\WooCommerceIntegration;
    910use WpifyWooDeps\Wpify\WooCore\Abstracts\AbstractModule;
    1011use WpifyWoo\Managers\ApiManager;
     
    3031        private PluginUtils $plugin_utils,
    3132        private ApiManager $api_manager,
     33        private WooCommerceIntegration $woo_integration,
    3234    ) {
    3335        parent::__construct();
     
    4749        add_filter( 'woocommerce_formatted_address_replacements', array( $this, 'replace_tags_in_emails' ), 10, 2 );
    4850        add_filter( 'woocommerce_localisation_address_formats', array( $this, 'localisation_address_formats' ) );
    49         add_filter( 'woocommerce_admin_order_data_after_billing_address', array(
    50             $this,
    51             'display_block_fields_in_admin'
    52         ) );
     51//      add_filter( 'woocommerce_admin_order_data_after_billing_address', array(
     52//          $this,
     53//          'display_block_fields_in_admin'
     54//      ) );
    5355        add_action( 'woocommerce_after_checkout_validation', array( $this, 'checkout_validation' ), 10, 2 );
    5456        add_action( 'init', array( $this, 'add_rest_api' ) );
     
    567569     */
    568570    public function localisation_address_formats( array $address_formats ): array {
    569         if ( apply_filters( 'wpify_woo_add_ic_dic_to_address', true ) === false ) {
     571        if ( $this->woo_integration->is_block_checkout() || apply_filters( 'wpify_woo_add_ic_dic_to_address', true ) === false ) {
    570572            return $address_formats;
    571573        }
     
    574576            $address_formats[ $key ] = $format . "\n{billing_ic}\n{billing_dic}\n{billing_dic_dph}";
    575577        }
    576 
    577578        return $address_formats;
    578579    }
    579580
    580     public function display_block_fields_in_admin( $order ) {
    581         $billing_ic      = $order->get_meta( '_billing_ic', true );
    582         $billing_dic     = $order->get_meta( '_billing_dic', true );
    583         $billing_dic_dph = $order->get_meta( '_billing_dic_dph', true );
    584 
    585         echo '<div class="address"><p>';
    586         if ( $billing_ic ) {
    587             echo '<span>' . __( 'Identification no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_ic );
    588         }
    589         if ( $billing_dic ) {
    590             echo '<br><span>' . __( 'VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic );
    591         }
    592         if ( $billing_dic_dph ) {
    593             echo '<br><span>' . __( 'IN VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic_dph );
    594         }
    595         echo '</p></div>';
    596     }
     581//  public function display_block_fields_in_admin( $order ) {
     582//      $billing_ic      = $order->get_meta( '_billing_ic', true );
     583//      $billing_dic     = $order->get_meta( '_billing_dic', true );
     584//      $billing_dic_dph = $order->get_meta( '_billing_dic_dph', true );
     585//
     586//      echo '<div class="address"><p>';
     587//      if ( $billing_ic ) {
     588//          echo '<span>' . __( 'Identification no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_ic );
     589//      }
     590//      if ( $billing_dic ) {
     591//          echo '<br><span>' . __( 'VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic );
     592//      }
     593//      if ( $billing_dic_dph ) {
     594//          echo '<br><span>' . __( 'IN VAT no.', 'wpify-woo' ) . ':</span> ' . esc_html( $billing_dic_dph );
     595//      }
     596//      echo '</p></div>';
     597//  }
    597598
    598599    /**
  • wpify-woo/trunk/src/Modules/Prices/PricesModule.php

    r3257809 r3262059  
    471471        $items = [];
    472472        foreach ( $custom_prices as $price ) {
    473             if ( ! isset( $price['type'] ) && ! $price['type'] ) {
     473            if ( ! isset( $price['type'] ) || ! $price['type'] ) {
    474474                if ( isset( $price['lowest_price'] ) && $price['lowest_price'] ) {
    475475                    $price['type'] = 'lowest';
  • wpify-woo/trunk/src/Modules/XmlFeedHeureka/Feed.php

    r3257809 r3262059  
    206206            }
    207207            if ( $cat_id ) {
    208                 $category = $this->heureka_categories[ $cat_id ]['category_fullname'] ?: $this->heureka_categories[ $cat_id ]['name'];
     208                $category = $this->heureka_categories[ $cat_id ]['category_fullname'] ?: $this->heureka_categories[ $cat_id ]['category_name'];
    209209                break;
    210210            }
  • wpify-woo/trunk/src/Plugin.php

    r3257809 r3262059  
    2222
    2323    /** Plugin version */
    24     public const VERSION = '5.0.0';
     24    public const VERSION = '5.0.1';
    2525
    2626    /** Plugin slug name */
  • wpify-woo/trunk/src/WooCommerceIntegration.php

    r3257809 r3262059  
    2020     * @return bool|void
    2121     */
    22     public function __construct( ) {
     22    public function __construct() {
    2323    }
    2424
     
    141141        return $currencies;
    142142    }
     143
     144    public function is_block_checkout(): bool {
     145        return \WC_Blocks_Utils::has_block_in_page( wc_get_page_id( 'checkout' ), 'woocommerce/checkout' );
     146    }
     147
     148    public function is_block_cart(): bool {
     149        return \WC_Blocks_Utils::has_block_in_page( wc_get_page_id( 'cart' ), 'woocommerce/cart' );
     150    }
    143151}
  • wpify-woo/trunk/vendor/composer/installed.php

    r3257809 r3262059  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.0.0',
    5         'version' => '5.0.0.0',
    6         'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8',
     4        'pretty_version' => '5.0.1',
     5        'version' => '5.0.1.0',
     6        'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.0.0',
    15             'version' => '5.0.0.0',
    16             'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8',
     14            'pretty_version' => '5.0.1',
     15            'version' => '5.0.1.0',
     16            'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/trunk/vendor/wpify-woo/composer/installed.php

    r3257809 r3262059  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', 'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.0.0', 'version' => '5.0.0.0', 'reference' => '7de9c5eb9d33d6c9ec2936041a5290b0619201c8', '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.6', 'version' => '1.0.6.0', 'reference' => '8dfd07c6d2cf31c8da90c53b83c026c7696dda90', '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.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.10', 'version' => '3.0.10.0', 'reference' => 'f3dd2531dd32731366bd8dc1055e55ddc90c460e', '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), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.5', 'version' => '4.0.5.0', 'reference' => '736c567e257dbe0fcf6ce81b4d6dbe05c6899f96', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', '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' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), '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.2', 'version' => '4.2.2.0', 'reference' => '777fa98caaff3f10fb43f3cf67a8464c547e0550', '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.5.1', 'version' => '3.5.1.0', 'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.2', 'version' => '3.9.2.0', 'reference' => 'efbb7953f72a433086335b249292f280dd43ddfe', '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.31', 'version' => '4.0.31.0', 'reference' => 'f77175210a1caf51e068377365c75e643cae4cbe', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => '9d075a60f71a8fe6a86a8a02ed2551d2cbf392d5', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.22', 'version' => '4.1.22.0', 'reference' => 'f5c71ddb24d00496281664cdc3cac804b3394eb8', '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.0.6', 'version' => '5.0.6.0', 'reference' => '1b7932cb9b9f67c57f17e1641eb7b07662c19b8a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', 'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.0.1', 'version' => '5.0.1.0', 'reference' => 'ebfff46a0d71e01c2e01b6b88f1c992188ddfade', '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.6', 'version' => '1.0.6.0', 'reference' => '8dfd07c6d2cf31c8da90c53b83c026c7696dda90', '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.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.10', 'version' => '3.0.10.0', 'reference' => 'f3dd2531dd32731366bd8dc1055e55ddc90c460e', '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), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.5', 'version' => '4.0.5.0', 'reference' => '736c567e257dbe0fcf6ce81b4d6dbe05c6899f96', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', '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' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), '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.2', 'version' => '4.2.2.0', 'reference' => '777fa98caaff3f10fb43f3cf67a8464c547e0550', '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.5.1', 'version' => '3.5.1.0', 'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.2', 'version' => '3.9.2.0', 'reference' => 'efbb7953f72a433086335b249292f280dd43ddfe', '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.31', 'version' => '4.0.31.0', 'reference' => 'f77175210a1caf51e068377365c75e643cae4cbe', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'reference' => '9d075a60f71a8fe6a86a8a02ed2551d2cbf392d5', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.22', 'version' => '4.1.22.0', 'reference' => 'f5c71ddb24d00496281664cdc3cac804b3394eb8', '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.0.6', 'version' => '5.0.6.0', 'reference' => '1b7932cb9b9f67c57f17e1641eb7b07662c19b8a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/trunk/wpify-woo.php

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