Plugin Directory

Changeset 3437778


Ignore:
Timestamp:
01/12/2026 01:54:14 PM (3 weeks ago)
Author:
icopydoc
Message:

v4.0.10

Location:
xml-for-google-merchant-center
Files:
185 added
8 edited

Legend:

Unmodified
Added
Removed
  • xml-for-google-merchant-center/trunk/includes/class-xfgmc-data.php

    r3399273 r3437778  
    66 * @link       https://icopydoc.ru
    77 * @since      0.1.0
    8  * @version    4.0.8 (19-11-2025)
     8 * @version    4.0.10 (12-01-2026)
    99 *
    1010 * @package    XFGMC
     
    3737
    3838        if ( empty( $data_arr ) ) {
    39             $this->data_arr = [ 
    40                 [ 
     39            $this->data_arr = [
     40                [
    4141                    'opt_name' => 'xfgmc_status_sborki',
    4242                    'def_val' => '-1',
     
    8080                    'tab' => 'none'
    8181                ],
    82                 [ 
     82                [
    8383                    'opt_name' => 'xfgmc_feed_url', // https://site.ru/wp-content/uploads/feed-xml-0.xml
    8484                    'def_val' => '',
     
    8787                    'tab' => 'none'
    8888                ],
    89                 [ 
     89                [
    9090                    'opt_name' => 'xfgmc_feed_path', // /home/site.ru/public_html/wp-content/uploads/feed-xml-0.xml
    9191                    'def_val' => '',
     
    102102                ],
    103103                // ------------------- ОСНОВНЫЕ НАСТРОЙКИ -------------------
    104                 [ 
     104                [
    105105                    'opt_name' => 'xfgmc_run_cron',
    106106                    'def_val' => 'disabled',
     
    108108                    'type' => 'select',
    109109                    'tab' => 'main_tab',
    110                     'data' => [ 
     110                    'data' => [
    111111                        'has_next' => true,
    112112                        'table_location' => 'th-td',
     
    123123                        ),
    124124                        'woo_attr' => false,
    125                         'key_value_arr' => [ 
    126                             [ 
     125                        'key_value_arr' => [
     126                            [
    127127                                'value' => 'disabled',
    128128                                'text' => __( 'Disable the creation and updating of this feed', 'xml-for-google-merchant-center' )
    129129                            ],
    130                             [ 
     130                            [
    131131                                'value' => 'once',
    132132                                'text' => sprintf( '%s',
     
    134134                                )
    135135                            ],
    136                             [ 
     136                            [
    137137                                'value' => 'hourly',
    138138                                'text' => __( 'Create a feed once an hour', 'xml-for-google-merchant-center' ) ],
     
    146146                    ]
    147147                ],
    148                 [ 
     148                [
    149149                    'opt_name' => 'xfgmc_cron_start_time',
    150150                    'def_val' => 'now',
     
    152152                    'type' => 'select',
    153153                    'tab' => 'main_tab',
    154                     'data' => [ 
     154                    'data' => [
    155155                        'has_next' => true,
    156156                        'table_location' => 'td-td',
     
    160160                        ),
    161161                        'woo_attr' => false,
    162                         'key_value_arr' => [ 
     162                        'key_value_arr' => [
    163163                            [ 'value' => 'now', 'text' => __( 'Now', 'xml-for-google-merchant-center' ) ],
    164164                            [ 'value' => '1am', 'text' => '01-00' ],
     
    189189                    ]
    190190                ],
    191                 [ 
     191                [
    192192                    'opt_name' => 'xfgmc_ufup',
    193193                    'def_val' => 'disabled',
     
    195195                    'type' => 'select',
    196196                    'tab' => 'main_tab',
    197                     'data' => [ 
     197                    'data' => [
    198198                        'has_next' => false,
    199199                        'table_location' => 'td-td',
     
    205205                        ),
    206206                        'woo_attr' => false,
    207                         'key_value_arr' => [ 
     207                        'key_value_arr' => [
    208208                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    209209                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    211211                    ]
    212212                ],
    213                 [ 
     213                [
    214214                    'opt_name' => 'xfgmc_xml_rules',
    215215                    'def_val' => 'merchant_center',
     
    217217                    'type' => 'select',
    218218                    'tab' => 'main_tab',
    219                     'data' => [ 
     219                    'data' => [
    220220                        'label' => __( 'To follow the rules', 'xml-for-google-merchant-center' ),
    221221                        'desc' => sprintf( '%s <i>(%s)</i>. %s. %s. <a target="_blank" href="%s/?utm_source=xml-for-google-merchant-center&utm_medium=documentation&utm_campaign=basic-version&utm_content=settings-page&utm_term=about-rules">%s</a>',
     
    231231                        ),
    232232                        'woo_attr' => false,
    233                         'key_value_arr' => [ 
    234                             [ 
     233                        'key_value_arr' => [
     234                            [
    235235                                'value' => 'merchant_center',
    236236                                'text' => sprintf( '%s',
     
    238238                                )
    239239                            ],
    240                             [ 
     240                            [
    241241                                'value' => 'facebook',
    242242                                'text' => sprintf( '%s',
     
    244244                                )
    245245                            ],
    246                             [ 
     246                            [
    247247                                'value' => 'all_elements',
    248248                                'text' => sprintf( '%s (%s)',
     
    255255                    ]
    256256                ],
    257                 [ 
     257                [
    258258                    'opt_name' => 'xfgmc_feed_assignment',
    259259                    'def_val' => '',
     
    261261                    'type' => 'text',
    262262                    'tab' => 'main_tab',
    263                     'data' => [ 
     263                    'data' => [
    264264                        'label' => __( 'Feed assignment', 'xml-for-google-merchant-center' ),
    265265                        'desc' => __( 'Not used in feed. Inner note for your convenience', 'xml-for-google-merchant-center' ),
     
    268268                    ]
    269269                ],
    270                 [ 
     270                [
    271271                    'opt_name' => 'xfgmc_feed_name',
    272272                    'def_val' => '',
     
    274274                    'type' => 'text',
    275275                    'tab' => 'main_tab',
    276                     'data' => [ 
     276                    'data' => [
    277277                        'has_next' => true,
    278278                        'table_location' => 'th-td',
     
    293293                    ]
    294294                ],
    295                 [ 
     295                [
    296296                    'opt_name' => 'xfgmc_file_extension',
    297297                    'def_val' => 'xml',
     
    299299                    'type' => 'select',
    300300                    'tab' => 'main_tab',
    301                     'data' => [ 
     301                    'data' => [
    302302                        'has_next' => false,
    303303                        'table_location' => 'td-td',
     
    307307                        ),
    308308                        'woo_attr' => false,
    309                         'key_value_arr' => [ 
     309                        'key_value_arr' => [
    310310                            [ 'value' => 'xml', 'text' => 'XML (' . __( 'recommend', 'xml-for-google-merchant-center' ) . ')' ]
    311311                        ]
    312312                    ]
    313313                ],
    314                 [ 
     314                [
    315315                    'opt_name' => 'xfgmc_archive_to_zip',
    316316                    'def_val' => 'disabled',
     
    318318                    'type' => 'select',
    319319                    'tab' => 'main_tab',
    320                     'data' => [ 
     320                    'data' => [
    321321                        'label' => __( 'Archive to ZIP', 'xml-for-google-merchant-center' ),
    322322                        'desc' => sprintf( '%s: %s',
     
    325325                        ),
    326326                        'woo_attr' => false,
    327                         'key_value_arr' => [ 
     327                        'key_value_arr' => [
    328328                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    329329                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    331331                    ]
    332332                ],
    333                 [ 
     333                [
    334334                    'opt_name' => 'xfgmc_step_export',
    335335                    'def_val' => '500',
     
    337337                    'type' => 'select',
    338338                    'tab' => 'main_tab',
    339                     'data' => [ 
     339                    'data' => [
    340340                        'label' => __( 'Step export', 'xml-for-google-merchant-center' ),
    341341                        'desc' =>
     
    349349                            ),
    350350                        'woo_attr' => false,
    351                         'key_value_arr' => [ 
     351                        'key_value_arr' => [
    352352                            [ 'value' => '80', 'text' => '80' ],
    353353                            [ 'value' => '100', 'text' => '100' ],
     
    355355                            [ 'value' => '300', 'text' => '300' ],
    356356                            [ 'value' => '400', 'text' => '400' ],
    357                             [ 
     357                            [
    358358                                'value' => '500',
    359359                                'text' => sprintf(
     
    375375                    ]
    376376                ],
    377                 [ 
     377                [
    378378                    'opt_name' => 'xfgmc_script_execution_time',
    379379                    'def_val' => '26',
     
    381381                    'type' => 'text',
    382382                    'tab' => 'main_tab',
    383                     'data' => [ 
     383                    'data' => [
    384384                        'label' => __( 'The maximum script execution time', 'xml-for-google-merchant-center' ),
    385385                        'desc' => sprintf( '%s. <strong>%s:</strong> 26. %s 10-30 %s',
     
    399399                    ]
    400400                ],
    401                 [ 
     401                [
    402402                    'opt_name' => 'xfgmc_ignore_cache',
    403403                    'def_val' => 'disabled',
     
    405405                    'type' => 'select',
    406406                    'tab' => 'main_tab',
    407                     'data' => [ 
     407                    'data' => [
    408408                        'label' => __( 'Ignore plugin cache', 'xml-for-google-merchant-center' ),
    409409                        'desc' => sprintf( '%s: <a
     
    417417                        ),
    418418                        'woo_attr' => false,
    419                         'key_value_arr' => [ 
     419                        'key_value_arr' => [
    420420                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    421421                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    424424                    ]
    425425                ],
    426                 [ 
     426                [
    427427                    'opt_name' => 'xfgmc_do_cash_file',
    428428                    'def_val' => 'enabled',
     
    430430                    'type' => 'select',
    431431                    'tab' => 'main_tab',
    432                     'data' => [ 
     432                    'data' => [
    433433                        'label' => __(
    434434                            'Сreate cache files when saving products',
     
    446446                        ),
    447447                        'woo_attr' => false,
    448                         'key_value_arr' => [ 
     448                        'key_value_arr' => [
    449449                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    450450                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    455455                // ------------------- ДАННЫЕ МАГАЗИНА -------------------
    456456                // https://support.google.com/merchants/answer/14987622
    457                 [ 
     457                [
    458458                    'opt_name' => 'xfgmc_shop_name',
    459459                    'def_val' => '',
     
    461461                    'type' => 'text',
    462462                    'tab' => 'shop_data_tab',
    463                     'data' => [ 
     463                    'data' => [
    464464                        'label' => __( 'Shop name', 'xml-for-google-merchant-center' ),
    465465                        'desc' => __(
     
    473473                    ]
    474474                ],
    475                 [ 
     475                [
    476476                    'opt_name' => 'xfgmc_shop_description',
    477477                    'def_val' => '',
     
    479479                    'type' => 'text',
    480480                    'tab' => 'shop_data_tab',
    481                     'data' => [ 
     481                    'data' => [
    482482                        'label' => __( 'Shop description', 'xml-for-google-merchant-center' ),
    483483                        'desc' => __( 'Shop description', 'xml-for-google-merchant-center' ),
     
    489489                ],
    490490                // ------------------- НАСТРОЙКИ АТРИБУТОВ -------------------
    491                 [ 
     491                [
    492492                    'opt_name' => 'xfgmc_source_id',
    493493                    'def_val' => 'default',
     
    495495                    'type' => 'select',
    496496                    'tab' => 'offer_data_tab',
    497                     'data' => [ 
     497                    'data' => [
    498498                        'has_next' => true,
    499499                        'table_location' => 'th-td',
     
    502502                        'woo_attr' => true,
    503503                        'default_value' => true,
    504                         'key_value_arr' => [ 
     504                        'key_value_arr' => [
    505505                            [ 'value' => 'default', 'text' => __( 'Product ID / Variation ID', 'xml-for-google-merchant-center' ) ],
    506506                            [ 'value' => 'sku', 'text' => __( 'Substitute from SKU', 'xml-for-google-merchant-center' ) ],
    507507                            [ 'value' => 'post_meta', 'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' ) ],
    508                             [ 
     508                            [
    509509                                'value' => 'germanized',
    510510                                'text' => __( 'Substitute from', 'xml-for-google-merchant-center' ) . 'WooCommerce Germanized'
     
    515515                    ]
    516516                ],
    517                 [ 
     517                [
    518518                    'opt_name' => 'xfgmc_source_id_post_meta',
    519519                    'def_val' => '',
     
    521521                    'type' => 'text',
    522522                    'tab' => 'offer_data_tab',
    523                     'data' => [ 
     523                    'data' => [
    524524                        'has_next' => false,
    525525                        'table_location' => 'td-td',
     
    531531                    ]
    532532                ],
    533                 [ 
     533                [
    534534                    'opt_name' => 'xfgmc_product_title',
    535535                    'def_val' => 'enabled',
     
    537537                    'type' => 'select',
    538538                    'tab' => 'offer_data_tab',
    539                     'data' => [ 
     539                    'data' => [
    540540                        'label' => __( 'Product name', 'xml-for-google-merchant-center' ),
    541541                        'desc' => '',
    542542                        'woo_attr' => false,
    543543                        'default_value' => false,
    544                         'key_value_arr' => [ 
     544                        'key_value_arr' => [
    545545                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ],
    546546                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
     
    550550                    ]
    551551                ],
    552                 [ 
     552                [
    553553                    'opt_name' => 'xfgmc_desc',
    554554                    'def_val' => 'fullexcerpt',
     
    556556                    'type' => 'select',
    557557                    'tab' => 'offer_data_tab',
    558                     'data' => [ 
     558                    'data' => [
    559559                        'has_next' => true,
    560560                        'table_location' => 'th-td',
     
    564564                        ),
    565565                        'woo_attr' => false,
    566                         'key_value_arr' => [ 
    567                             [ 
     566                        'key_value_arr' => [
     567                            [
    568568                                'value' => 'excerpt',
    569569                                'text' => __( 'Only Excerpt description', 'xml-for-google-merchant-center' )
    570570                            ],
    571                             [ 
     571                            [
    572572                                'value' => 'full',
    573573                                'text' => __( 'Only Full description', 'xml-for-google-merchant-center' )
    574574                            ],
    575                             [ 
     575                            [
    576576                                'value' => 'excerptfull',
    577577                                'text' => __( 'Excerpt or Full description', 'xml-for-google-merchant-center' )
    578578                            ],
    579                             [ 
     579                            [
    580580                                'value' => 'fullexcerpt',
    581581                                'text' => __( 'Full or Excerpt description', 'xml-for-google-merchant-center' )
    582582                            ],
    583                             [ 
     583                            [
    584584                                'value' => 'excerptplusfull',
    585585                                'text' => __( 'Excerpt plus Full description', 'xml-for-google-merchant-center' )
    586586                            ],
    587                             [ 
     587                            [
    588588                                'value' => 'fullplusexcerpt',
    589589                                'text' => __( 'Full plus Excerpt description', 'xml-for-google-merchant-center' )
    590590                            ],
    591                             [ 
     591                            [
    592592                                'value' => 'post_meta',
    593593                                'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' )
     
    599599                    ]
    600600                ],
    601                 [ 
     601                [
    602602                    'opt_name' => 'xfgmc_source_description_post_meta',
    603603                    'def_val' => '',
     
    605605                    'type' => 'text',
    606606                    'tab' => 'offer_data_tab',
    607                     'data' => [ 
     607                    'data' => [
    608608                        'has_next' => true,
    609609                        'table_location' => 'td-td',
     
    615615                    ]
    616616                ],
    617                 [ 
     617                [
    618618                    'opt_name' => 'xfgmc_enable_tags_behavior',
    619619                    'def_val' => 'default',
     
    621621                    'type' => 'select',
    622622                    'tab' => 'offer_data_tab',
    623                     'data' => [ 
     623                    'data' => [
    624624                        'has_next' => true,
    625625                        'table_location' => 'td-td',
     
    628628                        'woo_attr' => false,
    629629                        'default_value' => false,
    630                         'key_value_arr' => [ 
     630                        'key_value_arr' => [
    631631                            [ 'value' => 'default', 'text' => __( 'Default', 'xml-for-google-merchant-center' ) ],
    632632                            [ 'value' => 'custom', 'text' => __( 'From the field below', 'xml-for-google-merchant-center' ) ]
     
    636636                    ]
    637637                ],
    638                 [ 
     638                [
    639639                    'opt_name' => 'xfgmc_enable_tags_custom',
    640640                    'def_val' => '',
     
    642642                    'type' => 'text',
    643643                    'tab' => 'offer_data_tab',
    644                     'data' => [ 
     644                    'data' => [
    645645                        'has_next' => false,
    646646                        'table_location' => 'td-td',
     
    655655                    ]
    656656                ],
    657                 [ 
     657                [
    658658                    'opt_name' => 'xfgmc_var_desc_priority',
    659659                    'def_val' => 'disabled',
     
    661661                    'type' => 'select',
    662662                    'tab' => 'offer_data_tab',
    663                     'data' => [ 
     663                    'data' => [
    664664                        'has_next' => false,
    665665                        'table_location' => 'th-td',
     
    674674                        'woo_attr' => false,
    675675                        'default_value' => false,
    676                         'key_value_arr' => [ 
     676                        'key_value_arr' => [
    677677                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    678678                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    682682                    ]
    683683                ],
    684                 [ 
     684                [
    685685                    'opt_name' => 'xfgmc_the_content',
    686686                    'def_val' => 'enabled',
     
    688688                    'type' => 'select',
    689689                    'tab' => 'offer_data_tab',
    690                     'data' => [ 
     690                    'data' => [
    691691                        'has_next' => false,
    692692                        'table_location' => 'th-td',
     
    699699                        'woo_attr' => false,
    700700                        'default_value' => false,
    701                         'key_value_arr' => [ 
     701                        'key_value_arr' => [
    702702                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    703703                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    707707                    ]
    708708                ],
    709                 [ 
     709                [
    710710                    'opt_name' => 'xfgmc_link',
    711711                    'def_val' => 'enabled',
     
    713713                    'type' => 'select',
    714714                    'tab' => 'offer_data_tab',
    715                     'data' => [ 
     715                    'data' => [
    716716                        'label' => sprintf( '%s (URL)',
    717717                            __( 'Product link', 'xml-for-google-merchant-center' )
     
    720720                        'woo_attr' => false,
    721721                        'default_value' => false,
    722                         'key_value_arr' => [ 
     722                        'key_value_arr' => [
    723723                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    724724                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    728728                    ]
    729729                ],
    730                 [ 
     730                [
    731731                    'opt_name' => 'xfgmc_mobile_link',
    732732                    'def_val' => 'disabled',
     
    734734                    'type' => 'select',
    735735                    'tab' => 'offer_data_tab',
    736                     'data' => [ 
     736                    'data' => [
    737737                        'label' => sprintf( '%s (URL)',
    738738                            __( 'Product mobile link', 'xml-for-google-merchant-center' )
     
    744744                        'woo_attr' => false,
    745745                        'default_value' => false,
    746                         'key_value_arr' => [ 
     746                        'key_value_arr' => [
    747747                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    748748                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    752752                    ]
    753753                ],
    754                 [ 
     754                [
    755755                    'opt_name' => 'xfgmc_image_link',
    756756                    'def_val' => 'full',
     
    758758                    'type' => 'select',
    759759                    'tab' => 'offer_data_tab',
    760                     'data' => [ 
     760                    'data' => [
    761761                        'label' => __( 'Picture', 'xml-for-google-merchant-center' ),
    762762                        'desc' => sprintf( '%s',
     
    770770                    ]
    771771                ],
    772                 [ 
     772                [
    773773                    'opt_name' => 'xfgmc_availability',
    774774                    'def_val' => 'enabled',
     
    776776                    'type' => 'select',
    777777                    'tab' => 'offer_data_tab',
    778                     'data' => [ 
     778                    'data' => [
    779779                        'label' => __( 'Quantity of products', 'xml-for-google-merchant-center' ),
    780780                        'desc' => __(
     
    784784                        'woo_attr' => false,
    785785                        'default_value' => false,
    786                         'key_value_arr' => [ 
     786                        'key_value_arr' => [
    787787                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    788788                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    792792                    ]
    793793                ],
    794                 [ 
     794                [
    795795                    'opt_name' => 'xfgmc_behavior_onbackorder',
    796796                    'def_val' => 'true',
     
    798798                    'type' => 'select',
    799799                    'tab' => 'offer_data_tab',
    800                     'data' => [ 
     800                    'data' => [
    801801                        'label' => __(
    802802                            'For pre-order products, establish availability equal to',
     
    811811                        'woo_attr' => false,
    812812                        'default_value' => false,
    813                         'key_value_arr' => [ 
     813                        'key_value_arr' => [
    814814                            [ 'value' => 'in_stock', 'text' => 'in_stock' ],
    815815                            [ 'value' => 'out_of_stock', 'text' => 'out_of_stock' ],
     
    820820                    ]
    821821                ],
    822                 [
    823                     'opt_name' => 'xfgmc_availability_date',
    824                     'def_val' => '2016-12-25T13:00-0800',
    825                     'mark' => 'public',
    826                     'type' => 'text',
    827                     'tab' => 'offer_data_tab',
    828                     'data' => [
    829                         'has_next' => false,
    830                         'table_location' => 'th-td',
     822                [
     823                    'opt_name' => 'xfgmc_use_availability_date',
     824                    'def_val' => 'disabled',
     825                    'mark' => 'public',
     826                    'type' => 'select',
     827                    'tab' => 'offer_data_tab',
     828                    'data' => [
     829                        'has_next' => true,
    831830                        'label' => __( 'Availability date', 'xml-for-google-merchant-center' ),
    832831                        'desc' => sprintf(
     
    837836                            )
    838837                        ),
     838                        'woo_attr' => false,
     839                        'default_value' => false,
     840                        'key_value_arr' => [
     841                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
     842                            [
     843                                'value' => 'enabled',
     844                                'text' => sprintf( '%s. %s',
     845                                    __( 'Enabled', 'xml-for-google-merchant-center' ),
     846                                    __( 'Use the current date', 'xml-for-google-merchant-center' )
     847                                )
     848                            ],
     849                            [
     850                                'value' => 'enabled_default_value',
     851                                'text' => sprintf( '%s. %s',
     852                                    __( 'Enabled', 'xml-for-google-merchant-center' ),
     853                                    __( 'Use the default value', 'xml-for-google-merchant-center' )
     854                                )
     855                            ]
     856                        ],
     857                        'tag_name' => 'availability_date',
     858                        'tag_name_for_desc' => 'g:availability_date'
     859                    ]
     860                ],
     861                [
     862                    'opt_name' => 'xfgmc_add_to_availability',
     863                    'def_val' => '0',
     864                    'mark' => 'public',
     865                    'type' => 'number',
     866                    'tab' => 'offer_data_tab',
     867                    'data' => [
     868                        'has_next' => true,
     869                        'table_location' => 'td-td',
     870                        'label' => __( 'Add days to the current date', 'xml-for-google-merchant-center' ),
     871                        'desc' => __(
     872                            "This option will add the number of days you specified to today's date",
     873                            'xml-for-google-merchant-center'
     874                        ),
     875                        'placeholder' => '0',
     876                        'tag_name' => 'availability_date',
     877                        'tag_name_for_desc' => 'g:availability_date'
     878                    ]
     879                ],
     880                [
     881                    'opt_name' => 'xfgmc_availability_date', // default value
     882                    'def_val' => '',
     883                    'mark' => 'public',
     884                    'type' => 'text',
     885                    'tab' => 'offer_data_tab',
     886                    'data' => [
     887                        'has_next' => false,
     888                        'table_location' => 'td-td',
     889                        'label' => __( 'Default value', 'xml-for-google-merchant-center' ),
     890                        'desc' => __(
     891                            'Date, time, and timezone, ISO 8601 compliant',
     892                            'xml-for-google-merchant-center'
     893                        ),
    839894                        'placeholder' => '2025-05-29T13:00-0800',
    840895                        'tag_name' => 'availability_date',
     
    842897                    ]
    843898                ],
    844                 [ 
     899                [
    845900                    'opt_name' => 'xfgmc_price',
    846901                    'def_val' => 'enabled',
     
    848903                    'type' => 'select',
    849904                    'tab' => 'offer_data_tab',
    850                     'data' => [ 
     905                    'data' => [
    851906                        'label' => __( 'Product price', 'xml-for-google-merchant-center' ),
    852907                        'desc' => '',
    853908                        'woo_attr' => false,
    854909                        'default_value' => false,
    855                         'key_value_arr' => [ 
     910                        'key_value_arr' => [
    856911                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    857912                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    861916                    ]
    862917                ],
    863                 [ 
     918                [
    864919                    'opt_name' => 'xfgmc_default_currency',
    865920                    'def_val' => 'RUB',
     
    867922                    'type' => 'text',
    868923                    'tab' => 'offer_data_tab',
    869                     'data' => [ 
     924                    'data' => [
    870925                        'label' => __( 'Shop currency', 'xml-for-google-merchant-center' ),
    871926                        'desc' => sprintf( '%s! %s: <strong>USD</strong>. <a href="//support.google.com/merchants/answer/160637" target="_blank">%s</a>',
     
    881936                    ]
    882937                ],
    883                 [ 
     938                [
    884939                    'opt_name' => 'xfgmc_sale_price',
    885940                    'def_val' => 'enabled',
     
    887942                    'type' => 'select',
    888943                    'tab' => 'offer_data_tab',
    889                     'data' => [ 
     944                    'data' => [
    890945                        'label' => __( 'Sale price', 'xml-for-google-merchant-center' ),
    891946                        'desc' => __(
     
    895950                        'woo_attr' => false,
    896951                        'default_value' => false,
    897                         'key_value_arr' => [ 
     952                        'key_value_arr' => [
    898953                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ],
    899954                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
     
    903958                    ]
    904959                ],
    905                 [ 
     960                [
    906961                    'opt_name' => 'xfgmc_unit_pricing_measure',
    907962                    'def_val' => 'disabled',
     
    909964                    'type' => 'select',
    910965                    'tab' => 'offer_data_tab',
    911                     'data' => [ 
     966                    'data' => [
    912967                        'label' => __( 'Shop SKU', 'xml-for-google-merchant-center' ),
    913968                        'desc' => __( 'Shop SKU', 'xml-for-google-merchant-center' ),
    914969                        'woo_attr' => false,
    915970                        'default_value' => false,
    916                         'key_value_arr' => [ 
     971                        'key_value_arr' => [
    917972                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    918973                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    922977                    ]
    923978                ],
    924                 [ 
     979                [
    925980                    'opt_name' => 'xfgmc_unit_pricing_base_measure',
    926981                    'def_val' => 'disabled',
     
    928983                    'type' => 'select',
    929984                    'tab' => 'offer_data_tab',
    930                     'data' => [ 
     985                    'data' => [
    931986                        'label' => __( 'Shop SKU', 'xml-for-google-merchant-center' ),
    932987                        'desc' => __( 'Shop SKU', 'xml-for-google-merchant-center' ),
    933988                        'woo_attr' => false,
    934989                        'default_value' => false,
    935                         'key_value_arr' => [ 
     990                        'key_value_arr' => [
    936991                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    937992                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    941996                    ]
    942997                ],
    943                 [ 
     998                [
    944999                    'opt_name' => 'xfgmc_google_product_category',
    9451000                    'def_val' => 'enabled',
     
    9471002                    'type' => 'select',
    9481003                    'tab' => 'offer_data_tab',
    949                     'data' => [ 
     1004                    'data' => [
    9501005                        'label' => __( 'Google product category', 'xml-for-google-merchant-center' ),
    9511006                        'desc' => '',
    9521007                        'woo_attr' => false,
    9531008                        'default_value' => false,
    954                         'key_value_arr' => [ 
     1009                        'key_value_arr' => [
    9551010                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    9561011                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    9601015                    ]
    9611016                ],
    962                 [ 
     1017                [
    9631018                    'opt_name' => 'xfgmc_product_type',
    9641019                    'def_val' => 'disabled',
     
    9661021                    'type' => 'select',
    9671022                    'tab' => 'offer_data_tab',
    968                     'data' => [ 
     1023                    'data' => [
    9691024                        'has_next' => true,
    9701025                        'table_location' => 'th-td',
     
    9731028                        'woo_attr' => false,
    9741029                        'default_value' => false,
    975                         'key_value_arr' => [ 
     1030                        'key_value_arr' => [
    9761031                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    9771032                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    9811036                    ]
    9821037                ],
    983                 [ 
     1038                [
    9841039                    'opt_name' => 'xfgmc_product_type_home',
    9851040                    'def_val' => '',
     
    9871042                    'type' => 'text',
    9881043                    'tab' => 'offer_data_tab',
    989                     'data' => [ 
     1044                    'data' => [
    9901045                        'has_next' => false,
    9911046                        'table_location' => 'td-td',
     
    9971052                    ]
    9981053                ],
    999                 [ 
     1054                [
    10001055                    'opt_name' => 'xfgmc_brand',
    10011056                    'def_val' => 'disabled',
     
    10031058                    'type' => 'select',
    10041059                    'tab' => 'offer_data_tab',
    1005                     'data' => [ 
     1060                    'data' => [
    10061061                        'has_next' => true,
    10071062                        'table_location' => 'th-td',
     
    10101065                        'woo_attr' => true,
    10111066                        'default_value' => true,
    1012                         'key_value_arr' => [ 
    1013                             [ 
     1067                        'key_value_arr' => [
     1068                            [
    10141069                                'value' => 'disabled',
    10151070                                'text' => __( 'Disabled', 'xml-for-google-merchant-center' )
    10161071                            ],
    1017                             [ 
     1072                            [
    10181073                                'value' => 'woocommerce_brands',
    10191074                                'text' => __( 'WooCommerce brands', 'xml-for-google-merchant-center' )
    10201075                            ],
    1021                             [ 
     1076                            [
    10221077                                'value' => 'post_meta',
    10231078                                'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' )
    10241079                            ],
    1025                             [ 
     1080                            [
    10261081                                'value' => 'default_value',
    10271082                                'text' => sprintf( '%s "%s"',
     
    10351090                    ]
    10361091                ],
    1037                 [ 
     1092                [
    10381093                    'opt_name' => 'xfgmc_brand_post_meta',
    10391094                    'def_val' => '',
     
    10411096                    'type' => 'text',
    10421097                    'tab' => 'offer_data_tab',
    1043                     'data' => [ 
     1098                    'data' => [
    10441099                        'has_next' => false,
    10451100                        'table_location' => 'td-td',
     
    10571112                    ]
    10581113                ],
    1059                 [ 
     1114                [
    10601115                    'opt_name' => 'xfgmc_gtin',
    10611116                    'def_val' => 'no',
     
    10631118                    'type' => 'select',
    10641119                    'tab' => 'offer_data_tab',
    1065                     'data' => [ 
     1120                    'data' => [
    10661121                        'has_next' => true,
    10671122                        'table_location' => 'th-td',
     
    10701125                        'woo_attr' => true,
    10711126                        'default_value' => true,
    1072                         'key_value_arr' => [ 
     1127                        'key_value_arr' => [
    10731128                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    10741129                            [ 'value' => 'no', 'text' => __( 'No', 'xml-for-google-merchant-center' ) ],
    10751130                            [ 'value' => 'sku', 'text' => __( 'Substitute from SKU', 'xml-for-google-merchant-center' ) ],
    10761131                            [ 'value' => 'post_meta', 'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' ) ],
    1077                             [ 
     1132                            [
    10781133                                'value' => 'upc-ean-generator',
    10791134                                'text' => sprintf( '%s UPC/EAN/GTIN Code Generator',
     
    10811136                                )
    10821137                            ],
    1083                             [ 
     1138                            [
    10841139                                'value' => 'ean-for-woocommerce',
    10851140                                'text' => sprintf( '%s EAN for WooCommerce',
     
    10871142                                )
    10881143                            ],
    1089                             [ 
     1144                            [
    10901145                                'value' => 'germanized',
    10911146                                'text' => sprintf( '%s WooCommerce Germanized',
     
    10981153                    ]
    10991154                ],
    1100                 [ 
     1155                [
    11011156                    'opt_name' => 'xfgmc_gtin_post_meta',
    11021157                    'def_val' => '',
     
    11041159                    'type' => 'text',
    11051160                    'tab' => 'offer_data_tab',
    1106                     'data' => [ 
     1161                    'data' => [
    11071162                        'has_next' => false,
    11081163                        'table_location' => 'td-td',
     
    11141169                    ]
    11151170                ],
    1116                 [ 
     1171                [
    11171172                    'opt_name' => 'xfgmc_mpn',
    11181173                    'def_val' => 'no',
     
    11201175                    'type' => 'select',
    11211176                    'tab' => 'offer_data_tab',
    1122                     'data' => [ 
     1177                    'data' => [
    11231178                        'has_next' => true,
    11241179                        'table_location' => 'th-td',
     
    11271182                        'woo_attr' => true,
    11281183                        'default_value' => true,
    1129                         'key_value_arr' => [ 
     1184                        'key_value_arr' => [
    11301185                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    11311186                            [ 'value' => 'no', 'text' => __( 'No', 'xml-for-google-merchant-center' ) ],
    11321187                            [ 'value' => 'sku', 'text' => __( 'Substitute from SKU', 'xml-for-google-merchant-center' ) ],
    11331188                            [ 'value' => 'post_meta', 'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' ) ],
    1134                             [ 
     1189                            [
    11351190                                'value' => 'upc-ean-generator',
    11361191                                'text' => sprintf( '%s UPC/EAN/GTIN Code Generator',
     
    11381193                                )
    11391194                            ],
    1140                             [ 
     1195                            [
    11411196                                'value' => 'ean-for-woocommerce',
    11421197                                'text' => sprintf( '%s EAN for WooCommerce',
     
    11441199                                )
    11451200                            ],
    1146                             [ 
     1201                            [
    11471202                                'value' => 'germanized',
    11481203                                'text' => sprintf( '%s WooCommerce Germanized',
     
    11551210                    ]
    11561211                ],
    1157                 [ 
     1212                [
    11581213                    'opt_name' => 'xfgmc_mpn_post_meta',
    11591214                    'def_val' => '',
     
    11611216                    'type' => 'text',
    11621217                    'tab' => 'offer_data_tab',
    1163                     'data' => [ 
     1218                    'data' => [
    11641219                        'has_next' => false,
    11651220                        'table_location' => 'td-td',
     
    11711226                    ]
    11721227                ],
    1173                 [ 
     1228                [
    11741229                    'opt_name' => 'xfgmc_identifier_exists',
    11751230                    'def_val' => 'disabled',
     
    11771232                    'type' => 'select',
    11781233                    'tab' => 'offer_data_tab',
    1179                     'data' => [ 
     1234                    'data' => [
    11801235                        'label' => __( 'Identifier exists', 'xml-for-google-merchant-center' ),
    11811236                        'desc' => __( 'Identifier exists', 'xml-for-google-merchant-center' ),
    11821237                        'woo_attr' => false,
    11831238                        'default_value' => false,
    1184                         'key_value_arr' => [ 
     1239                        'key_value_arr' => [
    11851240                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    11861241                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    11901245                    ]
    11911246                ],
    1192                 [ 
     1247                [
    11931248                    'opt_name' => 'xfgmc_condition',
    11941249                    'def_val' => 'new',
     
    11961251                    'type' => 'select',
    11971252                    'tab' => 'offer_data_tab',
    1198                     'data' => [ 
     1253                    'data' => [
    11991254                        'has_next' => true,
    12001255                        'table_location' => 'th-td',
     
    12061261                        'woo_attr' => false,
    12071262                        'default_value' => false,
    1208                         'key_value_arr' => [ 
     1263                        'key_value_arr' => [
    12091264                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    12101265                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    12141269                    ]
    12151270                ],
    1216                 [ 
     1271                [
    12171272                    'opt_name' => 'xfgmc_condition_default_value',
    12181273                    'def_val' => 'no',
     
    12201275                    'type' => 'select',
    12211276                    'tab' => 'offer_data_tab',
    1222                     'data' => [ 
     1277                    'data' => [
    12231278                        'has_next' => false,
    12241279                        'table_location' => 'td-td',
     
    12271282                        'woo_attr' => false,
    12281283                        'default_value' => true,
    1229                         'key_value_arr' => [ 
     1284                        'key_value_arr' => [
    12301285                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    12311286                            [ 'value' => 'new', 'text' => __( 'New', 'xml-for-google-merchant-center' ) ],
     
    12371292                    ]
    12381293                ],
    1239                 [ 
     1294                [
    12401295                    'opt_name' => 'xfgmc_adult',
    12411296                    'def_val' => 'false',
     
    12431298                    'type' => 'select',
    12441299                    'tab' => 'offer_data_tab',
    1245                     'data' => [ 
     1300                    'data' => [
    12461301                        'label' => __( 'Adult', 'xml-for-google-merchant-center' ),
    12471302                        'desc' => '',
    12481303                        'woo_attr' => false,
    12491304                        'default_value' => false,
    1250                         'key_value_arr' => [ 
     1305                        'key_value_arr' => [
    12511306                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    12521307                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    12561311                    ]
    12571312                ],
    1258                 [ 
     1313                [
    12591314                    'opt_name' => 'xfgmc_adult_default_value',
    12601315                    'def_val' => 'no',
     
    12621317                    'type' => 'select',
    12631318                    'tab' => 'offer_data_tab',
    1264                     'data' => [ 
     1319                    'data' => [
    12651320                        'has_next' => false,
    12661321                        'table_location' => 'td-td',
     
    12691324                        'woo_attr' => false,
    12701325                        'default_value' => true,
    1271                         'key_value_arr' => [ 
     1326                        'key_value_arr' => [
    12721327                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    12731328                            [ 'value' => 'alltrue', 'text' => __( 'Add to all', 'xml-for-google-merchant-center' ) . ' true' ],
     
    12781333                    ]
    12791334                ],
    1280                 [ 
     1335                [
    12811336                    'opt_name' => 'xfgmc_multipack',
    12821337                    'def_val' => 'disabled',
     
    12841339                    'type' => 'select',
    12851340                    'tab' => 'offer_data_tab',
    1286                     'data' => [ 
     1341                    'data' => [
    12871342                        'label' => __( 'Multipack', 'xml-for-google-merchant-center' ),
    12881343                        'desc' => '',
    12891344                        'woo_attr' => false,
    12901345                        'default_value' => false,
    1291                         'key_value_arr' => [ 
     1346                        'key_value_arr' => [
    12921347                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    12931348                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    12971352                    ]
    12981353                ],
    1299                 [ 
     1354                [
    13001355                    'opt_name' => 'xfgmc_is_bundle',
    13011356                    'def_val' => 'disabled',
     
    13031358                    'type' => 'select',
    13041359                    'tab' => 'offer_data_tab',
    1305                     'data' => [ 
     1360                    'data' => [
    13061361                        'label' => __( 'Is bundle', 'xml-for-google-merchant-center' ),
    13071362                        'desc' => '',
    13081363                        'woo_attr' => false,
    13091364                        'default_value' => false,
    1310                         'key_value_arr' => [ 
     1365                        'key_value_arr' => [
    13111366                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    13121367                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    13161371                    ]
    13171372                ],
    1318                 [ 
     1373                [
    13191374                    'opt_name' => 'xfgmc_is_bundle_default_value',
    13201375                    'def_val' => 'no',
     
    13221377                    'type' => 'select',
    13231378                    'tab' => 'offer_data_tab',
    1324                     'data' => [ 
     1379                    'data' => [
    13251380                        'has_next' => false,
    13261381                        'table_location' => 'td-td',
     
    13291384                        'woo_attr' => false,
    13301385                        'default_value' => true,
    1331                         'key_value_arr' => [ 
     1386                        'key_value_arr' => [
    13321387                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    13331388                            [ 'value' => 'alltrue', 'text' => __( 'Add to all', 'xml-for-google-merchant-center' ) . ' true' ],
     
    13381393                    ]
    13391394                ],
    1340                 [ 
     1395                [
    13411396                    'opt_name' => 'xfgmc_age_group',
    13421397                    'def_val' => 'disabled',
     
    13441399                    'type' => 'select',
    13451400                    'tab' => 'offer_data_tab',
    1346                     'data' => [ 
     1401                    'data' => [
    13471402                        'has_next' => true,
    13481403                        'table_location' => 'th-td',
     
    13511406                        'woo_attr' => true,
    13521407                        'default_value' => true,
    1353                         'key_value_arr' => [ 
    1354                             [ 
     1408                        'key_value_arr' => [
     1409                            [
    13551410                                'value' => 'disabled',
    13561411                                'text' => __( 'Disabled', 'xml-for-google-merchant-center' )
    13571412                            ],
    1358                             [ 
     1413                            [
    13591414                                'value' => 'post_meta',
    13601415                                'text' => __( 'Substitute from post meta', 'xml-for-google-merchant-center' )
    13611416                            ],
    1362                             [ 
     1417                            [
    13631418                                'value' => 'default_value',
    13641419                                'text' => sprintf( '%s "%s"',
     
    13721427                    ]
    13731428                ],
    1374                 [ 
     1429                [
    13751430                    'opt_name' => 'xfgmc_age_group_post_meta',
    13761431                    'def_val' => '',
     
    13781433                    'type' => 'text',
    13791434                    'tab' => 'offer_data_tab',
    1380                     'data' => [ 
     1435                    'data' => [
    13811436                        'has_next' => false,
    13821437                        'table_location' => 'td-td',
     
    13961451                    ]
    13971452                ],
    1398                 [ 
     1453                [
    13991454                    'opt_name' => 'xfgmc_color',
    14001455                    'def_val' => 'disabled',
     
    14021457                    'type' => 'select',
    14031458                    'tab' => 'offer_data_tab',
    1404                     'data' => [ 
     1459                    'data' => [
    14051460                        'label' => __( 'Color', 'xml-for-google-merchant-center' ),
    14061461                        'desc' => '',
    14071462                        'woo_attr' => true,
    14081463                        'default_value' => false,
    1409                         'key_value_arr' => [ 
     1464                        'key_value_arr' => [
    14101465                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    14111466                        ],
     
    14141469                    ]
    14151470                ],
    1416                 [ 
     1471                [
    14171472                    'opt_name' => 'xfgmc_gender',
    14181473                    'def_val' => 'disabled',
     
    14201475                    'type' => 'select',
    14211476                    'tab' => 'offer_data_tab',
    1422                     'data' => [ 
     1477                    'data' => [
    14231478                        'has_next' => true,
    14241479                        'table_location' => 'th-td',
     
    14271482                        'woo_attr' => true,
    14281483                        'default_value' => false,
    1429                         'key_value_arr' => [ 
     1484                        'key_value_arr' => [
    14301485                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    14311486                        ],
     
    14341489                    ]
    14351490                ],
    1436                 [ 
     1491                [
    14371492                    'opt_name' => 'xfgmc_gender_default_value',
    14381493                    'def_val' => 'no',
     
    14401495                    'type' => 'select',
    14411496                    'tab' => 'offer_data_tab',
    1442                     'data' => [ 
     1497                    'data' => [
    14431498                        'has_next' => false,
    14441499                        'table_location' => 'td-td',
     
    14471502                        'woo_attr' => false,
    14481503                        'default_value' => true,
    1449                         'key_value_arr' => [ 
     1504                        'key_value_arr' => [
    14501505                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    14511506                            [ 'value' => 'male', 'text' => 'Male' ],
     
    14571512                    ]
    14581513                ],
    1459                 [ 
     1514                [
    14601515                    'opt_name' => 'xfgmc_material',
    14611516                    'def_val' => 'disabled',
     
    14631518                    'type' => 'select',
    14641519                    'tab' => 'offer_data_tab',
    1465                     'data' => [ 
     1520                    'data' => [
    14661521                        'label' => __( 'Material', 'xml-for-google-merchant-center' ),
    14671522                        'desc' => '',
    14681523                        'woo_attr' => true,
    14691524                        'default_value' => false,
    1470                         'key_value_arr' => [ 
     1525                        'key_value_arr' => [
    14711526                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    14721527                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    14761531                    ]
    14771532                ],
    1478                 [ 
     1533                [
    14791534                    'opt_name' => 'xfgmc_pattern',
    14801535                    'def_val' => 'disabled',
     
    14821537                    'type' => 'select',
    14831538                    'tab' => 'offer_data_tab',
    1484                     'data' => [ 
     1539                    'data' => [
    14851540                        'label' => __( 'Pattern', 'xml-for-google-merchant-center' ),
    14861541                        'desc' => '',
    14871542                        'woo_attr' => true,
    14881543                        'default_value' => false,
    1489                         'key_value_arr' => [ 
     1544                        'key_value_arr' => [
    14901545                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    14911546                        ],
     
    14941549                    ]
    14951550                ],
    1496                 [ 
     1551                [
    14971552                    'opt_name' => 'xfgmc_size',
    14981553                    'def_val' => 'disabled',
     
    15001555                    'type' => 'select',
    15011556                    'tab' => 'offer_data_tab',
    1502                     'data' => [ 
     1557                    'data' => [
    15031558                        'label' => __( 'Size', 'xml-for-google-merchant-center' ),
    15041559                        'desc' => '',
    15051560                        'woo_attr' => true,
    15061561                        'default_value' => false,
    1507                         'key_value_arr' => [ 
     1562                        'key_value_arr' => [
    15081563                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    15091564                        ],
     
    15121567                    ]
    15131568                ],
    1514                 [ 
     1569                [
    15151570                    'opt_name' => 'xfgmc_size_type',
    15161571                    'def_val' => 'disabled',
     
    15181573                    'type' => 'select',
    15191574                    'tab' => 'offer_data_tab',
    1520                     'data' => [ 
     1575                    'data' => [
    15211576                        'has_next' => true,
    15221577                        'table_location' => 'th-td',
     
    15251580                        'woo_attr' => true,
    15261581                        'default_value' => false,
    1527                         'key_value_arr' => [ 
     1582                        'key_value_arr' => [
    15281583                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    15291584                        ],
     
    15321587                    ]
    15331588                ],
    1534                 [ 
     1589                [
    15351590                    'opt_name' => 'xfgmc_size_type_default_value',
    15361591                    'def_val' => 'no',
     
    15381593                    'type' => 'select',
    15391594                    'tab' => 'offer_data_tab',
    1540                     'data' => [ 
     1595                    'data' => [
    15411596                        'has_next' => false,
    15421597                        'table_location' => 'td-td',
     
    15451600                        'woo_attr' => false,
    15461601                        'default_value' => true,
    1547                         'key_value_arr' => [ 
     1602                        'key_value_arr' => [
    15481603                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    15491604                            [ 'value' => 'regular', 'text' => 'Regular' ],
     
    15571612                    ]
    15581613                ],
    1559                 [ 
     1614                [
    15601615                    'opt_name' => 'xfgmc_size_system',
    15611616                    'def_val' => 'disabled',
     
    15631618                    'type' => 'select',
    15641619                    'tab' => 'offer_data_tab',
    1565                     'data' => [ 
     1620                    'data' => [
    15661621                        'has_next' => true,
    15671622                        'table_location' => 'th-td',
     
    15701625                        'woo_attr' => true,
    15711626                        'default_value' => false,
    1572                         'key_value_arr' => [ 
     1627                        'key_value_arr' => [
    15731628                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ]
    15741629                        ],
     
    15771632                    ]
    15781633                ],
    1579                 [ 
     1634                [
    15801635                    'opt_name' => 'xfgmc_size_system_default_value',
    15811636                    'def_val' => 'no',
     
    15831638                    'type' => 'select',
    15841639                    'tab' => 'offer_data_tab',
    1585                     'data' => [ 
     1640                    'data' => [
    15861641                        'has_next' => false,
    15871642                        'table_location' => 'td-td',
     
    15901645                        'woo_attr' => false,
    15911646                        'default_value' => true,
    1592                         'key_value_arr' => [ 
     1647                        'key_value_arr' => [
    15931648                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    15941649                            [ 'value' => 'AU', 'text' => 'AU' ],
     
    16081663                    ]
    16091664                ],
    1610                 [ 
     1665                [
    16111666                    'opt_name' => 'xfgmc_item_group_id',
    16121667                    'def_val' => 'enabled',
     
    16141669                    'type' => 'select',
    16151670                    'tab' => 'offer_data_tab',
    1616                     'data' => [ 
     1671                    'data' => [
    16171672                        'label' => __( 'Item group ID', 'xml-for-google-merchant-center' ),
    16181673                        'desc' => __(
     
    16221677                        'woo_attr' => false,
    16231678                        'default_value' => false,
    1624                         'key_value_arr' => [ 
     1679                        'key_value_arr' => [
    16251680                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    16261681                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    16301685                    ]
    16311686                ],
    1632                 [ 
     1687                [
    16331688                    'opt_name' => 'xfgmc_length',
    16341689                    'def_val' => 'woo_shippings',
     
    16361691                    'type' => 'select',
    16371692                    'tab' => 'offer_data_tab',
    1638                     'data' => [ 
     1693                    'data' => [
    16391694                        'label' => __( 'Length', 'xml-for-google-merchant-center' ),
    16401695                        'desc' => sprintf(
     
    16451700                        'woo_attr' => true,
    16461701                        'default_value' => false,
    1647                         'key_value_arr' => [ 
    1648                             [ 
     1702                        'key_value_arr' => [
     1703                            [
    16491704                                'value' => 'woo_shippings',
    16501705                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    16561711                    ]
    16571712                ],
    1658                 [ 
     1713                [
    16591714                    'opt_name' => 'xfgmc_width',
    16601715                    'def_val' => 'woo_shippings',
     
    16621717                    'type' => 'select',
    16631718                    'tab' => 'offer_data_tab',
    1664                     'data' => [ 
     1719                    'data' => [
    16651720                        'label' => __( 'Width', 'xml-for-google-merchant-center' ),
    16661721                        'desc' => sprintf(
     
    16711726                        'woo_attr' => true,
    16721727                        'default_value' => false,
    1673                         'key_value_arr' => [ 
    1674                             [ 
     1728                        'key_value_arr' => [
     1729                            [
    16751730                                'value' => 'woo_shippings',
    16761731                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    16811736                    ]
    16821737                ],
    1683                 [ 
     1738                [
    16841739                    'opt_name' => 'xfgmc_height',
    16851740                    'def_val' => 'woo_shippings',
     
    16871742                    'type' => 'select',
    16881743                    'tab' => 'offer_data_tab',
    1689                     'data' => [ 
     1744                    'data' => [
    16901745                        'label' => __( 'Height', 'xml-for-google-merchant-center' ),
    16911746                        'desc' => sprintf(
     
    16961751                        'woo_attr' => true,
    16971752                        'default_value' => false,
    1698                         'key_value_arr' => [ 
    1699                             [ 
     1753                        'key_value_arr' => [
     1754                            [
    17001755                                'value' => 'woo_shippings',
    17011756                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    17061761                    ]
    17071762                ],
    1708                 [ 
     1763                [
    17091764                    'opt_name' => 'xfgmc_product_weight',
    17101765                    'def_val' => 'woo_shippings',
     
    17121767                    'type' => 'select',
    17131768                    'tab' => 'offer_data_tab',
    1714                     'data' => [ 
     1769                    'data' => [
    17151770                        'label' => __( 'Weight', 'xml-for-google-merchant-center' ),
    17161771                        'desc' => sprintf(
     
    17211776                        'woo_attr' => true,
    17221777                        'default_value' => false,
    1723                         'key_value_arr' => [ 
    1724                             [ 
     1778                        'key_value_arr' => [
     1779                            [
    17251780                                'value' => 'woo_shippings',
    17261781                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    17311786                    ]
    17321787                ],
    1733                 [ 
     1788                [
    17341789                    'opt_name' => 'xfgmc_custom_labels',
    17351790                    'def_val' => 'true',
     
    17371792                    'type' => 'select',
    17381793                    'tab' => 'offer_data_tab',
    1739                     'data' => [ 
     1794                    'data' => [
    17401795                        'label' => __( 'Custom elements', 'xml-for-google-merchant-center' ),
    17411796                        'desc' => sprintf( '%s. %s <a target="_blank" href="%s">%s</a>',
     
    17471802                        'woo_attr' => false,
    17481803                        'default_value' => false,
    1749                         'key_value_arr' => [ 
     1804                        'key_value_arr' => [
    17501805                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    17511806                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    17551810                    ]
    17561811                ],
    1757                 [ 
     1812                [
    17581813                    'opt_name' => 'xfgmc_shipping',
    17591814                    'def_val' => 'disabled',
     
    17611816                    'type' => 'select',
    17621817                    'tab' => 'offer_data_tab',
    1763                     'data' => [ 
     1818                    'data' => [
    17641819                        'label' => __( 'Shipping', 'xml-for-google-merchant-center' ),
    17651820                        'desc' => sprintf( '%1$s. <a href="%2$s" target="_blank">%3$s</a>.<br/>%4$s "country" %5$s "%6$s". <a href="%7$s" target="_blank">%3$s</a>',
     
    17801835                        'woo_attr' => false,
    17811836                        'default_value' => false,
    1782                         'key_value_arr' => [ 
     1837                        'key_value_arr' => [
    17831838                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    17841839                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    17881843                    ]
    17891844                ],
    1790                 [ 
     1845                [
    17911846                    'opt_name' => 'xfgmc_shipping_country',
    17921847                    'def_val' => '',
     
    17941849                    'type' => 'text',
    17951850                    'tab' => 'offer_data_tab',
    1796                     'data' => [ 
     1851                    'data' => [
    17971852                        'label' => __( 'Shipping country', 'xml-for-google-merchant-center' ),
    17981853                        'desc' => '',
     
    18021857                    ]
    18031858                ],
    1804                 [ 
     1859                [
    18051860                    'opt_name' => 'xfgmc_delivery_area_type',
    18061861                    'def_val' => 'region',
     
    18081863                    'type' => 'select',
    18091864                    'tab' => 'offer_data_tab',
    1810                     'data' => [ 
     1865                    'data' => [
    18111866                        'label' => __( 'Delivery area', 'xml-for-google-merchant-center' ),
    18121867                        'desc' => '',
    18131868                        'woo_attr' => false,
    18141869                        'default_value' => false,
    1815                         'key_value_arr' => [ 
     1870                        'key_value_arr' => [
    18161871                            [ 'text' => 'region', 'value' => 'region' ],
    18171872                            [ 'text' => 'postal_code', 'value' => 'postal_code' ],
     
    18231878                    ]
    18241879                ],
    1825                 [ 
     1880                [
    18261881                    'opt_name' => 'xfgmc_delivery_area_value',
    18271882                    'def_val' => '',
     
    18291884                    'type' => 'text',
    18301885                    'tab' => 'offer_data_tab',
    1831                     'data' => [ 
     1886                    'data' => [
    18321887                        'label' => __( 'Delivery area', 'xml-for-google-merchant-center' ),
    18331888                        'desc' => '',
     
    18371892                    ]
    18381893                ],
    1839                 [ 
     1894                [
    18401895                    'opt_name' => 'xfgmc_shipping_price',
    18411896                    'def_val' => '',
     
    18431898                    'type' => 'text',
    18441899                    'tab' => 'offer_data_tab',
    1845                     'data' => [ 
     1900                    'data' => [
    18461901                        'label' => __( 'Shipping price', 'xml-for-google-merchant-center' ),
    18471902                        'desc' => '[g:price]',
     
    18511906                    ]
    18521907                ],
    1853                 [ 
     1908                [
    18541909                    'opt_name' => 'xfgmc_shipping_service',
    18551910                    'def_val' => '',
     
    18571912                    'type' => 'text',
    18581913                    'tab' => 'offer_data_tab',
    1859                     'data' => [ 
     1914                    'data' => [
    18601915                        'label' => __( 'Shipping service', 'xml-for-google-merchant-center' ),
    18611916                        'desc' => '[g:service]',
     
    18651920                    ]
    18661921                ],
    1867                 [ 
     1922                [
    18681923                    'opt_name' => 'xfgmc_shipping_length',
    18691924                    'def_val' => 'woo_shippings',
     
    18711926                    'type' => 'select',
    18721927                    'tab' => 'offer_data_tab',
    1873                     'data' => [ 
     1928                    'data' => [
    18741929                        'label' => __( 'Shipping length', 'xml-for-google-merchant-center' ),
    18751930                        'desc' => sprintf(
     
    18801935                        'woo_attr' => true,
    18811936                        'default_value' => false,
    1882                         'key_value_arr' => [ 
    1883                             [ 
     1937                        'key_value_arr' => [
     1938                            [
    18841939                                'value' => 'woo_shippings',
    18851940                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    18911946                    ]
    18921947                ],
    1893                 [ 
     1948                [
    18941949                    'opt_name' => 'xfgmc_shipping_width',
    18951950                    'def_val' => 'woo_shippings',
     
    18971952                    'type' => 'select',
    18981953                    'tab' => 'offer_data_tab',
    1899                     'data' => [ 
     1954                    'data' => [
    19001955                        'label' => __( 'Shipping width', 'xml-for-google-merchant-center' ),
    19011956                        'desc' => sprintf(
     
    19061961                        'woo_attr' => true,
    19071962                        'default_value' => false,
    1908                         'key_value_arr' => [ 
    1909                             [ 
     1963                        'key_value_arr' => [
     1964                            [
    19101965                                'value' => 'woo_shippings',
    19111966                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    19161971                    ]
    19171972                ],
    1918                 [ 
     1973                [
    19191974                    'opt_name' => 'xfgmc_shipping_height',
    19201975                    'def_val' => 'woo_shippings',
     
    19221977                    'type' => 'select',
    19231978                    'tab' => 'offer_data_tab',
    1924                     'data' => [ 
     1979                    'data' => [
    19251980                        'label' => __( 'Shipping height', 'xml-for-google-merchant-center' ),
    19261981                        'desc' => sprintf(
     
    19311986                        'woo_attr' => true,
    19321987                        'default_value' => false,
    1933                         'key_value_arr' => [ 
    1934                             [ 
     1988                        'key_value_arr' => [
     1989                            [
    19351990                                'value' => 'woo_shippings',
    19361991                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    19411996                    ]
    19421997                ],
    1943                 [ 
     1998                [
    19441999                    'opt_name' => 'xfgmc_shipping_weight',
    19452000                    'def_val' => 'woo_shippings',
     
    19472002                    'type' => 'select',
    19482003                    'tab' => 'offer_data_tab',
    1949                     'data' => [ 
     2004                    'data' => [
    19502005                        'label' => __( 'Shipping weight', 'xml-for-google-merchant-center' ),
    19512006                        'desc' => sprintf(
     
    19562011                        'woo_attr' => true,
    19572012                        'default_value' => false,
    1958                         'key_value_arr' => [ 
    1959                             [ 
     2013                        'key_value_arr' => [
     2014                            [
    19602015                                'value' => 'woo_shippings',
    19612016                                'text' => __( 'Substitute from WooCommerce Shippings tab', 'xml-for-google-merchant-center' )
     
    19662021                    ]
    19672022                ],
    1968                 [ 
     2023                [
    19692024                    'opt_name' => 'xfgmc_tax',
    19702025                    'def_val' => 'disabled',
     
    19722027                    'type' => 'select',
    19732028                    'tab' => 'offer_data_tab',
    1974                     'data' => [ 
     2029                    'data' => [
    19752030                        'label' => __( 'Tax', 'xml-for-google-merchant-center' ),
    19762031                        'desc' => __(
     
    19802035                        'woo_attr' => false,
    19812036                        'default_value' => false,
    1982                         'key_value_arr' => [ 
     2037                        'key_value_arr' => [
    19832038                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    19842039                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    19882043                    ]
    19892044                ],
    1990                 [ 
     2045                [
    19912046                    'opt_name' => 'xfgmc_tax_region',
    19922047                    'def_val' => 'Washington',
     
    19942049                    'type' => 'select',
    19952050                    'tab' => 'offer_data_tab',
    1996                     'data' => [ 
     2051                    'data' => [
    19972052                        'label' => __( 'Region', 'xml-for-google-merchant-center' ),
    19982053                        'desc' => '[g:region]',
    19992054                        'woo_attr' => false,
    20002055                        'default_value' => false,
    2001                         'key_value_arr' => [ 
     2056                        'key_value_arr' => [
    20022057                            [ 'text' => __( 'Idaho', 'xml-for-google-merchant-center' ), 'value' => 'ID' ],
    20032058                            [ 'text' => __( 'Iowa', 'xml-for-google-merchant-center' ), 'value' => 'IA' ],
     
    20552110                    ]
    20562111                ],
    2057                 [ 
     2112                [
    20582113                    'opt_name' => 'xfgmc_tax_rate',
    20592114                    'def_val' => '',
     
    20612116                    'type' => 'text',
    20622117                    'tab' => 'offer_data_tab',
    2063                     'data' => [ 
     2118                    'data' => [
    20642119                        'label' => __( 'Tax rate', 'xml-for-google-merchant-center' ),
    20652120                        'desc' => '[g:rate]',
     
    20692124                    ]
    20702125                ],
    2071                 [ 
     2126                [
    20722127                    'opt_name' => 'xfgmc_sipping_tax',
    20732128                    'def_val' => 'no',
     
    20752130                    'type' => 'select',
    20762131                    'tab' => 'offer_data_tab',
    2077                     'data' => [ 
     2132                    'data' => [
    20782133                        'label' => __( 'Shipping tax', 'xml-for-google-merchant-center' ),
    20792134                        'desc' => '[g:tax_ship]',
    20802135                        'woo_attr' => false,
    20812136                        'default_value' => false,
    2082                         'key_value_arr' => [ 
     2137                        'key_value_arr' => [
    20832138                            [ 'value' => 'no', 'text' => __( 'No', 'xml-for-google-merchant-center' ) ],
    20842139                            [ 'value' => 'yes', 'text' => __( 'Yes', 'xml-for-google-merchant-center' ) ]
     
    20882143                    ]
    20892144                ],
    2090                 [ 
     2145                [
    20912146                    'opt_name' => 'xfgmc_tax_category',
    20922147                    'def_val' => 'disabled',
     
    20942149                    'type' => 'select',
    20952150                    'tab' => 'offer_data_tab',
    2096                     'data' => [ 
     2151                    'data' => [
    20972152                        'label' => __( 'Tax category', 'xml-for-google-merchant-center' ),
    20982153                        'desc' => '',
    20992154                        'woo_attr' => false,
    21002155                        'default_value' => false,
    2101                         'key_value_arr' => [ 
     2156                        'key_value_arr' => [
    21022157                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    21032158                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    21072162                    ]
    21082163                ],
    2109                 [ 
     2164                [
    21102165                    'opt_name' => 'xfgmc_quantity',
    21112166                    'def_val' => 'disabled',
     
    21132168                    'type' => 'select',
    21142169                    'tab' => 'offer_data_tab',
    2115                     'data' => [ 
     2170                    'data' => [
    21162171                        'label' => __( 'Quantity of products', 'xml-for-google-merchant-center' ),
    21172172                        'desc' => __(
     
    21212176                        'woo_attr' => false,
    21222177                        'default_value' => false,
    2123                         'key_value_arr' => [ 
     2178                        'key_value_arr' => [
    21242179                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    21252180                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    21292184                    ]
    21302185                ],
    2131                 [ 
     2186                [
    21322187                    'opt_name' => 'xfgmc_store_code',
    21332188                    'def_val' => 'true',
     
    21352190                    'type' => 'select',
    21362191                    'tab' => 'offer_data_tab',
    2137                     'data' => [ 
     2192                    'data' => [
    21382193                        'label' => __( 'Store code', 'xml-for-google-merchant-center' ),
    21392194                        'desc' => sprintf( '%s. <a href="%s" target="_blank">%s</a>',
     
    21472202                        'woo_attr' => false,
    21482203                        'default_value' => false,
    2149                         'key_value_arr' => [ 
     2204                        'key_value_arr' => [
    21502205                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    21512206                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ],
     
    21552210                    ]
    21562211                ],
    2157                 [ 
     2212                [
    21582213                    'opt_name' => 'xfgmc_store_code_default_value',
    21592214                    'def_val' => '',
     
    21612216                    'type' => 'text',
    21622217                    'tab' => 'offer_data_tab',
    2163                     'data' => [ 
     2218                    'data' => [
    21642219                        'has_next' => false,
    21652220                        'label' => __( 'Default value', 'xml-for-google-merchant-center' ),
     
    21712226                ],
    21722227                // ------------------- ФИЛЬТРАЦИЯ -------------------
    2173                 [ 
     2228                [
    21742229                    'opt_name' => 'xfgmc_whot_export',
    21752230                    'def_val' => 'all',
     
    21772232                    'type' => 'select',
    21782233                    'tab' => 'filtration_tab',
    2179                     'data' => [ 
     2234                    'data' => [
    21802235                        'label' => __( 'Whot export', 'xml-for-google-merchant-center' ),
    21812236                        'desc' => '',
    21822237                        'woo_attr' => false,
    2183                         'key_value_arr' => [ 
    2184                             [ 
     2238                        'key_value_arr' => [
     2239                            [
    21852240                                'value' => 'all',
    21862241                                'text' => __( 'Simple & Variable products', 'xml-for-google-merchant-center' )
    21872242                            ],
    2188                             [ 
     2243                            [
    21892244                                'value' => 'simple',
    21902245                                'text' => __( 'Only simple products', 'xml-for-google-merchant-center' )
    21912246                            ],
    2192                             [ 
     2247                            [
    21932248                                'value' => 'variable',
    21942249                                'text' => __( 'Only variable products', 'xml-for-google-merchant-center' )
     
    21972252                    ]
    21982253                ],
    2199                 [ 
     2254                [
    22002255                    'opt_name' => 'xfgmc_replace_domain',
    22012256                    'def_val' => '',
     
    22032258                    'type' => 'text',
    22042259                    'tab' => 'filtration_tab',
    2205                     'data' => [ 
     2260                    'data' => [
    22062261                        'default_value' => false,
    22072262                        'label' => __( 'Change the domain to', 'xml-for-google-merchant-center' ),
     
    22142269                    ]
    22152270                ],
    2216                 [ 
     2271                [
    22172272                    'opt_name' => 'xfgmc_clear_get',
    22182273                    'def_val' => 'disabled',
     
    22202275                    'type' => 'select',
    22212276                    'tab' => 'filtration_tab',
    2222                     'data' => [ 
     2277                    'data' => [
    22232278                        'label' => __(
    22242279                            'Clear URL from GET-paramrs',
     
    22282283                        'woo_attr' => false,
    22292284                        'default_value' => false,
    2230                         'key_value_arr' => [ 
     2285                        'key_value_arr' => [
    22312286                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    22322287                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    22342289                    ]
    22352290                ],
    2236                 [ 
     2291                [
    22372292                    'opt_name' => 'xfgmc_no_default_png_products',
    22382293                    'def_val' => 'disabled',
     
    22402295                    'type' => 'select',
    22412296                    'tab' => 'filtration_tab',
    2242                     'data' => [ 
     2297                    'data' => [
    22432298                        'label' => __( 'Remove default.png from XML', 'xml-for-google-merchant-center' ),
    22442299                        'desc' => '',
    22452300                        'woo_attr' => false,
    22462301                        'default_value' => false,
    2247                         'key_value_arr' => [ 
     2302                        'key_value_arr' => [
    22482303                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    22492304                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    22512306                    ]
    22522307                ],
    2253                 [ 
     2308                [
    22542309                    'opt_name' => 'xfgmc_del_identical_ids',
    22552310                    'def_val' => 'disabled',
     
    22572312                    'type' => 'select',
    22582313                    'tab' => 'filtration_tab',
    2259                     'data' => [ 
     2314                    'data' => [
    22602315                        'label' => __(
    22612316                            'Take steps to remove products with the same ID from the feed',
     
    22732328                        ),
    22742329                        'woo_attr' => false,
    2275                         'key_value_arr' => [ 
     2330                        'key_value_arr' => [
    22762331                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    22772332                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    22802335                    ]
    22812336                ],
    2282                 [ 
     2337                [
    22832338                    'opt_name' => 'xfgmc_skip_products_without_pic',
    22842339                    'def_val' => 'disabled',
     
    22862341                    'type' => 'select',
    22872342                    'tab' => 'filtration_tab',
    2288                     'data' => [ 
     2343                    'data' => [
    22892344                        'label' => __( 'Skip products without pictures', 'xml-for-google-merchant-center' ),
    22902345                        'desc' => '',
    22912346                        'woo_attr' => false,
    22922347                        'default_value' => false,
    2293                         'key_value_arr' => [ 
     2348                        'key_value_arr' => [
    22942349                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    22952350                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    22982353                    ]
    22992354                ],
    2300                 [ 
     2355                [
    23012356                    'opt_name' => 'xfgmc_skip_products_without_desc',
    23022357                    'def_val' => 'disabled',
     
    23042359                    'type' => 'select',
    23052360                    'tab' => 'filtration_tab',
    2306                     'data' => [ 
     2361                    'data' => [
    23072362                        'label' => __( 'Skip products without description', 'xml-for-google-merchant-center' ),
    23082363                        'desc' => '',
    23092364                        'woo_attr' => false,
    23102365                        'default_value' => false,
    2311                         'key_value_arr' => [ 
     2366                        'key_value_arr' => [
    23122367                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    23132368                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    23152370                    ]
    23162371                ],
    2317                 [ 
     2372                [
    23182373                    'opt_name' => 'xfgmc_skip_missing_products',
    23192374                    'def_val' => 'disabled',
     
    23212376                    'type' => 'select',
    23222377                    'tab' => 'filtration_tab',
    2323                     'data' => [ 
     2378                    'data' => [
    23242379                        'label' => sprintf( '%s (%s)',
    23252380                            __( 'Skip missing products', 'xml-for-google-merchant-center' ),
     
    23292384                        'woo_attr' => false,
    23302385                        'default_value' => false,
    2331                         'key_value_arr' => [ 
     2386                        'key_value_arr' => [
    23322387                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    23332388                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    23352390                    ]
    23362391                ],
    2337                 [ 
     2392                [
    23382393                    'opt_name' => 'xfgmc_skip_backorders_products',
    23392394                    'def_val' => 'disabled',
     
    23412396                    'type' => 'select',
    23422397                    'tab' => 'filtration_tab',
    2343                     'data' => [ 
     2398                    'data' => [
    23442399                        'label' => __( 'Skip backorders products', 'xml-for-google-merchant-center' ),
    23452400                        'desc' => '',
    23462401                        'woo_attr' => false,
    23472402                        'default_value' => false,
    2348                         'key_value_arr' => [ 
     2403                        'key_value_arr' => [
    23492404                            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    23502405                            [ 'value' => 'enabled', 'text' => __( 'Enabled', 'xml-for-google-merchant-center' ) ]
     
    23642419                $array_keys = array_keys( $currencies_arr );
    23652420                for ( $i = 0; $i < count( $array_keys ); $i++ ) {
    2366                     $key_value_arr[] = [ 
     2421                    $key_value_arr[] = [
    23672422                        'value' => $array_keys[ $i ],
    23682423                        'text' => $array_keys[ $i ]
     
    23702425                }
    23712426            }
    2372             $this->data_arr[] = [ 
     2427            $this->data_arr[] = [
    23732428                'opt_name' => 'xfgmc_wooc_currencies',
    23742429                'def_val' => '',
     
    23762431                'type' => 'select',
    23772432                'tab' => 'shop_data_tab',
    2378                 'data' => [ 
     2433                'data' => [
    23792434                    'label' => __( 'Feed currency', 'xml-for-google-merchant-center' ),
    23802435                    'desc' => sprintf( '%s %s. %s.<br/><strong>%s:</strong> %s %s %s',
     
    25742629    private function get_registered_image_sizes() {
    25752630
    2576         $res_arr = [ 
     2631        $res_arr = [
    25772632            [ 'value' => 'disabled', 'text' => __( 'Disabled', 'xml-for-google-merchant-center' ) ],
    25782633            [ 'value' => 'full', 'text' => __( 'Full size (default)', 'xml-for-google-merchant-center' ) ]
     
    25872642                );
    25882643            }
    2589             $cur_size_arr = [ 
     2644            $cur_size_arr = [
    25902645                'value' => $key,
    25912646                'text' => sprintf( '%sx%s%s (%s)', $val['width'], $val['height'], $crop, $key )
  • xml-for-google-merchant-center/trunk/includes/feeds/class-xfgmc-feed-file-meta.php

    r3304660 r3437778  
    11<?php
     2
    23/**
    3  * Get the feed file meta
     4 * Get the feed file meta.
    45 *
    5  * @package                 XML for Google Merchant Center
    6  * @subpackage             
    7  * @since                   4.0.5
     6 * @link       https://icopydoc.ru
     7 * @since      0.1.0
     8 * @version    4.0.10 (12-01-2026)
     9 *
     10 * @package    XFGMC
     11 * @subpackage XFGMC/includes
     12 */
     13
     14/**
     15 * Get the feed file meta.
     16 *
     17 * @package    XFGMC
     18 * @subpackage XFGMC/includes
     19 * @author     Maxim Glazunov <[email protected]>
    820 *
    9  * @version                 4.3.2 (22-04-2024)
    10  * @author                  Maxim Glazunov
    11  * @link                    https://icopydoc.ru/
    12  * @see                     
    13  *
    14  * @param    string|int     $feed_id - Required
    15  *
    16  * @depends                 classes:   
    17  *                          traits:     XFGMC_T_Get_Feed_Id
    18  *                          methods:   
    19  *                          functions:  common_option_get
    20  *                          constants: 
    21  *                          options:   
     21 * @depends    classes:   
     22 *             traits:     XFGMC_T_Get_Feed_Id
     23 *             methods:   
     24 *             functions:  common_option_get
     25 *             constants: 
     26 *             options: 
    2227 */
    23 defined( 'ABSPATH' ) || exit;
    24 
    2528class XFGMC_Feed_File_Meta {
    2629
     
    5558        }
    5659
    57         $feed_name = common_option_get( 'xfgmc_feed_name', false, $this->get_feed_id(), 'xfgmc' );
     60        $feed_name = common_option_get(
     61            'xfgmc_feed_name',
     62            '',
     63            $this->get_feed_id(),
     64            'xfgmc'
     65        );
    5866        if ( empty( $feed_name ) ) {
    5967            $file_feed_name = sprintf( '%1$sfeed-xml-%2$s', $pref_feed, $blog_index );
     
    7583        $file_extension = common_option_get(
    7684            'xfgmc_file_extension',
    77             false,
     85            'xml',
    7886            $this->get_feed_id(),
    7987            'xfgmc'
    8088        );
    81         if ( empty( $file_extension ) ) {
     89        if ( ! in_array( $file_extension, [ 'xml', 'yml', 'csv', 'txt' ] ) ) {
    8290            $file_extension = 'xml';
    8391        }
    8492        return $file_extension;
     93
    8594    }
    8695
     
    96105        $archive_to_zip = common_option_get(
    97106            'xfgmc_archive_to_zip',
    98             false,
     107            'disabled',
    99108            $this->get_feed_id(),
    100109            'xfgmc'
  • xml-for-google-merchant-center/trunk/includes/feeds/traits/simple/trait-xfgmc-t-simple-get-availability-date.php

    r3304660 r3437778  
    66 * @link       https://icopydoc.ru
    77 * @since      0.1.0
    8  * @version    4.0.0 (10-05-2025)
     8 * @version    4.0.10 (12-01-2026)
    99 *
    1010 * @package    XFGMC
     
    4141
    4242        $tag_value = '';
    43         $availability_date = common_option_get(
    44             'xfgmc_availability_date',
     43        $use_availability_date = common_option_get(
     44            'xfgmc_use_availability_date',
    4545            'disabled',
    4646            $this->get_feed_id(),
    4747            'xfgmc'
    4848        );
     49        if ( $use_availability_date === 'disabled' ) {
     50            return $result_xml;
     51        }
    4952
    50         if ( ! empty( $availability_date ) ) {
    51             $tag_value = $availability_date;
     53        if ( $use_availability_date === 'enabled_default_value' ) {
     54            $availability_date = common_option_get(
     55                'xfgmc_availability_date',
     56                '',
     57                $this->get_feed_id(),
     58                'xfgmc'
     59            );
     60            if ( ! empty( $availability_date ) ) {
     61                $tag_value = $availability_date;
     62            }
     63        }
     64
     65        if ( $use_availability_date === 'enabled' ) {
     66            $add_to_availability = (int) common_option_get(
     67                'xfgmc_add_to_availability',
     68                '0',
     69                $this->get_feed_id(),
     70                'xfgmc'
     71            );
     72            // Получаем текущую дату + $add_to_availability дня в объекте DateTime, с учётом часового пояса WordPress
     73            $date = new DateTime( 'now', wp_timezone() );
     74            $date->modify( sprintf( '+%s days', $add_to_availability ) );
     75            // Формируем строку в нужном формате: Y-m-d\TH:iP (без секунд, смещение без разделителя)
     76            $tag_value = $date->format( 'Y-m-d\TH:iP' ); // ISO 8601 $date->format('c')
    5277        }
    5378
  • xml-for-google-merchant-center/trunk/includes/feeds/traits/variable/trait-xfgmc-t-variable-get-availability-date.php

    r3304660 r3437778  
    66 * @link       https://icopydoc.ru
    77 * @since      0.1.0
    8  * @version    4.0.0 (10-05-2025)
     8 * @version    4.0.10 (12-01-2026)
    99 *
    1010 * @package    XFGMC
     
    4242
    4343        $tag_value = '';
    44         $availability_date = common_option_get(
    45             'xfgmc_availability_date',
     44        $use_availability_date = common_option_get(
     45            'xfgmc_use_availability_date',
    4646            'disabled',
    4747            $this->get_feed_id(),
    4848            'xfgmc'
    4949        );
     50        if ( $use_availability_date === 'disabled' ) {
     51            return $result_xml;
     52        }
    5053
    51         if ( ! empty( $availability_date ) ) {
    52             $tag_value = $availability_date;
     54        if ( $use_availability_date === 'enabled_default_value' ) {
     55            $availability_date = common_option_get(
     56                'xfgmc_availability_date',
     57                '',
     58                $this->get_feed_id(),
     59                'xfgmc'
     60            );
     61            if ( ! empty( $availability_date ) ) {
     62                $tag_value = $availability_date;
     63            }
    5364        }
     65
     66        if ( $use_availability_date === 'enabled' ) {
     67            $add_to_availability = (int) common_option_get(
     68                'xfgmc_add_to_availability',
     69                '0',
     70                $this->get_feed_id(),
     71                'xfgmc'
     72            );
     73            // Получаем текущую дату + $add_to_availability дня в объекте DateTime, с учётом часового пояса WordPress
     74            $date = new DateTime( 'now', wp_timezone() );
     75            $date->modify( sprintf( '+%s days', $add_to_availability ) );
     76            // Формируем строку в нужном формате: Y-m-d\TH:iP (без секунд, смещение без разделителя)
     77            $tag_value = $date->format( 'Y-m-d\TH:iP' ); // ISO 8601 $date->format('c')
     78        }
     79
    5480        $tag_value = apply_filters(
    5581            'x4gmc_f_variable_tag_value_availability_date',
    5682            $tag_value,
    57             [ 
     83            [
    5884                'product' => $this->get_product(),
    5985                'offer' => $this->get_offer()
     
    6591                'x4gmc_f_variable_tag_name_availability_date',
    6692                $tag_name,
    67                 [ 
     93                [
    6894                    'product' => $this->get_product(),
    6995                    'offer' => $this->get_offer()
     
    77103            'x4gmc_f_variable_tag_availability_date',
    78104            $result_xml,
    79             [ 
     105            [
    80106                'product' => $this->get_product(),
    81107                'offer' => $this->get_offer()
  • xml-for-google-merchant-center/trunk/languages/xml-for-google-merchant-center-ru_RU.po

    r3426470 r3437778  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2025-12-23 22:51+0300\n"
    5 "PO-Revision-Date: 2025-12-23 22:52+0300\n"
     4"POT-Creation-Date: 2026-01-12 16:41+0300\n"
     5"PO-Revision-Date: 2026-01-12 16:42+0300\n"
    66"Last-Translator: \n"
    77"Language-Team: Maxim Glazunov <[email protected]>\n"
     
    1212"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
    1313"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
    14 "X-Generator: Poedit 3.5\n"
     14"X-Generator: Poedit 3.7\n"
    1515"X-Poedit-Basepath: ..\n"
    1616"X-Poedit-SourceCharset: UTF-8\n"
     
    240240
    241241#: admin/class-xfgmc-admin.php:1177 admin/class-xfgmc-admin.php:1304
    242 #: admin/class-xfgmc-admin.php:1544 includes/class-xfgmc-data.php:950
     242#: admin/class-xfgmc-admin.php:1544 includes/class-xfgmc-data.php:1005
    243243msgid "Google product category"
    244244msgstr "Google категория товара"
     
    259259#: admin/class-xfgmc-admin.php:1314 admin/class-xfgmc-admin.php:1331
    260260#: admin/class-xfgmc-admin.php:1366 admin/class-xfgmc-admin.php:1434
    261 #: includes/class-xfgmc-data.php:874 includes/class-xfgmc-data.php:1771
    262 #: includes/class-xfgmc-data.php:2145
     261#: includes/class-xfgmc-data.php:929 includes/class-xfgmc-data.php:1826
     262#: includes/class-xfgmc-data.php:2200
    263263#: includes/common-libs/class-icpd-promo.php:200
    264264msgid "Read more"
     
    266266
    267267#: admin/class-xfgmc-admin.php:1191 admin/class-xfgmc-admin.php:1322
    268 #: admin/class-xfgmc-admin.php:1555 includes/class-xfgmc-data.php:2097
     268#: admin/class-xfgmc-admin.php:1555 includes/class-xfgmc-data.php:2152
    269269msgid "Tax category"
    270270msgstr "Категория налогообложения"
    271271
    272272#: admin/class-xfgmc-admin.php:1203 admin/class-xfgmc-admin.php:1339
    273 #: includes/class-xfgmc-data.php:1503
     273#: includes/class-xfgmc-data.php:1558
    274274msgid "Size"
    275275msgstr "Размер"
     
    296296
    297297#: admin/class-xfgmc-admin.php:1235 admin/class-xfgmc-admin.php:1381
    298 #: includes/class-xfgmc-data.php:1523
     298#: includes/class-xfgmc-data.php:1578
    299299msgid "Size type"
    300300msgstr "Тип размера"
     
    330330msgstr "Подробнее на Google"
    331331
    332 #: admin/class-xfgmc-admin.php:1566 includes/class-xfgmc-data.php:1180
    333 #: includes/class-xfgmc-data.php:1181
     332#: admin/class-xfgmc-admin.php:1566 includes/class-xfgmc-data.php:1235
     333#: includes/class-xfgmc-data.php:1236
    334334msgid "Identifier exists"
    335335msgstr "Имеет идентификатор"
     
    345345#: includes/class-xfgmc-data.php:677 includes/class-xfgmc-data.php:702
    346346#: includes/class-xfgmc-data.php:723 includes/class-xfgmc-data.php:747
    347 #: includes/class-xfgmc-data.php:787 includes/class-xfgmc-data.php:856
    348 #: includes/class-xfgmc-data.php:899 includes/class-xfgmc-data.php:917
    349 #: includes/class-xfgmc-data.php:936 includes/class-xfgmc-data.php:955
    350 #: includes/class-xfgmc-data.php:976 includes/class-xfgmc-data.php:1015
    351 #: includes/class-xfgmc-data.php:1073 includes/class-xfgmc-data.php:1130
    352 #: includes/class-xfgmc-data.php:1185 includes/class-xfgmc-data.php:1209
    353 #: includes/class-xfgmc-data.php:1230 includes/class-xfgmc-data.php:1251
    354 #: includes/class-xfgmc-data.php:1272 includes/class-xfgmc-data.php:1292
    355 #: includes/class-xfgmc-data.php:1311 includes/class-xfgmc-data.php:1332
    356 #: includes/class-xfgmc-data.php:1356 includes/class-xfgmc-data.php:1410
    357 #: includes/class-xfgmc-data.php:1430 includes/class-xfgmc-data.php:1450
    358 #: includes/class-xfgmc-data.php:1471 includes/class-xfgmc-data.php:1490
    359 #: includes/class-xfgmc-data.php:1508 includes/class-xfgmc-data.php:1528
    360 #: includes/class-xfgmc-data.php:1548 includes/class-xfgmc-data.php:1573
    361 #: includes/class-xfgmc-data.php:1593 includes/class-xfgmc-data.php:1625
    362 #: includes/class-xfgmc-data.php:1750 includes/class-xfgmc-data.php:1783
    363 #: includes/class-xfgmc-data.php:1983 includes/class-xfgmc-data.php:2102
    364 #: includes/class-xfgmc-data.php:2124 includes/class-xfgmc-data.php:2150
    365 #: includes/class-xfgmc-data.php:2231 includes/class-xfgmc-data.php:2248
    366 #: includes/class-xfgmc-data.php:2276 includes/class-xfgmc-data.php:2294
    367 #: includes/class-xfgmc-data.php:2312 includes/class-xfgmc-data.php:2332
    368 #: includes/class-xfgmc-data.php:2349 includes/class-xfgmc-data.php:2577
     347#: includes/class-xfgmc-data.php:787 includes/class-xfgmc-data.php:841
     348#: includes/class-xfgmc-data.php:911 includes/class-xfgmc-data.php:954
     349#: includes/class-xfgmc-data.php:972 includes/class-xfgmc-data.php:991
     350#: includes/class-xfgmc-data.php:1010 includes/class-xfgmc-data.php:1031
     351#: includes/class-xfgmc-data.php:1070 includes/class-xfgmc-data.php:1128
     352#: includes/class-xfgmc-data.php:1185 includes/class-xfgmc-data.php:1240
     353#: includes/class-xfgmc-data.php:1264 includes/class-xfgmc-data.php:1285
     354#: includes/class-xfgmc-data.php:1306 includes/class-xfgmc-data.php:1327
     355#: includes/class-xfgmc-data.php:1347 includes/class-xfgmc-data.php:1366
     356#: includes/class-xfgmc-data.php:1387 includes/class-xfgmc-data.php:1411
     357#: includes/class-xfgmc-data.php:1465 includes/class-xfgmc-data.php:1485
     358#: includes/class-xfgmc-data.php:1505 includes/class-xfgmc-data.php:1526
     359#: includes/class-xfgmc-data.php:1545 includes/class-xfgmc-data.php:1563
     360#: includes/class-xfgmc-data.php:1583 includes/class-xfgmc-data.php:1603
     361#: includes/class-xfgmc-data.php:1628 includes/class-xfgmc-data.php:1648
     362#: includes/class-xfgmc-data.php:1680 includes/class-xfgmc-data.php:1805
     363#: includes/class-xfgmc-data.php:1838 includes/class-xfgmc-data.php:2038
     364#: includes/class-xfgmc-data.php:2157 includes/class-xfgmc-data.php:2179
     365#: includes/class-xfgmc-data.php:2205 includes/class-xfgmc-data.php:2286
     366#: includes/class-xfgmc-data.php:2303 includes/class-xfgmc-data.php:2331
     367#: includes/class-xfgmc-data.php:2349 includes/class-xfgmc-data.php:2367
     368#: includes/class-xfgmc-data.php:2387 includes/class-xfgmc-data.php:2404
     369#: includes/class-xfgmc-data.php:2632
    369370msgid "Disabled"
    370371msgstr "Отключено"
    371372
    372373#: admin/class-xfgmc-admin.php:1571 admin/class-xfgmc-admin.php:1590
    373 #: admin/class-xfgmc-admin.php:1629 includes/class-xfgmc-data.php:1074
    374 #: includes/class-xfgmc-data.php:1131 includes/class-xfgmc-data.php:2083
     374#: admin/class-xfgmc-admin.php:1629 includes/class-xfgmc-data.php:1129
     375#: includes/class-xfgmc-data.php:1186 includes/class-xfgmc-data.php:2138
    375376msgid "No"
    376377msgstr "Нет"
    377378
    378379#: admin/class-xfgmc-admin.php:1572 admin/class-xfgmc-admin.php:1591
    379 #: admin/class-xfgmc-admin.php:1630 includes/class-xfgmc-data.php:2084
     380#: admin/class-xfgmc-admin.php:1630 includes/class-xfgmc-data.php:2139
    380381msgid "Yes"
    381382msgstr "Да"
    382383
    383 #: admin/class-xfgmc-admin.php:1585 includes/class-xfgmc-data.php:1246
     384#: admin/class-xfgmc-admin.php:1585 includes/class-xfgmc-data.php:1301
    384385msgid "Adult"
    385386msgstr "Для взрослых"
     
    389390msgstr "Состояние товара"
    390391
    391 #: admin/class-xfgmc-admin.php:1609 includes/class-xfgmc-data.php:1231
     392#: admin/class-xfgmc-admin.php:1609 includes/class-xfgmc-data.php:1286
    392393msgid "New"
    393394msgstr "Новый"
    394395
    395 #: admin/class-xfgmc-admin.php:1610 includes/class-xfgmc-data.php:1232
     396#: admin/class-xfgmc-admin.php:1610 includes/class-xfgmc-data.php:1287
    396397msgid "Refurbished"
    397398msgstr "Восстановленный"
    398399
    399 #: admin/class-xfgmc-admin.php:1611 includes/class-xfgmc-data.php:1233
     400#: admin/class-xfgmc-admin.php:1611 includes/class-xfgmc-data.php:1288
    400401msgid "Used"
    401402msgstr "Подержанный"
     
    405406msgstr "Набор"
    406407
    407 #: admin/class-xfgmc-admin.php:1643 includes/class-xfgmc-data.php:1287
     408#: admin/class-xfgmc-admin.php:1643 includes/class-xfgmc-data.php:1342
    408409msgid "Multipack"
    409410msgstr "Мультиупаковка"
     
    450451
    451452#: admin/class-xfgmc-admin.php:1797 admin/class-xfgmc-admin.php:1909
    452 #: includes/class-xfgmc-data.php:650 includes/class-xfgmc-data.php:873
     453#: includes/class-xfgmc-data.php:650 includes/class-xfgmc-data.php:928
    453454msgid "For example"
    454455msgstr "Например"
     
    520521#: includes/class-xfgmc-data.php:703 includes/class-xfgmc-data.php:724
    521522#: includes/class-xfgmc-data.php:748 includes/class-xfgmc-data.php:788
    522 #: includes/class-xfgmc-data.php:857 includes/class-xfgmc-data.php:898
    523 #: includes/class-xfgmc-data.php:918 includes/class-xfgmc-data.php:937
    524 #: includes/class-xfgmc-data.php:956 includes/class-xfgmc-data.php:977
    525 #: includes/class-xfgmc-data.php:1186 includes/class-xfgmc-data.php:1210
    526 #: includes/class-xfgmc-data.php:1252 includes/class-xfgmc-data.php:1293
    527 #: includes/class-xfgmc-data.php:1312 includes/class-xfgmc-data.php:1472
    528 #: includes/class-xfgmc-data.php:1626 includes/class-xfgmc-data.php:1751
    529 #: includes/class-xfgmc-data.php:1784 includes/class-xfgmc-data.php:1984
    530 #: includes/class-xfgmc-data.php:2103 includes/class-xfgmc-data.php:2125
    531 #: includes/class-xfgmc-data.php:2151 includes/class-xfgmc-data.php:2232
    532 #: includes/class-xfgmc-data.php:2249 includes/class-xfgmc-data.php:2277
    533 #: includes/class-xfgmc-data.php:2295 includes/class-xfgmc-data.php:2313
    534 #: includes/class-xfgmc-data.php:2333 includes/class-xfgmc-data.php:2350
     523#: includes/class-xfgmc-data.php:845 includes/class-xfgmc-data.php:852
     524#: includes/class-xfgmc-data.php:912 includes/class-xfgmc-data.php:953
     525#: includes/class-xfgmc-data.php:973 includes/class-xfgmc-data.php:992
     526#: includes/class-xfgmc-data.php:1011 includes/class-xfgmc-data.php:1032
     527#: includes/class-xfgmc-data.php:1241 includes/class-xfgmc-data.php:1265
     528#: includes/class-xfgmc-data.php:1307 includes/class-xfgmc-data.php:1348
     529#: includes/class-xfgmc-data.php:1367 includes/class-xfgmc-data.php:1527
     530#: includes/class-xfgmc-data.php:1681 includes/class-xfgmc-data.php:1806
     531#: includes/class-xfgmc-data.php:1839 includes/class-xfgmc-data.php:2039
     532#: includes/class-xfgmc-data.php:2158 includes/class-xfgmc-data.php:2180
     533#: includes/class-xfgmc-data.php:2206 includes/class-xfgmc-data.php:2287
     534#: includes/class-xfgmc-data.php:2304 includes/class-xfgmc-data.php:2332
     535#: includes/class-xfgmc-data.php:2350 includes/class-xfgmc-data.php:2368
     536#: includes/class-xfgmc-data.php:2388 includes/class-xfgmc-data.php:2405
    535537msgid "Enabled"
    536538msgstr "Включено"
     
    976978
    977979#: includes/class-xfgmc-data.php:360 includes/class-xfgmc-data.php:390
    978 #: includes/class-xfgmc-data.php:1029 includes/class-xfgmc-data.php:1047
    979 #: includes/class-xfgmc-data.php:1052 includes/class-xfgmc-data.php:1225
    980 #: includes/class-xfgmc-data.php:1267 includes/class-xfgmc-data.php:1327
    981 #: includes/class-xfgmc-data.php:1366 includes/class-xfgmc-data.php:1384
    982 #: includes/class-xfgmc-data.php:1391 includes/class-xfgmc-data.php:1445
    983 #: includes/class-xfgmc-data.php:1543 includes/class-xfgmc-data.php:1588
    984 #: includes/class-xfgmc-data.php:2165 includes/class-xfgmc-data.php:2167
     980#: includes/class-xfgmc-data.php:889 includes/class-xfgmc-data.php:1084
     981#: includes/class-xfgmc-data.php:1102 includes/class-xfgmc-data.php:1107
     982#: includes/class-xfgmc-data.php:1280 includes/class-xfgmc-data.php:1322
     983#: includes/class-xfgmc-data.php:1382 includes/class-xfgmc-data.php:1421
     984#: includes/class-xfgmc-data.php:1439 includes/class-xfgmc-data.php:1446
     985#: includes/class-xfgmc-data.php:1500 includes/class-xfgmc-data.php:1598
     986#: includes/class-xfgmc-data.php:1643 includes/class-xfgmc-data.php:2220
     987#: includes/class-xfgmc-data.php:2222
    985988msgid "Default value"
    986989msgstr "Значение по умолчанию"
     
    10641067msgstr "ID товара / ID вариации"
    10651068
    1066 #: includes/class-xfgmc-data.php:506 includes/class-xfgmc-data.php:1075
    1067 #: includes/class-xfgmc-data.php:1132
     1069#: includes/class-xfgmc-data.php:506 includes/class-xfgmc-data.php:1130
     1070#: includes/class-xfgmc-data.php:1187
    10681071msgid "Substitute from SKU"
    10691072msgstr "Подставлять из Артикул"
    10701073
    10711074#: includes/class-xfgmc-data.php:507 includes/class-xfgmc-data.php:593
    1072 #: includes/class-xfgmc-data.php:1023 includes/class-xfgmc-data.php:1076
    1073 #: includes/class-xfgmc-data.php:1133 includes/class-xfgmc-data.php:1360
     1075#: includes/class-xfgmc-data.php:1078 includes/class-xfgmc-data.php:1131
     1076#: includes/class-xfgmc-data.php:1188 includes/class-xfgmc-data.php:1415
    10741077msgid "Substitute from post meta"
    10751078msgstr "Подставлять из метаполя"
     
    10811084#: includes/class-xfgmc-data.php:526 includes/class-xfgmc-data.php:528
    10821085#: includes/class-xfgmc-data.php:610 includes/class-xfgmc-data.php:612
    1083 #: includes/class-xfgmc-data.php:1048 includes/class-xfgmc-data.php:1053
    1084 #: includes/class-xfgmc-data.php:1109 includes/class-xfgmc-data.php:1111
    1085 #: includes/class-xfgmc-data.php:1166 includes/class-xfgmc-data.php:1168
    1086 #: includes/class-xfgmc-data.php:1385 includes/class-xfgmc-data.php:1392
     1086#: includes/class-xfgmc-data.php:1103 includes/class-xfgmc-data.php:1108
     1087#: includes/class-xfgmc-data.php:1164 includes/class-xfgmc-data.php:1166
     1088#: includes/class-xfgmc-data.php:1221 includes/class-xfgmc-data.php:1223
     1089#: includes/class-xfgmc-data.php:1440 includes/class-xfgmc-data.php:1447
    10871090msgid "Name post_meta"
    10881091msgstr "Имя метаполя"
     
    11681171msgstr "Укажите размер изображения, которое будет использоваться в фиде"
    11691172
    1170 #: includes/class-xfgmc-data.php:779 includes/class-xfgmc-data.php:2116
     1173#: includes/class-xfgmc-data.php:779 includes/class-xfgmc-data.php:2171
    11711174msgid "Quantity of products"
    11721175msgstr "Количество товаров"
    11731176
    1174 #: includes/class-xfgmc-data.php:781 includes/class-xfgmc-data.php:2118
     1177#: includes/class-xfgmc-data.php:781 includes/class-xfgmc-data.php:2173
    11751178msgid ""
    11761179"To make it work you must enable \"Manage stock\" and indicate \"Stock "
     
    11841187msgstr "Для товаров на предзаказ установить доступность, равную"
    11851188
    1186 #: includes/class-xfgmc-data.php:831
     1189#: includes/class-xfgmc-data.php:830
    11871190msgid "Availability date"
    11881191msgstr "Дата поступления в продажу"
    11891192
    1190 #: includes/class-xfgmc-data.php:835
     1193#: includes/class-xfgmc-data.php:834
    11911194msgid "This parameter applies only to products whose status is equal to"
    11921195msgstr "Этот параметр применяется только к продуктам, статус которых равен"
    11931196
    1194 #: includes/class-xfgmc-data.php:851
     1197#: includes/class-xfgmc-data.php:846
     1198msgid "Use the current date"
     1199msgstr "Использовать текущую дату"
     1200
     1201#: includes/class-xfgmc-data.php:853
     1202msgid "Use the default value"
     1203msgstr "Использовать значение по умолчанию"
     1204
     1205#: includes/class-xfgmc-data.php:870
     1206msgid "Add days to the current date"
     1207msgstr "Добавить дни к текущей дате"
     1208
     1209#: includes/class-xfgmc-data.php:872
     1210msgid "This option will add the number of days you specified to today's date"
     1211msgstr "Эта опция добавит указанное вами количество дней к сегодняшней дате"
     1212
     1213#: includes/class-xfgmc-data.php:891
     1214msgid "Date, time, and timezone, ISO 8601 compliant"
     1215msgstr "Дата, время и часовой пояс в соответствии со стандартом ISO 8601"
     1216
     1217#: includes/class-xfgmc-data.php:906
    11951218msgid "Product price"
    11961219msgstr "Цена товара"
    11971220
    1198 #: includes/class-xfgmc-data.php:870 includes/class-xfgmc-data.php:880
     1221#: includes/class-xfgmc-data.php:925 includes/class-xfgmc-data.php:935
    11991222msgid "Shop currency"
    12001223msgstr "Валюта магазина"
    12011224
    1202 #: includes/class-xfgmc-data.php:872
     1225#: includes/class-xfgmc-data.php:927
    12031226msgid "Uppercase letter"
    12041227msgstr "Заглавными буквами"
    12051228
    1206 #: includes/class-xfgmc-data.php:890
     1229#: includes/class-xfgmc-data.php:945
    12071230msgid "Sale price"
    12081231msgstr "Старая цена"
    12091232
    1210 #: includes/class-xfgmc-data.php:892
     1233#: includes/class-xfgmc-data.php:947
    12111234msgid ""
    12121235"In sale price indicates the old price of the goods, which must necessarily "
     
    12161239"выше новой цены (price)"
    12171240
    1218 #: includes/class-xfgmc-data.php:912 includes/class-xfgmc-data.php:913
    1219 #: includes/class-xfgmc-data.php:931 includes/class-xfgmc-data.php:932
     1241#: includes/class-xfgmc-data.php:967 includes/class-xfgmc-data.php:968
     1242#: includes/class-xfgmc-data.php:986 includes/class-xfgmc-data.php:987
    12201243msgid "Shop SKU"
    12211244msgstr "Артикул магазина"
    12221245
    1223 #: includes/class-xfgmc-data.php:971 includes/class-xfgmc-data.php:972
     1246#: includes/class-xfgmc-data.php:1026 includes/class-xfgmc-data.php:1027
    12241247msgid "Google product type"
    12251248msgstr "Google тип товара"
    12261249
    1227 #: includes/class-xfgmc-data.php:992
     1250#: includes/class-xfgmc-data.php:1047
    12281251msgid "Add root element"
    12291252msgstr "Добавить корневой элемент"
    12301253
    1231 #: includes/class-xfgmc-data.php:994
     1254#: includes/class-xfgmc-data.php:1049
    12321255msgid "Main"
    12331256msgstr "Главная"
    12341257
    1235 #: includes/class-xfgmc-data.php:1008 includes/class-xfgmc-data.php:1009
     1258#: includes/class-xfgmc-data.php:1063 includes/class-xfgmc-data.php:1064
    12361259msgid "Brand"
    12371260msgstr "Брэнд"
    12381261
    1239 #: includes/class-xfgmc-data.php:1019
     1262#: includes/class-xfgmc-data.php:1074
    12401263msgid "WooCommerce brands"
    12411264msgstr "Бренды WooCommerce"
    12421265
    1243 #: includes/class-xfgmc-data.php:1028 includes/class-xfgmc-data.php:1365
     1266#: includes/class-xfgmc-data.php:1083 includes/class-xfgmc-data.php:1420
    12441267msgid "Default value from field"
    12451268msgstr "Значение из поля"
    12461269
    1247 #: includes/class-xfgmc-data.php:1068
     1270#: includes/class-xfgmc-data.php:1123
    12481271msgid "GTIN"
    12491272msgstr "Штрихкод"
    12501273
    1251 #: includes/class-xfgmc-data.php:1080 includes/class-xfgmc-data.php:1086
    1252 #: includes/class-xfgmc-data.php:1092 includes/class-xfgmc-data.php:1137
    1253 #: includes/class-xfgmc-data.php:1143 includes/class-xfgmc-data.php:1149
     1274#: includes/class-xfgmc-data.php:1135 includes/class-xfgmc-data.php:1141
     1275#: includes/class-xfgmc-data.php:1147 includes/class-xfgmc-data.php:1192
     1276#: includes/class-xfgmc-data.php:1198 includes/class-xfgmc-data.php:1204
    12541277msgid "Substitute from the plugin"
    12551278msgstr "Замена из плагина"
    12561279
    1257 #: includes/class-xfgmc-data.php:1125
     1280#: includes/class-xfgmc-data.php:1180
    12581281msgid "MPN"
    12591282msgstr "MPN"
    12601283
    1261 #: includes/class-xfgmc-data.php:1201
     1284#: includes/class-xfgmc-data.php:1256
    12621285msgid "Condition"
    12631286msgstr "Состояние товара"
    12641287
    1265 #: includes/class-xfgmc-data.php:1203
     1288#: includes/class-xfgmc-data.php:1258
    12661289msgid "The default value, unless otherwise specified in the product settings"
    12671290msgstr "Значение по умолчанию, если иное не указано в настройках товара"
    12681291
    1269 #: includes/class-xfgmc-data.php:1273 includes/class-xfgmc-data.php:1274
    1270 #: includes/class-xfgmc-data.php:1333 includes/class-xfgmc-data.php:1334
     1292#: includes/class-xfgmc-data.php:1328 includes/class-xfgmc-data.php:1329
     1293#: includes/class-xfgmc-data.php:1388 includes/class-xfgmc-data.php:1389
    12711294msgid "Add to all"
    12721295msgstr "Добавить всем"
    12731296
    1274 #: includes/class-xfgmc-data.php:1306
     1297#: includes/class-xfgmc-data.php:1361
    12751298msgid "Is bundle"
    12761299msgstr "Набор"
    12771300
    1278 #: includes/class-xfgmc-data.php:1349 includes/class-xfgmc-data.php:1350
     1301#: includes/class-xfgmc-data.php:1404 includes/class-xfgmc-data.php:1405
    12791302msgid "Age group"
    12801303msgstr "Возрастная группа"
    12811304
    1282 #: includes/class-xfgmc-data.php:1388
     1305#: includes/class-xfgmc-data.php:1443
    12831306msgid "Acceptable values"
    12841307msgstr "Допустимые значения"
    12851308
    1286 #: includes/class-xfgmc-data.php:1405
     1309#: includes/class-xfgmc-data.php:1460
    12871310msgid "Color"
    12881311msgstr "Цвет"
    12891312
    1290 #: includes/class-xfgmc-data.php:1425
     1313#: includes/class-xfgmc-data.php:1480
    12911314msgid "Gender"
    12921315msgstr "Пол"
    12931316
    1294 #: includes/class-xfgmc-data.php:1466
     1317#: includes/class-xfgmc-data.php:1521
    12951318msgid "Material"
    12961319msgstr "Материал"
    12971320
    1298 #: includes/class-xfgmc-data.php:1485
     1321#: includes/class-xfgmc-data.php:1540
    12991322msgid "Pattern"
    13001323msgstr "Узор"
    13011324
    1302 #: includes/class-xfgmc-data.php:1568
     1325#: includes/class-xfgmc-data.php:1623
    13031326msgid "Size system"
    13041327msgstr "Система размеров"
    13051328
    1306 #: includes/class-xfgmc-data.php:1617
     1329#: includes/class-xfgmc-data.php:1672
    13071330msgid "Item group ID"
    13081331msgstr "ID группы товаров"
    13091332
    1310 #: includes/class-xfgmc-data.php:1619
     1333#: includes/class-xfgmc-data.php:1674
    13111334msgid ""
    13121335"Use the item group ID attribute to group product variants in your product "
     
    13161339"товара"
    13171340
    1318 #: includes/class-xfgmc-data.php:1639 includes/class-xfgmc-data.php:1642
    1319 #: includes/class-xfgmc-data.php:1877
     1341#: includes/class-xfgmc-data.php:1694 includes/class-xfgmc-data.php:1697
     1342#: includes/class-xfgmc-data.php:1932
    13201343msgid "Length"
    13211344msgstr "Длина"
    13221345
    1323 #: includes/class-xfgmc-data.php:1650 includes/class-xfgmc-data.php:1676
    1324 #: includes/class-xfgmc-data.php:1701 includes/class-xfgmc-data.php:1726
    1325 #: includes/class-xfgmc-data.php:1885 includes/class-xfgmc-data.php:1911
    1326 #: includes/class-xfgmc-data.php:1936 includes/class-xfgmc-data.php:1961
     1346#: includes/class-xfgmc-data.php:1705 includes/class-xfgmc-data.php:1731
     1347#: includes/class-xfgmc-data.php:1756 includes/class-xfgmc-data.php:1781
     1348#: includes/class-xfgmc-data.php:1940 includes/class-xfgmc-data.php:1966
     1349#: includes/class-xfgmc-data.php:1991 includes/class-xfgmc-data.php:2016
    13271350msgid "Substitute from WooCommerce Shippings tab"
    13281351msgstr "Подставлять из WooCommerce вкладки Доставка"
    13291352
    1330 #: includes/class-xfgmc-data.php:1655
     1353#: includes/class-xfgmc-data.php:1710
    13311354msgid "Dimensions"
    13321355msgstr "Размеры"
    13331356
    1334 #: includes/class-xfgmc-data.php:1665 includes/class-xfgmc-data.php:1668
    1335 #: includes/class-xfgmc-data.php:1903
     1357#: includes/class-xfgmc-data.php:1720 includes/class-xfgmc-data.php:1723
     1358#: includes/class-xfgmc-data.php:1958
    13361359msgid "Width"
    13371360msgstr "Ширина"
    13381361
    1339 #: includes/class-xfgmc-data.php:1690 includes/class-xfgmc-data.php:1693
    1340 #: includes/class-xfgmc-data.php:1928
     1362#: includes/class-xfgmc-data.php:1745 includes/class-xfgmc-data.php:1748
     1363#: includes/class-xfgmc-data.php:1983
    13411364msgid "Height"
    13421365msgstr "Высота"
    13431366
    1344 #: includes/class-xfgmc-data.php:1715 includes/class-xfgmc-data.php:1718
    1345 #: includes/class-xfgmc-data.php:1953
     1367#: includes/class-xfgmc-data.php:1770 includes/class-xfgmc-data.php:1773
     1368#: includes/class-xfgmc-data.php:2008
    13461369msgid "Weight"
    13471370msgstr "Вес"
    13481371
    1349 #: includes/class-xfgmc-data.php:1740
     1372#: includes/class-xfgmc-data.php:1795
    13501373msgid "Custom elements"
    13511374msgstr "Кастомные элементы"
    13521375
    1353 #: includes/class-xfgmc-data.php:1742
     1376#: includes/class-xfgmc-data.php:1797
    13541377msgid "To set a value, edit your products"
    13551378msgstr "Чтобы задать значение, отредактируйте свои товары"
    13561379
    1357 #: includes/class-xfgmc-data.php:1743
     1380#: includes/class-xfgmc-data.php:1798
    13581381msgid "About this tag"
    13591382msgstr "Об этом теге"
    13601383
    1361 #: includes/class-xfgmc-data.php:1745
     1384#: includes/class-xfgmc-data.php:1800
    13621385msgid "see the Yandex help"
    13631386msgstr "см. справку Яндекса"
    13641387
    1365 #: includes/class-xfgmc-data.php:1764
     1388#: includes/class-xfgmc-data.php:1819
    13661389msgid "Shipping"
    13671390msgstr "Доставка"
    13681391
    1369 #: includes/class-xfgmc-data.php:1767
     1392#: includes/class-xfgmc-data.php:1822
    13701393msgid ""
    13711394"Google recommend that you set up shipping costs through Merchant Center "
     
    13751398"Center, а не указывать атрибут доставки в фиде"
    13761399
    1377 #: includes/class-xfgmc-data.php:1773
     1400#: includes/class-xfgmc-data.php:1828
    13781401msgid "To add this element to your feed make sure the fields are filled"
    13791402msgstr "Чтобы добавить этот элемент в свой фид, убедитесь, что заполнены"
    13801403
    1381 #: includes/class-xfgmc-data.php:1776
     1404#: includes/class-xfgmc-data.php:1831
    13821405msgid "and"
    13831406msgstr "и"
    13841407
    1385 #: includes/class-xfgmc-data.php:1777 includes/class-xfgmc-data.php:1811
    1386 #: includes/class-xfgmc-data.php:1832
     1408#: includes/class-xfgmc-data.php:1832 includes/class-xfgmc-data.php:1866
     1409#: includes/class-xfgmc-data.php:1887
    13871410msgid "Delivery area"
    13881411msgstr "Зона доставки"
    13891412
    1390 #: includes/class-xfgmc-data.php:1797
     1413#: includes/class-xfgmc-data.php:1852
    13911414msgid "Shipping country"
    13921415msgstr "Страна доставки"
    13931416
    1394 #: includes/class-xfgmc-data.php:1846
     1417#: includes/class-xfgmc-data.php:1901
    13951418msgid "Shipping price"
    13961419msgstr "Стоимость доставки"
    13971420
    1398 #: includes/class-xfgmc-data.php:1860
     1421#: includes/class-xfgmc-data.php:1915
    13991422msgid "Shipping service"
    14001423msgstr "Служба доставки"
    14011424
    1402 #: includes/class-xfgmc-data.php:1874
     1425#: includes/class-xfgmc-data.php:1929
    14031426msgid "Shipping length"
    14041427msgstr "Длина транспортной упаковки"
    14051428
    1406 #: includes/class-xfgmc-data.php:1890
     1429#: includes/class-xfgmc-data.php:1945
    14071430msgid "Shipping dimensions"
    14081431msgstr "Габаритные размеры при транспортировке"
    14091432
    1410 #: includes/class-xfgmc-data.php:1900
     1433#: includes/class-xfgmc-data.php:1955
    14111434msgid "Shipping width"
    14121435msgstr "Ширина транспортной упаковки"
    14131436
    1414 #: includes/class-xfgmc-data.php:1925
     1437#: includes/class-xfgmc-data.php:1980
    14151438msgid "Shipping height"
    14161439msgstr "Высота транспортной упаковки"
    14171440
    1418 #: includes/class-xfgmc-data.php:1950
     1441#: includes/class-xfgmc-data.php:2005
    14191442msgid "Shipping weight"
    14201443msgstr "Вес брутто"
    14211444
    1422 #: includes/class-xfgmc-data.php:1975
     1445#: includes/class-xfgmc-data.php:2030
    14231446msgid "Tax"
    14241447msgstr "Налог"
    14251448
    1426 #: includes/class-xfgmc-data.php:1977
     1449#: includes/class-xfgmc-data.php:2032
    14271450msgid ""
    14281451"Required for the United States when you need to override the account tax "
     
    14371460"импорт"
    14381461
    1439 #: includes/class-xfgmc-data.php:1997
     1462#: includes/class-xfgmc-data.php:2052
    14401463msgid "Region"
    14411464msgstr "Регион"
    14421465
    1443 #: includes/class-xfgmc-data.php:2002
     1466#: includes/class-xfgmc-data.php:2057
    14441467msgid "Idaho"
    14451468msgstr "Айдахо"
    14461469
    1447 #: includes/class-xfgmc-data.php:2003
     1470#: includes/class-xfgmc-data.php:2058
    14481471msgid "Iowa"
    14491472msgstr "Айова"
    14501473
    1451 #: includes/class-xfgmc-data.php:2004
     1474#: includes/class-xfgmc-data.php:2059
    14521475msgid "Alabama"
    14531476msgstr "Алабама"
    14541477
    1455 #: includes/class-xfgmc-data.php:2005
     1478#: includes/class-xfgmc-data.php:2060
    14561479msgid "Alaska"
    14571480msgstr "Аляска"
    14581481
    1459 #: includes/class-xfgmc-data.php:2006
     1482#: includes/class-xfgmc-data.php:2061
    14601483msgid "Arizona"
    14611484msgstr "Аризона"
    14621485
    1463 #: includes/class-xfgmc-data.php:2007
     1486#: includes/class-xfgmc-data.php:2062
    14641487msgid "Arkansas"
    14651488msgstr "Арканзас"
    14661489
    1467 #: includes/class-xfgmc-data.php:2008
     1490#: includes/class-xfgmc-data.php:2063
    14681491msgid "Wyoming"
    14691492msgstr "Вайоминг"
    14701493
    1471 #: includes/class-xfgmc-data.php:2009
     1494#: includes/class-xfgmc-data.php:2064
    14721495msgid "Washington"
    14731496msgstr "Вашингтон"
    14741497
    1475 #: includes/class-xfgmc-data.php:2010
     1498#: includes/class-xfgmc-data.php:2065
    14761499msgid "Vermont"
    14771500msgstr "Вермонт"
    14781501
    1479 #: includes/class-xfgmc-data.php:2011
     1502#: includes/class-xfgmc-data.php:2066
    14801503msgid "Virginia"
    14811504msgstr "Вирджиния"
    14821505
    1483 #: includes/class-xfgmc-data.php:2012
     1506#: includes/class-xfgmc-data.php:2067
    14841507msgid "Wisconsin"
    14851508msgstr "Висконсин"
    14861509
    1487 #: includes/class-xfgmc-data.php:2013
     1510#: includes/class-xfgmc-data.php:2068
    14881511msgid "Hawai"
    14891512msgstr "Гавайи"
    14901513
    1491 #: includes/class-xfgmc-data.php:2014
     1514#: includes/class-xfgmc-data.php:2069
    14921515msgid "Delaware"
    14931516msgstr "Делавэр"
    14941517
    1495 #: includes/class-xfgmc-data.php:2015
     1518#: includes/class-xfgmc-data.php:2070
    14961519msgid "Georgia"
    14971520msgstr "Джорджия"
    14981521
    1499 #: includes/class-xfgmc-data.php:2016
     1522#: includes/class-xfgmc-data.php:2071
    15001523msgid "West Virginia"
    15011524msgstr "Западная Вирджиния"
    15021525
    1503 #: includes/class-xfgmc-data.php:2017
     1526#: includes/class-xfgmc-data.php:2072
    15041527msgid "Illinois"
    15051528msgstr "Иллинойс"
    15061529
    1507 #: includes/class-xfgmc-data.php:2018
     1530#: includes/class-xfgmc-data.php:2073
    15081531msgid "Indiana"
    15091532msgstr "Индиана"
    15101533
    1511 #: includes/class-xfgmc-data.php:2019
     1534#: includes/class-xfgmc-data.php:2074
    15121535msgid "California"
    15131536msgstr "Калифорния"
    15141537
    1515 #: includes/class-xfgmc-data.php:2020
     1538#: includes/class-xfgmc-data.php:2075
    15161539msgid "Kansas"
    15171540msgstr "Канзас"
    15181541
    1519 #: includes/class-xfgmc-data.php:2021
     1542#: includes/class-xfgmc-data.php:2076
    15201543msgid "Kentucky"
    15211544msgstr "Кентукки"
    15221545
    1523 #: includes/class-xfgmc-data.php:2022
     1546#: includes/class-xfgmc-data.php:2077
    15241547msgid "Colorado"
    15251548msgstr "Колорадо"
    15261549
    1527 #: includes/class-xfgmc-data.php:2023
     1550#: includes/class-xfgmc-data.php:2078
    15281551msgid "Connecticut"
    15291552msgstr "Коннектикут"
    15301553
    1531 #: includes/class-xfgmc-data.php:2024
     1554#: includes/class-xfgmc-data.php:2079
    15321555msgid "Louisiana"
    15331556msgstr "Луизиана"
    15341557
    1535 #: includes/class-xfgmc-data.php:2025
     1558#: includes/class-xfgmc-data.php:2080
    15361559msgid "Massachusetts"
    15371560msgstr "Массачусетс"
    15381561
    1539 #: includes/class-xfgmc-data.php:2026
     1562#: includes/class-xfgmc-data.php:2081
    15401563msgid "Minnesota"
    15411564msgstr "Миннесота"
    15421565
    1543 #: includes/class-xfgmc-data.php:2027
     1566#: includes/class-xfgmc-data.php:2082
    15441567msgid "Mississippi"
    15451568msgstr "Миссисипи"
    15461569
    1547 #: includes/class-xfgmc-data.php:2028
     1570#: includes/class-xfgmc-data.php:2083
    15481571msgid "Missouri"
    15491572msgstr "Миссури"
    15501573
    1551 #: includes/class-xfgmc-data.php:2029
     1574#: includes/class-xfgmc-data.php:2084
    15521575msgid "Michigan"
    15531576msgstr "Мичиган"
    15541577
    1555 #: includes/class-xfgmc-data.php:2030
     1578#: includes/class-xfgmc-data.php:2085
    15561579msgid "Montana"
    15571580msgstr "Монтана"
    15581581
    1559 #: includes/class-xfgmc-data.php:2031
     1582#: includes/class-xfgmc-data.php:2086
    15601583msgid "Maine"
    15611584msgstr "Мэн"
    15621585
    1563 #: includes/class-xfgmc-data.php:2032
     1586#: includes/class-xfgmc-data.php:2087
    15641587msgid "Maryland"
    15651588msgstr "Мэриленд"
    15661589
    1567 #: includes/class-xfgmc-data.php:2033
     1590#: includes/class-xfgmc-data.php:2088
    15681591msgid "Nebraska"
    15691592msgstr "Небраска"
    15701593
    1571 #: includes/class-xfgmc-data.php:2034
     1594#: includes/class-xfgmc-data.php:2089
    15721595msgid "Nevada"
    15731596msgstr "Невада"
    15741597
    1575 #: includes/class-xfgmc-data.php:2035
     1598#: includes/class-xfgmc-data.php:2090
    15761599msgid "New Hampshire"
    15771600msgstr "Нью-Гэмпшир"
    15781601
    1579 #: includes/class-xfgmc-data.php:2036
     1602#: includes/class-xfgmc-data.php:2091
    15801603msgid "New Jersey"
    15811604msgstr "Нью-Джерси"
    15821605
    1583 #: includes/class-xfgmc-data.php:2037
     1606#: includes/class-xfgmc-data.php:2092
    15841607msgid "New York"
    15851608msgstr "Нью-Йорк"
    15861609
    1587 #: includes/class-xfgmc-data.php:2038
     1610#: includes/class-xfgmc-data.php:2093
    15881611msgid "New Mexico"
    15891612msgstr "Нью-Мексико"
    15901613
    1591 #: includes/class-xfgmc-data.php:2039
     1614#: includes/class-xfgmc-data.php:2094
    15921615msgid "Ohio"
    15931616msgstr "Огайо"
    15941617
    1595 #: includes/class-xfgmc-data.php:2040
     1618#: includes/class-xfgmc-data.php:2095
    15961619msgid "Oklahoma"
    15971620msgstr "Оклахома"
    15981621
    1599 #: includes/class-xfgmc-data.php:2041
     1622#: includes/class-xfgmc-data.php:2096
    16001623msgid "Oregon"
    16011624msgstr "Орегон"
    16021625
    1603 #: includes/class-xfgmc-data.php:2042
     1626#: includes/class-xfgmc-data.php:2097
    16041627msgid "Pennsylvania"
    16051628msgstr "Пенсильвания"
    16061629
    1607 #: includes/class-xfgmc-data.php:2043
     1630#: includes/class-xfgmc-data.php:2098
    16081631msgid "Rhode Island"
    16091632msgstr "Род-Айленд"
    16101633
    1611 #: includes/class-xfgmc-data.php:2044
     1634#: includes/class-xfgmc-data.php:2099
    16121635msgid "North Dakota"
    16131636msgstr "Северная Дакота"
    16141637
    1615 #: includes/class-xfgmc-data.php:2045
     1638#: includes/class-xfgmc-data.php:2100
    16161639msgid "North Carolina"
    16171640msgstr "Северная Каролина"
    16181641
    1619 #: includes/class-xfgmc-data.php:2046
     1642#: includes/class-xfgmc-data.php:2101
    16201643msgid "Tennessee"
    16211644msgstr "Теннесси"
    16221645
    1623 #: includes/class-xfgmc-data.php:2047
     1646#: includes/class-xfgmc-data.php:2102
    16241647msgid "Texas"
    16251648msgstr "Техас"
    16261649
    1627 #: includes/class-xfgmc-data.php:2048
     1650#: includes/class-xfgmc-data.php:2103
    16281651msgid "Florida"
    16291652msgstr "Флорида"
    16301653
    1631 #: includes/class-xfgmc-data.php:2049
     1654#: includes/class-xfgmc-data.php:2104
    16321655msgid "South Dakota"
    16331656msgstr "Южная Дакота"
    16341657
    1635 #: includes/class-xfgmc-data.php:2050
     1658#: includes/class-xfgmc-data.php:2105
    16361659msgid "South Carolina"
    16371660msgstr "Южная Каролина"
    16381661
    1639 #: includes/class-xfgmc-data.php:2051
     1662#: includes/class-xfgmc-data.php:2106
    16401663msgid "Utah"
    16411664msgstr "Юта"
    16421665
    1643 #: includes/class-xfgmc-data.php:2064
     1666#: includes/class-xfgmc-data.php:2119
    16441667msgid "Tax rate"
    16451668msgstr "Налоговая ставка"
    16461669
    1647 #: includes/class-xfgmc-data.php:2078
     1670#: includes/class-xfgmc-data.php:2133
    16481671msgid "Shipping tax"
    16491672msgstr "Налог на доставку"
    16501673
    1651 #: includes/class-xfgmc-data.php:2138
     1674#: includes/class-xfgmc-data.php:2193
    16521675msgid "Store code"
    16531676msgstr "Код магазина"
    16541677
    1655 #: includes/class-xfgmc-data.php:2141
     1678#: includes/class-xfgmc-data.php:2196
    16561679msgid ""
    16571680"Required for products in local inventory ads, free local listings, and "
     
    16611684"ассортимента, бесплатных местных предложениях и рекламе автомобилей"
    16621685
    1663 #: includes/class-xfgmc-data.php:2180
     1686#: includes/class-xfgmc-data.php:2235
    16641687msgid "Whot export"
    16651688msgstr "Что экспортировать"
    16661689
    1667 #: includes/class-xfgmc-data.php:2186
     1690#: includes/class-xfgmc-data.php:2241
    16681691msgid "Simple & Variable products"
    16691692msgstr "Вариативные и обычные товары"
    16701693
    1671 #: includes/class-xfgmc-data.php:2190
     1694#: includes/class-xfgmc-data.php:2245
    16721695msgid "Only simple products"
    16731696msgstr "Только обычные товары"
    16741697
    1675 #: includes/class-xfgmc-data.php:2194
     1698#: includes/class-xfgmc-data.php:2249
    16761699msgid "Only variable products"
    16771700msgstr "Только вариативные товары"
    16781701
    1679 #: includes/class-xfgmc-data.php:2207
     1702#: includes/class-xfgmc-data.php:2262
    16801703msgid "Change the domain to"
    16811704msgstr "Изменить домен на"
    16821705
    1683 #: includes/class-xfgmc-data.php:2209
     1706#: includes/class-xfgmc-data.php:2264
    16841707msgid ""
    16851708"The option allows you to change the domain of your site in the feed to any "
     
    16871710msgstr "Опция позволяет изменить домен вашего сайта в фиде на любой другой"
    16881711
    1689 #: includes/class-xfgmc-data.php:2224
     1712#: includes/class-xfgmc-data.php:2279
    16901713msgid "Clear URL from GET-paramrs"
    16911714msgstr "Очистить URL от GET-параметров"
    16921715
    1693 #: includes/class-xfgmc-data.php:2243
     1716#: includes/class-xfgmc-data.php:2298
    16941717msgid "Remove default.png from XML"
    16951718msgstr "Удалить default.png из XML"
    16961719
    1697 #: includes/class-xfgmc-data.php:2261
     1720#: includes/class-xfgmc-data.php:2316
    16981721msgid "Take steps to remove products with the same ID from the feed"
    16991722msgstr "Примите меры по удалению товаров с одинаковым ID из фида"
    17001723
    1701 #: includes/class-xfgmc-data.php:2266
     1724#: includes/class-xfgmc-data.php:2321
    17021725msgid "This is an experimental feature"
    17031726msgstr "Это экспериментальная функция"
    17041727
    1705 #: includes/class-xfgmc-data.php:2270
     1728#: includes/class-xfgmc-data.php:2325
    17061729msgid ""
    17071730"It should only be used if you have an error related to the presence of "
     
    17111734"связанная с наличием товаров с одинаковым ID в фиде"
    17121735
    1713 #: includes/class-xfgmc-data.php:2289
     1736#: includes/class-xfgmc-data.php:2344
    17141737msgid "Skip products without pictures"
    17151738msgstr "Пропустить товары без картинок"
    17161739
    1717 #: includes/class-xfgmc-data.php:2307
     1740#: includes/class-xfgmc-data.php:2362
    17181741msgid "Skip products without description"
    17191742msgstr "Пропустить товары без описания"
    17201743
    1721 #: includes/class-xfgmc-data.php:2325
     1744#: includes/class-xfgmc-data.php:2380
    17221745#: includes/feeds/traits/common/trait-xfgmc-t-common-skips.php:146
    17231746#: includes/feeds/traits/common/trait-xfgmc-t-common-skips.php:194
     
    17251748msgstr "Исключать товары которых нет в наличии"
    17261749
    1727 #: includes/class-xfgmc-data.php:2326
     1750#: includes/class-xfgmc-data.php:2381
    17281751msgid "except for products for which a pre-order is permitted"
    17291752msgstr "за исключением товаров, для которых разрешен предварительный заказ"
    17301753
    1731 #: includes/class-xfgmc-data.php:2344
     1754#: includes/class-xfgmc-data.php:2399
    17321755#: includes/feeds/traits/common/trait-xfgmc-t-common-skips.php:168
    17331756#: includes/feeds/traits/common/trait-xfgmc-t-common-skips.php:178
     
    17361759msgstr "Исключать из фида товары для предзаказа"
    17371760
    1738 #: includes/class-xfgmc-data.php:2379
     1761#: includes/class-xfgmc-data.php:2434
    17391762msgid "Feed currency"
    17401763msgstr "Валюта фида"
    17411764
    1742 #: includes/class-xfgmc-data.php:2381
     1765#: includes/class-xfgmc-data.php:2436
    17431766msgid "You have plugin installed"
    17441767msgstr "У вас установлен плагин"
    17451768
    1746 #: includes/class-xfgmc-data.php:2383
     1769#: includes/class-xfgmc-data.php:2438
    17471770msgid "Indicate in what currency the prices should be"
    17481771msgstr "Укажите, в какой валюте должны быть цены"
    17491772
    1750 #: includes/class-xfgmc-data.php:2384
     1773#: includes/class-xfgmc-data.php:2439
    17511774msgid "Please note"
    17521775msgstr "Обратите внимание"
    17531776
    1754 #: includes/class-xfgmc-data.php:2385
     1777#: includes/class-xfgmc-data.php:2440
    17551778msgid "Google Merchant Center only supports the following currencies"
    17561779msgstr "Google Merchant Center поддерживает только следующие валюты"
    17571780
    1758 #: includes/class-xfgmc-data.php:2387
     1781#: includes/class-xfgmc-data.php:2442
    17591782msgid "Choosing a different currency can lead to errors"
    17601783msgstr "Выбор другой валюты может привести к ошибкам"
    17611784
    1762 #: includes/class-xfgmc-data.php:2578
     1785#: includes/class-xfgmc-data.php:2633
    17631786msgid "Full size (default)"
    17641787msgstr "Полный размер (по умолчанию)"
    17651788
    1766 #: includes/class-xfgmc-data.php:2586
     1789#: includes/class-xfgmc-data.php:2641
    17671790msgid "сrop thumbnail to exact dimensions"
    17681791msgstr "обрезать миниатюру точно по размерам"
     
    27642787#~ msgstr "Этот элемент используется при создании YML-фида для Яндекс Доставки"
    27652788
    2766 #~ msgid "Enable. No default value"
    2767 #~ msgstr "Включить. Без значений по умолчанию"
    2768 
    27692789#~ msgid "This element is used when creating an YML feed for Yandex Direct"
    27702790#~ msgstr "Этот элемент используется при создании YML-фида для Яндекс Директ"
  • xml-for-google-merchant-center/trunk/readme.txt

    r3426470 r3437778  
    55Requires at least: 5.0
    66Tested up to: 6.9
    7 Stable tag: 4.0.9
     7Stable tag: 4.0.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949== Changelog ==
     50
     51= 4.0.10 =
     52*Release Date 12-01-2026*
     53
     54* Fixed a security bug.
     55* Improved the mechanism for generating the tag `g:availability_date`.
    5056
    5157= 4.0.9 =
     
    113119== Upgrade Notice ==
    114120
    115 = 4.0.9 =
    116 *Release Date 23-12-2025*
     121= 4.0.10 =
     122*Release Date 12-01-2026*
    117123
    118 * Improved the mechanism for generating tags `g:price` and `g:sale_price'.
    119 * Updated plugin libraries.
     124* Fixed a security bug.
     125* Improved the mechanism for generating the tag `g:availability_date`.
  • xml-for-google-merchant-center/trunk/xml-for-google-merchant-center.php

    r3426470 r3437778  
    1818 * Plugin URI:              https://wordpress.org/plugins/xml-for-google-merchant-center/
    1919 * Description:             Creates a XML feed that allows merchants to easily display their products across Google’s network.
    20  * Version:                 4.0.9
     20 * Version:                 4.0.10
    2121 * Requires at least:       5.9
    2222 * Requires PHP:            7.4.0
     
    483483     * Rename this for your plugin and update it as you release new versions.
    484484     */
    485     define( 'XFGMC_PLUGIN_VERSION', '4.0.9' );
     485    define( 'XFGMC_PLUGIN_VERSION', '4.0.10' );
    486486
    487487    $upload_dir = wp_get_upload_dir();
     
    574574        $xfgmc_v = get_option( 'xfgmc_version', '0.1.0' );
    575575    }
    576     if ( version_compare( $xfgmc_v, '4.0.9', '<' ) ) {
     576    if ( version_compare( $xfgmc_v, '4.0.10', '<' ) ) {
    577577        xfgmc_plugin_database_upd( $xfgmc_v );
    578578    }
Note: See TracChangeset for help on using the changeset viewer.