Plugin Directory

Changeset 3441645


Ignore:
Timestamp:
01/17/2026 04:55:17 PM (2 months ago)
Author:
europarcelcom
Message:

Release 1.0.7 - Performance fix: Eliminated unnecessary API requests on cart and checkout pages

Location:
europarcel-com
Files:
20 edited
18 copied

Legend:

Unmodified
Added
Removed
  • europarcel-com/tags/1.0.7/README.txt

    r3408287 r3441645  
    33Tags: woocommerce, shipping, europarcel, courier, romania
    44Requires at least: 5.0
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7777== Changelog ==
    7878
     79= 1.0.7 =
     80* Performance fix: Eliminated unnecessary API requests on cart and checkout pages
     81
    7982= 1.0.6 =
    8083* Fixed locker selection bug where wrong locker was saved to order meta
     
    101104== Upgrade Notice ==
    102105
     106= 1.0.7 =
     107Performance fix: Eliminated unnecessary API requests on cart and checkout pages.
     108
    103109= 1.0.6 =
    104110Fixed locker selection bug where wrong locker was saved to order meta.
  • europarcel-com/tags/1.0.7/assets/css/europarcel-admin.css

    r3408287 r3441645  
    66 *
    77 * @package    Europarcel
    8  * @since      1.0.6
     8 * @since      1.0.7
    99 */
    1010
  • europarcel-com/tags/1.0.7/assets/js/europarcel-admin.js

    r3408287 r3441645  
    66 *
    77 * @package    Europarcel
    8  * @since      1.0.6
     8 * @since      1.0.7
    99 */
    1010
  • europarcel-com/tags/1.0.7/assets/js/europarcel-locker-selector.js

    r3408287 r3441645  
    77 *
    88 * @package    Europarcel
    9  * @since      1.0.6
     9 * @since      1.0.7
    1010 */
    1111
  • europarcel-com/tags/1.0.7/assets/js/europarcel-modal.js

    r3408287 r3441645  
    77 * @package    Europarcel
    88 * @subpackage Assets/JavaScript
    9  * @since      1.0.6
     9 * @since      1.0.7
    1010 */
    1111
     
    1616     * EuroParcel Modal object
    1717     *
    18      * @since 1.0.6
     18     * @since 1.0.7
    1919     */
    2020    window.EuroparcelModal = {
     
    2626         * Handles both desktop and mobile responsive display.
    2727         *
    28          * @since 1.0.6
     28         * @since 1.0.7
    2929         * @param {string} iframeUrl - The URL to load in the iframe
    3030         */
     
    9292         * Configures click handlers, escape key handler, and other modal interactions.
    9393         *
    94          * @since 1.0.6
     94         * @since 1.0.7
    9595         * @param {HTMLElement} modal - The modal element
    9696         * @param {boolean} isMobile - Whether the device is mobile
     
    141141         * Cleans up event listeners to prevent memory leaks.
    142142         *
    143          * @since 1.0.6
     143         * @since 1.0.7
    144144         */
    145145        close: function() {
  • europarcel-com/tags/1.0.7/europarcel-com.php

    r3408287 r3441645  
    99 *
    1010 * @link              https://eawb.ro
    11  * @since             1.0.6
     11 * @since             1.0.7
    1212 * @package           Europarcel
    1313 *
     
    1515 * Plugin Name:       EuroParcel Integration for WooCommerce
    1616 * Description:       Connect your WooCommerce store with eAWB shipping platform
    17  * Version:           1.0.6
     17 * Version:           1.0.7
    1818 * Author:            EuroParcel
    1919 * Author URI:        https://eawb.ro/
     
    3131}
    3232
    33 /**
    34  * Currently plugin version.
    35  * Start at version 1.0.6 and use SemVer - https://semver.org
    36  * Rename this for your plugin and update it as you release new versions.
    37  */
    38 define('EUROPARCELCOM_WC_VERSION', '1.0.6');
     33define('EUROPARCELCOM_WC_VERSION', '1.0.7');
    3934
    4035/**
     
    7065 * Declare compatibility with WooCommerce High-Performance Order Storage (HPOS)
    7166 *
    72  * @since    1.0.6
     67 * @since    1.0.7
    7368 */
    7469add_action('before_woocommerce_init', function() {
     
    8176 * Initialize the shipping method
    8277 *
    83  * @since    1.0.6
     78 * @since    1.0.7
    8479 */
    8580add_action('woocommerce_shipping_init', 'europarcelcom_wc_shipping_init');
     
    8883 * Load the shipping method class
    8984 *
    90  * @since    1.0.6
     85 * @since    1.0.7
    9186 */
    9287function europarcelcom_wc_shipping_init() {
     
    10095 * Register the shipping method with WooCommerce
    10196 *
    102  * @since    1.0.6
     97 * @since    1.0.7
    10398 * @param    array    $methods    Existing shipping methods
    10499 * @return   array                Updated shipping methods
     
    112107 * Enqueue admin styles and scripts
    113108 *
    114  * @since    1.0.6
     109 * @since    1.0.7
    115110 */
    116111add_action('admin_enqueue_scripts', function () {
    117112    $current_screen = get_current_screen();
    118113    if (is_admin() && $current_screen && strpos($current_screen->id, 'woocommerce_page_wc-settings') !== false) {
    119         wp_enqueue_style('europarcel-admin', plugins_url('assets/css/europarcel-admin.css', __FILE__), array(), '1.0.6');
    120         wp_enqueue_script('europarcel-admin', plugins_url('assets/js/europarcel-admin.js', __FILE__), array('jquery', 'select2'), '1.0.6', true);
     114        wp_enqueue_style('europarcel-admin', plugins_url('assets/css/europarcel-admin.css', __FILE__), array(), '1.0.7');
     115        wp_enqueue_script('europarcel-admin', plugins_url('assets/js/europarcel-admin.js', __FILE__), array('jquery', 'select2'), '1.0.7', true);
    121116    }
    122117});
     
    125120 * Initialize the main plugin class
    126121 *
    127  * @since    1.0.6
     122 * @since    1.0.7
    128123 */
    129124function europarcelcom_wc_plugin_run() {
     
    138133 * Add plugin row meta links (Documentation, Video Tutorial)
    139134 *
    140  * @since    1.0.6
     135 * @since    1.0.7
    141136 * @param    array     $links    Existing meta links
    142137 * @param    string    $file     Plugin file path
  • europarcel-com/tags/1.0.7/includes/class-europarcel-activator.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://europarcel.com
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2020 * This class defines all code necessary to run during the plugin's activation.
    2121 *
    22  * @since      1.0.6
     22 * @since      1.0.7
    2323 * @package    Europarcel
    2424 * @subpackage Europarcel/includes
     
    3232     * Handles any setup tasks required when the plugin is activated.
    3333     *
    34      * @since    1.0.6
     34     * @since    1.0.7
    3535     */
    3636    public static function activate() {
    3737        // Store plugin version
    3838        if (!get_option('EUROPARCELCOM_WC_VERSION')) {
    39             add_option('EUROPARCELCOM_WC_VERSION', '1.0.6');
     39            add_option('EUROPARCELCOM_WC_VERSION', '1.0.7');
    4040        }
    4141       
  • europarcel-com/tags/1.0.7/includes/class-europarcel-checkout.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2828 * for locker selection and shipping updates.
    2929 *
    30  * @since      1.0.6
     30 * @since      1.0.7
    3131 * @package    Europarcel
    3232 * @subpackage Europarcel/includes
     
    3838     * Whether the current checkout is blocks-based
    3939     *
    40      * @since    1.0.6
     40     * @since    1.0.7
    4141     * @access   private
    4242     * @var      bool    $is_blocks_checkout    True if blocks checkout detected
     
    5050     * via smart_init method to detect checkout type first.
    5151     *
    52      * @since    1.0.6
     52     * @since    1.0.7
    5353     */
    5454    public function __construct() {
     
    6262     * or Blocks-based and initializes the appropriate functionality.
    6363     *
    64      * @since    1.0.6
     64     * @since    1.0.7
    6565     */
    6666    public function smart_init() {
     
    8383     * Enqueues scripts and localizes data for WooCommerce Blocks checkout.
    8484     *
    85      * @since    1.0.6
     85     * @since    1.0.7
    8686     */
    8787    private function init_blocks_checkout() {
     
    9696     * Enqueues scripts and localizes data for WooCommerce Classic checkout.
    9797     *
    98      * @since    1.0.6
     98     * @since    1.0.7
    9999     */
    100100    private function init_classic_checkout() {
     
    110110     * and checkout type information for JavaScript usage.
    111111     *
    112      * @since    1.0.6
     112     * @since    1.0.7
    113113     */
    114114    private function localize_script_data() {
     
    191191     * Validates nonce and returns carrier data via JSON response.
    192192     *
    193      * @since    1.0.6
     193     * @since    1.0.7
    194194     */
    195195    public function wp_ajax_europarcelcomwc_get_locker_carriers() {
     
    221221     * Validates nonce and sanitizes all input data.
    222222     *
    223      * @since    1.0.6
     223     * @since    1.0.7
    224224     */
    225225    public function wp_ajax_europarcelcomwc_update_locker_shipping() {
     
    276276     * the locker selection button in classic checkout when applicable.
    277277     *
    278      * @since    1.0.6
     278     * @since    1.0.7
    279279     */
    280280    public function classic_checkout_button() {
  • europarcel-com/tags/1.0.7/includes/class-europarcel-constants.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2727 * shipping services for both admin configuration and API requests.
    2828 *
    29  * @since      1.0.6
     29 * @since      1.0.7
    3030 * @package    Europarcel
    3131 * @subpackage Europarcel/includes
     
    4141     * All strings are internationalized for translation support.
    4242     *
    43      * @since    1.0.6
     43     * @since    1.0.7
    4444     * @return   array    Array of service keys and their translated display names
    4545     */
     
    6969     * - 2: Locker delivery (home to locker)
    7070     *
    71      * @since    1.0.6
     71     * @since    1.0.7
    7272     * @param    array|string    $services    Array of service keys to convert (or string for backward compatibility)
    7373     * @return   array    Array of carrier configuration arrays
  • europarcel-com/tags/1.0.7/includes/class-europarcel-customer.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    3131 * and carrier service availability.
    3232 *
    33  * @since      1.0.6
     33 * @since      1.0.7
    3434 * @package    Europarcel
    3535 * @subpackage Europarcel/includes
     
    4141     * The WooCommerce shipping instance ID
    4242     *
    43      * @since    1.0.6
     43     * @since    1.0.7
    4444     * @access   private
    4545     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    5050     * The shipping method settings
    5151     *
    52      * @since    1.0.6
     52     * @since    1.0.7
    5353     * @access   public
    5454     * @var      array    $settings    WooCommerce shipping method settings
     
    6262     * configuration and loads the associated settings.
    6363     *
    64      * @since    1.0.6
     64     * @since    1.0.7
    6565     * @param    int    $instance_id    WooCommerce shipping method instance ID
    6666     */
     
    7676     * the EuroParcel API including name, contact details, and account status.
    7777     *
    78      * @since    1.0.6
     78     * @since    1.0.7
    7979     * @return   array|null    Customer account data or null on failure
    8080     */
     
    100100     * EuroParcel account for use in shipping calculations.
    101101     *
    102      * @since    1.0.6
     102     * @since    1.0.7
    103103     * @return   array    Array of billing addresses with ID as key and formatted address as value
    104104     */
     
    138138     * EuroParcel account for use as pickup locations.
    139139     *
    140      * @since    1.0.6
     140     * @since    1.0.7
    141141     * @return   array    Array of pickup addresses with ID as key and formatted address as value
    142142     */
     
    177177     * and destination address.
    178178     *
    179      * @since    1.0.6
     179     * @since    1.0.7
    180180     * @param    array    $package        WooCommerce package data with destination details
    181181     * @param    bool     $allow_locker   Whether to include locker delivery options
     
    262262     * Used with usort() to arrange services from lowest to highest cost.
    263263     *
    264      * @since    1.0.6
     264     * @since    1.0.7
    265265     * @param    array    $first_service     First service for comparison
    266266     * @param    array    $second_service    Second service for comparison
     
    280280     * based on the configured available services.
    281281     *
    282      * @since    1.0.6
     282     * @since    1.0.7
    283283     * @return   array    Array of carrier IDs that support locker delivery
    284284     */
     
    316316     * based on the configured available services.
    317317     *
    318      * @since    1.0.6
     318     * @since    1.0.7
    319319     * @return   array|false    Array of carrier IDs that support standard delivery or false if none available
    320320     */
  • europarcel-com/tags/1.0.7/includes/class-europarcel-deactivator.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://europarcel.com
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2020 * This class defines all code necessary to run during the plugin's deactivation.
    2121 *
    22  * @since      1.0.6
     22 * @since      1.0.7
    2323 * @package    Europarcel
    2424 * @subpackage Europarcel/includes
     
    3232     * Handles any cleanup tasks required when the plugin is deactivated.
    3333     *
    34      * @since    1.0.6
     34     * @since    1.0.7
    3535     */
    3636    public static function deactivate() {
  • europarcel-com/tags/1.0.7/includes/class-europarcel-http-request.php

    r3408287 r3441645  
    88 *
    99 * @link       https://eawb.ro
    10  * @since      1.0.6
     10 * @since      1.0.7
    1111 *
    1212 * @package    Europarcel
     
    2626 * for both GET and POST requests with proper error handling.
    2727 *
    28  * @since      1.0.6
     28 * @since      1.0.7
    2929 * @package    Europarcel
    3030 * @subpackage Europarcel/includes
     
    3636     * The shipping method instance ID
    3737     *
    38      * @since    1.0.6
     38     * @since    1.0.7
    3939     * @access   private
    4040     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    4848     * shipping method settings and API key.
    4949     *
    50      * @since    1.0.6
     50     * @since    1.0.7
    5151     * @param    int    $instance_id    WooCommerce shipping method instance ID
    5252     */
     
    6060     * query parameters and handles the response.
    6161     *
    62      * @since    1.0.6
     62     * @since    1.0.7
    6363     * @param    string    $function    API endpoint function name
    6464     * @param    array     $data        Optional query parameters
     
    8989     * the provided data and handles the response.
    9090     *
    91      * @since    1.0.6
     91     * @since    1.0.7
    9292     * @param    string    $function    API endpoint function name
    9393     * @param    array     $data        POST data to send
     
    115115     * Throws exceptions for various error conditions.
    116116     *
    117      * @since    1.0.6
     117     * @since    1.0.7
    118118     * @param    array|WP_Error    $response    WordPress HTTP API response
    119119     * @return   array             Decoded JSON response
     
    155155     * the headers required for EuroParcel API authentication.
    156156     *
    157      * @since    1.0.6
     157     * @since    1.0.7
    158158     * @return   array    HTTP headers array with API key
    159159     */
  • europarcel-com/tags/1.0.7/includes/class-europarcel-main.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2626 * both classic and blocks checkout types.
    2727 *
    28  * @since      1.0.6
     28 * @since      1.0.7
    2929 * @package    Europarcel
    3030 * @subpackage Europarcel/includes
     
    3636     * The plugin name
    3737     *
    38      * @since    1.0.6
     38     * @since    1.0.7
    3939     * @access   protected
    4040     * @var      string    $plugin_name    The plugin identifier name
     
    4545     * The plugin version
    4646     *
    47      * @since    1.0.6
     47     * @since    1.0.7
    4848     * @access   protected
    4949     * @var      string    $version    The current plugin version
     
    5454     * The checkout handler instance
    5555     *
    56      * @since    1.0.6
     56     * @since    1.0.7
    5757     * @access   protected
    5858     * @var      EuroparcelCheckout    $checkout_handler    Handles checkout functionality
     
    6666     * and defines WooCommerce hooks for checkout functionality.
    6767     *
    68      * @since    1.0.6
     68     * @since    1.0.7
    6969     */
    7070    public function __construct() {
     
    7272            $this->version = EUROPARCELCOM_WC_VERSION;
    7373        } else {
    74             $this->version = '1.0.6';
     74            $this->version = '1.0.7';
    7575        }
    7676        $this->plugin_name = 'europarcel-com';
     
    8686     * managing checkout functionality and locker selection.
    8787     *
    88      * @since    1.0.6
     88     * @since    1.0.7
    8989     */
    9090    private function load_dependencies() {
     
    9999     * WordPress hooks for AJAX functionality and checkout integration.
    100100     *
    101      * @since    1.0.6
     101     * @since    1.0.7
    102102     */
    103103    private function define_woocommerce_hooks() {
     
    123123     * so this method is available for future use if needed.
    124124     *
    125      * @since    1.0.6
     125     * @since    1.0.7
    126126     */
    127127    public function run() {
     
    132132     * Get the plugin name
    133133     *
    134      * @since     1.0.6
     134     * @since     1.0.7
    135135     * @return    string    The plugin name
    136136     */
     
    142142     * Get the plugin version
    143143     *
    144      * @since     1.0.6
     144     * @since     1.0.7
    145145     * @return    string    The plugin version number
    146146     */
  • europarcel-com/tags/1.0.7/includes/class-europarcel-request-data.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2929 * based on WooCommerce shipping instance configuration.
    3030 *
    31  * @since      1.0.6
     31 * @since      1.0.7
    3232 * @package    Europarcel
    3333 * @subpackage Europarcel/includes
     
    3939     * The WooCommerce shipping instance ID
    4040     *
    41      * @since    1.0.6
     41     * @since    1.0.7
    4242     * @access   private
    4343     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    5151     * including carrier info, addresses, content details, and extra options.
    5252     *
    53      * @since    1.0.6
     53     * @since    1.0.7
    5454     * @access   private
    5555     * @var      array    $request_data    Complete shipping request data
     
    117117     * parcel specifications.
    118118     *
    119      * @since    1.0.6
     119     * @since    1.0.7
    120120     * @param    int     $instance_id     WooCommerce shipping method instance ID
    121121     * @param    bool    $allow_locker    Whether to allow locker delivery services
     
    176176     * Set the carrier ID for the shipping request
    177177     *
    178      * @since    1.0.6
     178     * @since    1.0.7
    179179     * @param    int    $carrier_id    The carrier ID from EuroParcel
    180180     */
     
    186186     * Set the service ID for the shipping request
    187187     *
    188      * @since    1.0.6
     188     * @since    1.0.7
    189189     * @param    int    $service_id    The service ID (1=standard, 2=locker)
    190190     */
     
    196196     * Set the delivery address for the shipping request
    197197     *
    198      * @since    1.0.6
     198     * @since    1.0.7
    199199     * @param    array    $delivery_address    Complete delivery address data
    200200     */
     
    208208     * Returns the prepared shipping request data ready for EuroParcel API calls.
    209209     *
    210      * @since    1.0.6
     210     * @since    1.0.7
    211211     * @return   array    Complete shipping request data
    212212     */
  • europarcel-com/tags/1.0.7/includes/class-europarcel-shipping.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2929 * and both standard and locker delivery options.
    3030 *
    31  * @since      1.0.6
     31 * @since      1.0.7
    3232 * @package    Europarcel
    3333 * @subpackage Europarcel/includes
     
    4242     * instance ID, method title, description, and supported features.
    4343     *
    44      * @since    1.0.6
     44     * @since    1.0.7
    4545     * @param    int    $instance_id    WooCommerce shipping zone instance ID
    4646     */
     
    6767     * and initializes the admin form fields.
    6868     *
    69      * @since    1.0.6
     69     * @since    1.0.7
    7070     */
    7171    public function init() {
     
    7474        }
    7575        $this->settings = get_option('woocommerce_europarcelcom_wc_shipping_' . $this->instance_id . '_settings');
    76         $this->init_form_fields();
    7776        $this->title = $this->get_option('title');
    78         //add_action('woocommerce_update_options_shipping_' . $this->id, array($this, 'process_admin_options'));
     77        if (is_admin() && isset($_GET['page']) && $_GET['page'] === 'wc-settings') {
     78            $this->init_form_fields();
     79        }
    7980    }
    8081
     
    8687     * Dynamically loads customer information when API key is provided.
    8788     *
    88      * @since    1.0.6
     89     * @since    1.0.7
    8990     */
    9091    public function init_form_fields() {
     
    119120        $customer = new \EuroparcelComWCShipping\EuroParcelComWC_Customer($this->instance_id);
    120121        $customer_info = $customer->getCustomerInfo();
     122
     123        if ($customer_info) {
     124            $this->update_option('europarcel_customer', $customer_info);
     125        } else {
     126            return;
     127        }
     128
     129        if (!$customer_info) {
     130            $this->form_fields = array_merge($this->form_fields, array(
     131                'europarcel_customer' => array(
     132                    'title' => __('Connection Error', 'europarcel-com'),
     133                    'type' => 'title',
     134                    'description' => '<div class="notice notice-error inline"><p><strong>' .
     135                    __('Unable to connect to eAWB.', 'europarcel-com') . '</strong> ' .
     136                    __('Please verify your API key is correct and try again.', 'europarcel-com') .
     137                    '</p></div>',
     138            )));
     139            return;
     140        }
    121141        if (!$customer_info) {
    122142            $this->form_fields = array_merge($this->form_fields, array(
     
    228248                'title' => __('Locker Delivery Display Name', 'europarcel-com'),
    229249                'type' => 'text',
    230                 'default' => 'Transport la lockerul ales prin Europarcel',
     250                'default' => 'Livrare la locker',
    231251                'description' => __('The shipping method name shown to customers at checkout for locker delivery', 'europarcel-com'),
    232252                'desc_tip' => false,
     
    275295     * Validates nonce for security and processes each form field.
    276296     *
    277      * @since    1.0.6
     297     * @since    1.0.7
    278298     * @return   bool    True if options were saved successfully, false otherwise
    279299     */
     
    290310        foreach ($form_fields as $key => $field) {
    291311            try {
    292                 $data =$this->get_field_value($key, $field, $post_data);
    293                 $this->settings[$key] = !empty($data)?$data:(isset($field['default'])?$field['default']:'');
     312                $data = $this->get_field_value($key, $field, $post_data);
     313                $this->settings[$key] = !empty($data) ? $data : (isset($field['default']) ? $field['default'] : '');
    294314            } catch (Exception $e) {
    295315                $this->add_error($e->getMessage());
     
    315335     * Creates shipping rates for both standard and locker delivery options.
    316336     *
    317      * @since    1.0.6
     337     * @since    1.0.7
    318338     * @param    array    $package    WooCommerce package data with contents and destination
    319339     */
     
    416436            } else {
    417437                $this->add_rate(array(
    418                     'id' => $this->id . ':' . $this->instance_id  . '_fixed_h2h',
     438                    'id' => $this->id . ':' . $this->instance_id . '_fixed_h2h',
    419439                    'label' => $home_label,
    420440                    'cost' => $customer->settings['fixed_price_h2h'],
  • europarcel-com/tags/1.0.7/languages/europarcel-com-ro_RO.po

    r3408287 r3441645  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: EuroParcel Integration for WooCommerce 1.0.6\n"
     6"Project-Id-Version: EuroParcel Integration for WooCommerce 1.0.7\n"
    77"Report-Msgid-Bugs-To: cs@europarcel.com\n"
    8 "POT-Creation-Date: 2025-11-27 19:43+0200\n"
    9 "PO-Revision-Date: 2025-09-11T12:00:00+00:00\n"
     8"POT-Creation-Date: 2026-01-17 19:00+0200\n"
     9"PO-Revision-Date: 2026-01-17T19:00:00+00:00\n"
    1010"Last-Translator: EuroParcel Team\n"
    1111"Language-Team: Romanian\n"
     
    2727msgstr "Eroare API: HTTP"
    2828
    29 #: includes/class-europarcel-shipping.php:106
     29#: includes/class-europarcel-shipping.php:107
    3030msgid "API Key"
    3131msgstr "Cheie API"
    3232
    33 #: includes/class-europarcel-shipping.php:175
     33#: includes/class-europarcel-shipping.php:195
    3434msgid "Available Shipping Services"
    3535msgstr "Servicii de transport disponibile"
    3636
    37 #: includes/class-europarcel-shipping.php:93
     37#: includes/class-europarcel-shipping.php:94
    3838msgid "Basic Settings"
    3939msgstr "Setări de bază"
     
    4848msgstr "Cargus - Livrare la adresă"
    4949
    50 #: includes/class-europarcel-shipping.php:187
     50#: includes/class-europarcel-shipping.php:207
    5151msgid "Configure address delivery options and pricing"
    5252msgstr "Configurează opțiunile și prețurile pentru livrarea la adresă"
    5353
    54 #: includes/class-europarcel-shipping.php:224
     54#: includes/class-europarcel-shipping.php:244
    5555msgid "Configure locker delivery options and pricing"
    5656msgstr "Configurează opțiunile și prețurile pentru livrarea în locker"
    5757
    58 #: includes/class-europarcel-shipping.php:95
     58#: includes/class-europarcel-shipping.php:96
    5959msgid "Configure your connection and basic plugin settings"
    6060msgstr "Configurează conexiunea și setările de bază ale plugin-ului"
    6161
    62 #: includes/class-europarcel-shipping.php:155
     62#: includes/class-europarcel-shipping.php:175
    6363msgid "Configure your shipping addresses and available services"
    6464msgstr "Configurează adresele de expediere și serviciile disponibile"
    6565
    66 #: includes/class-europarcel-shipping.php:124
     66#: includes/class-europarcel-shipping.php:132
    6767msgid "Connection Error"
    6868msgstr "Eroare de conexiune"
     
    7676msgstr "DPD Box - Livrare la locker"
    7777
    78 #: includes/class-europarcel-shipping.php:169
     78#: includes/class-europarcel-shipping.php:189
    7979msgid ""
    8080"Default billing address for eAWB order imports<br><a href=\"https://"
     
    8888"\">Gestionează adresele de facturare →</a>"
    8989
    90 #: includes/class-europarcel-shipping.php:161
     90#: includes/class-europarcel-shipping.php:181
    9191msgid ""
    9292"Default sender address for eAWB order imports<br><a href=\"https://"
     
    110110
    111111#: includes/class-europarcel-shipping.php:55
    112 #: includes/class-europarcel-shipping.php:102
     112#: includes/class-europarcel-shipping.php:103
    113113msgid "Europarcel Shipping"
    114114msgstr "Transport EuroParcel"
    115115
    116 #: includes/class-europarcel-shipping.php:259
     116#: includes/class-europarcel-shipping.php:279
    117117msgid "Excluded Shipping Classes for Lockers"
    118118msgstr "Clase de expediere excluse pentru lockere"
     
    130130msgstr "FedEx - Livrare la adresă"
    131131
    132 #: includes/class-europarcel-shipping.php:205
     132#: includes/class-europarcel-shipping.php:225
    133133msgid "Free Home Delivery Minimum Order Amount"
    134134msgstr "Suma minimă pentru livrare gratuită la adresă"
    135135
    136 #: includes/class-europarcel-shipping.php:212
     136#: includes/class-europarcel-shipping.php:232
    137137msgid "Free Home Delivery Shipping Classes"
    138138msgstr "Clase de expediere cu livrare gratuită la adresă"
    139139
    140 #: includes/class-europarcel-shipping.php:242
     140#: includes/class-europarcel-shipping.php:262
    141141msgid "Free Locker Delivery Minimum Order Amount"
    142142msgstr "Suma minimă pentru livrare gratuită în locker"
    143143
    144 #: includes/class-europarcel-shipping.php:249
     144#: includes/class-europarcel-shipping.php:269
    145145msgid "Free Locker Delivery Shipping Classes"
    146146msgstr "Clase de expediere cu livrare gratuită în locker"
     
    155155msgstr "Cererea HTTP a eșuat: "
    156156
    157 #: includes/class-europarcel-shipping.php:191
     157#: includes/class-europarcel-shipping.php:211
    158158msgid "Home Delivery Display Name"
    159159msgstr "Numele afișat pentru livrarea la adresă"
    160160
    161 #: includes/class-europarcel-shipping.php:198
     161#: includes/class-europarcel-shipping.php:218
    162162msgid "Home Delivery Fixed Price"
    163163msgstr "Preț fix livrare la adresă"
    164164
    165 #: includes/class-europarcel-shipping.php:185
     165#: includes/class-europarcel-shipping.php:205
    166166msgid "Home Delivery Settings"
    167167msgstr "Setări livrare la adresă"
     
    179179msgstr "Se încarcă..."
    180180
    181 #: includes/class-europarcel-shipping.php:228
     181#: includes/class-europarcel-shipping.php:248
    182182msgid "Locker Delivery Display Name"
    183183msgstr "Numele afișat pentru livrarea în locker"
    184184
    185 #: includes/class-europarcel-shipping.php:235
     185#: includes/class-europarcel-shipping.php:255
    186186msgid "Locker Delivery Fixed Price"
    187187msgstr "Preț fix livrare în locker"
    188188
    189 #: includes/class-europarcel-shipping.php:222
     189#: includes/class-europarcel-shipping.php:242
    190190msgid "Locker Delivery Settings"
    191191msgstr "Setări livrare în locker"
    192192
    193 #: includes/class-europarcel-shipping.php:99
     193#: includes/class-europarcel-shipping.php:100
    194194msgid "Method Title"
    195195msgstr "Titlul metodei"
    196196
    197 #: includes/class-europarcel-shipping.php:208
     197#: includes/class-europarcel-shipping.php:228
    198198msgid ""
    199199"Minimum order amount required to qualify for free home delivery (leave empty "
     
    203203"dezactiva livrarea gratuită)"
    204204
    205 #: includes/class-europarcel-shipping.php:245
     205#: includes/class-europarcel-shipping.php:265
    206206msgid ""
    207207"Minimum order amount required to qualify for free locker delivery (leave "
     
    219219msgstr "Nu există curieri configurați pentru livrare în locker."
    220220
    221 #: includes/class-europarcel-shipping.php:126
     221#: includes/class-europarcel-shipping.php:136
    222222msgid "Please verify your API key is correct and try again."
    223223msgstr "Te rugăm să verifici că cheia API este corectă și încearcă din nou."
     
    231231"adresă și în locker"
    232232
    233 #: includes/class-europarcel-shipping.php:167
     233#: includes/class-europarcel-shipping.php:187
    234234msgid "Primary Billing Address"
    235235msgstr "Adresa principală de facturare"
    236236
    237 #: includes/class-europarcel-shipping.php:159
     237#: includes/class-europarcel-shipping.php:179
    238238msgid "Primary Sender Address"
    239239msgstr "Adresa principală de expediere"
     
    256256# Customer-facing strings (Frontend)
    257257#: includes/class-europarcel-checkout.php:175
    258 #: includes/class-europarcel-checkout.php:322
     258#: includes/class-europarcel-checkout.php:327
    259259msgid "Select Locker"
    260260msgstr "Selectare locker"
    261261
    262 #: includes/class-europarcel-shipping.php:264
     262#: includes/class-europarcel-shipping.php:284
    263263msgid ""
    264264"Select shipping classes that should not have locker delivery options "
     
    268268"în locker (ex: produse mari sau neadecvate pentru lockere)"
    269269
    270 #: includes/class-europarcel-shipping.php:217
     270#: includes/class-europarcel-shipping.php:237
    271271msgid ""
    272272"Select shipping classes that will always have free home delivery regardless "
     
    276276"la adresă, indiferent de suma comenzii"
    277277
    278 #: includes/class-europarcel-shipping.php:254
     278#: includes/class-europarcel-shipping.php:274
    279279msgid ""
    280280"Select shipping classes that will always have free locker delivery "
     
    284284"în locker, indiferent de suma comenzii"
    285285
    286 #: includes/class-europarcel-shipping.php:177
     286#: includes/class-europarcel-shipping.php:197
    287287msgid ""
    288288"Select the shipping services that will be available to your customers during "
     
    292292"finalizarea comenzii"
    293293
    294 #: includes/class-europarcel-shipping.php:153
     294#: includes/class-europarcel-shipping.php:173
    295295msgid "Service Configuration"
    296296msgstr "Configurarea serviciilor"
    297297
    298 #: includes/class-europarcel-shipping.php:201
     298#: includes/class-europarcel-shipping.php:221
    299299msgid "Set the fixed shipping cost for address deliveries"
    300300msgstr "Setează costul fix de transport pentru livrările la adresă"
    301301
    302 #: includes/class-europarcel-shipping.php:238
     302#: includes/class-europarcel-shipping.php:258
    303303msgid "Set the fixed shipping cost for locker deliveries"
    304304msgstr "Setează costul fix de transport pentru livrările în locker"
    305305
    306 #: includes/class-europarcel-shipping.php:194
     306#: includes/class-europarcel-shipping.php:214
    307307msgid ""
    308308"The shipping method name shown to customers at checkout for home delivery"
     
    311311"adresă"
    312312
    313 #: includes/class-europarcel-shipping.php:231
     313#: includes/class-europarcel-shipping.php:251
    314314msgid ""
    315315"The shipping method name shown to customers at checkout for locker delivery"
     
    318318"locker"
    319319
    320 #: includes/class-europarcel-shipping.php:101
     320#: includes/class-europarcel-shipping.php:102
    321321msgid ""
    322322"The shipping method title displayed in the admin shipping zones configuration"
     
    325325"admin"
    326326
    327 #: includes/class-europarcel-shipping.php:126
     327#: includes/class-europarcel-shipping.php:135
    328328msgid "Unable to connect to eAWB."
    329329msgstr "Nu se poate conecta la eAWB."
    330330
    331 #: includes/class-europarcel-shipping.php:108
     331#: includes/class-europarcel-shipping.php:109
    332332msgid ""
    333333"Your API key for accessing the shipping services.<br><a href=\"https://"
     
    340340
    341341#. translators: %s: Customer name from API
    342 #: includes/class-europarcel-shipping.php:149
     342#: includes/class-europarcel-shipping.php:169
    343343#, php-format
    344344msgid "✅ Connected: %s"
     
    349349msgstr "✓ Locker selectat -"
    350350
    351 #: europarcel-com.php:145
     351#: europarcel-com.php:142
    352352msgid "Documentation"
    353353msgstr "Documentație"
    354354
    355 #: europarcel-com.php:146
     355#: europarcel-com.php:143
    356356msgid "Video tutorial"
    357357msgstr "Tutorial video"
    358 
    359 # Custom Fields (Admin)
    360 #~ msgid "Fixed price"
    361 #~ msgstr "Preț fix"
    362 
    363 #~ msgid "RON"
    364 #~ msgstr "RON"
    365 
    366 #~ msgid "Calculation parameters"
    367 #~ msgstr "Parametrii de calcul"
    368 
    369 #~ msgid "Weight (kg)"
    370 #~ msgstr "Greutate (kg)"
    371 
    372 #~ msgid "Length (cm)"
    373 #~ msgstr "Lungime (cm)"
    374 
    375 #~ msgid "Width (cm)"
    376 #~ msgstr "Lățime (cm)"
    377 
    378 #~ msgid "Height (cm)"
    379 #~ msgstr "Înălțime (cm)"
    380 
    381 #~ msgid "Price multiplier"
    382 #~ msgstr "Multiplicator preț"
    383 
    384 #~ msgid "Shipping Price Type"
    385 #~ msgstr "Tipul prețului de transport"
    386 
    387 #~ msgid "Fixed Price"
    388 #~ msgstr "Preț fix"
    389 
    390 #~ msgid "Calculated Price"
    391 #~ msgstr "Preț calculat"
  • europarcel-com/tags/1.0.7/languages/europarcel-com.pot

    r3406532 r3441645  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2025-11-27 19:43+0200\n"
     9"POT-Creation-Date: 2026-01-17 19:00+0200\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    2323msgstr ""
    2424
    25 #: includes/class-europarcel-shipping.php:106
     25#: includes/class-europarcel-shipping.php:107
    2626msgid "API Key"
    2727msgstr ""
    2828
    29 #: includes/class-europarcel-shipping.php:175
     29#: includes/class-europarcel-shipping.php:195
    3030msgid "Available Shipping Services"
    3131msgstr ""
    3232
    33 #: includes/class-europarcel-shipping.php:93
     33#: includes/class-europarcel-shipping.php:94
    3434msgid "Basic Settings"
    3535msgstr ""
     
    4343msgstr ""
    4444
    45 #: includes/class-europarcel-shipping.php:187
     45#: includes/class-europarcel-shipping.php:207
    4646msgid "Configure address delivery options and pricing"
    4747msgstr ""
    4848
    49 #: includes/class-europarcel-shipping.php:224
     49#: includes/class-europarcel-shipping.php:244
    5050msgid "Configure locker delivery options and pricing"
    5151msgstr ""
    5252
    53 #: includes/class-europarcel-shipping.php:95
     53#: includes/class-europarcel-shipping.php:96
    5454msgid "Configure your connection and basic plugin settings"
    5555msgstr ""
    5656
    57 #: includes/class-europarcel-shipping.php:155
     57#: includes/class-europarcel-shipping.php:175
    5858msgid "Configure your shipping addresses and available services"
    5959msgstr ""
    6060
    61 #: includes/class-europarcel-shipping.php:124
     61#: includes/class-europarcel-shipping.php:132
    6262msgid "Connection Error"
    6363msgstr ""
     
    7171msgstr ""
    7272
    73 #: includes/class-europarcel-shipping.php:169
     73#: includes/class-europarcel-shipping.php:189
    7474msgid ""
    7575"Default billing address for eAWB order imports<br><a href=\"https://"
     
    7979msgstr ""
    8080
    81 #: includes/class-europarcel-shipping.php:161
     81#: includes/class-europarcel-shipping.php:181
    8282msgid ""
    8383"Default sender address for eAWB order imports<br><a href=\"https://"
     
    9696
    9797#: includes/class-europarcel-shipping.php:55
    98 #: includes/class-europarcel-shipping.php:102
     98#: includes/class-europarcel-shipping.php:103
    9999msgid "Europarcel Shipping"
    100100msgstr ""
    101101
    102 #: includes/class-europarcel-shipping.php:259
     102#: includes/class-europarcel-shipping.php:279
    103103msgid "Excluded Shipping Classes for Lockers"
    104104msgstr ""
     
    116116msgstr ""
    117117
    118 #: includes/class-europarcel-shipping.php:205
     118#: includes/class-europarcel-shipping.php:225
    119119msgid "Free Home Delivery Minimum Order Amount"
    120120msgstr ""
    121121
    122 #: includes/class-europarcel-shipping.php:212
     122#: includes/class-europarcel-shipping.php:232
    123123msgid "Free Home Delivery Shipping Classes"
    124124msgstr ""
    125125
    126 #: includes/class-europarcel-shipping.php:242
     126#: includes/class-europarcel-shipping.php:262
    127127msgid "Free Locker Delivery Minimum Order Amount"
    128128msgstr ""
    129129
    130 #: includes/class-europarcel-shipping.php:249
     130#: includes/class-europarcel-shipping.php:269
    131131msgid "Free Locker Delivery Shipping Classes"
    132132msgstr ""
     
    140140msgstr ""
    141141
    142 #: includes/class-europarcel-shipping.php:191
     142#: includes/class-europarcel-shipping.php:211
    143143msgid "Home Delivery Display Name"
    144144msgstr ""
    145145
    146 #: includes/class-europarcel-shipping.php:198
     146#: includes/class-europarcel-shipping.php:218
    147147msgid "Home Delivery Fixed Price"
    148148msgstr ""
    149149
    150 #: includes/class-europarcel-shipping.php:185
     150#: includes/class-europarcel-shipping.php:205
    151151msgid "Home Delivery Settings"
    152152msgstr ""
     
    164164msgstr ""
    165165
     166#: includes/class-europarcel-shipping.php:248
     167msgid "Locker Delivery Display Name"
     168msgstr ""
     169
     170#: includes/class-europarcel-shipping.php:255
     171msgid "Locker Delivery Fixed Price"
     172msgstr ""
     173
     174#: includes/class-europarcel-shipping.php:242
     175msgid "Locker Delivery Settings"
     176msgstr ""
     177
     178#: includes/class-europarcel-shipping.php:100
     179msgid "Method Title"
     180msgstr ""
     181
    166182#: includes/class-europarcel-shipping.php:228
    167 msgid "Locker Delivery Display Name"
    168 msgstr ""
    169 
    170 #: includes/class-europarcel-shipping.php:235
    171 msgid "Locker Delivery Fixed Price"
    172 msgstr ""
    173 
    174 #: includes/class-europarcel-shipping.php:222
    175 msgid "Locker Delivery Settings"
    176 msgstr ""
    177 
    178 #: includes/class-europarcel-shipping.php:99
    179 msgid "Method Title"
    180 msgstr ""
    181 
    182 #: includes/class-europarcel-shipping.php:208
    183183msgid ""
    184184"Minimum order amount required to qualify for free home delivery (leave empty "
     
    186186msgstr ""
    187187
    188 #: includes/class-europarcel-shipping.php:245
     188#: includes/class-europarcel-shipping.php:265
    189189msgid ""
    190190"Minimum order amount required to qualify for free locker delivery (leave "
     
    200200msgstr ""
    201201
    202 #: includes/class-europarcel-shipping.php:126
     202#: includes/class-europarcel-shipping.php:136
    203203msgid "Please verify your API key is correct and try again."
    204204msgstr ""
     
    210210msgstr ""
    211211
    212 #: includes/class-europarcel-shipping.php:167
     212#: includes/class-europarcel-shipping.php:187
    213213msgid "Primary Billing Address"
    214214msgstr ""
    215215
    216 #: includes/class-europarcel-shipping.php:159
     216#: includes/class-europarcel-shipping.php:179
    217217msgid "Primary Sender Address"
    218218msgstr ""
     
    232232
    233233#: includes/class-europarcel-checkout.php:175
    234 #: includes/class-europarcel-checkout.php:322
     234#: includes/class-europarcel-checkout.php:327
    235235msgid "Select Locker"
    236236msgstr ""
    237237
    238 #: includes/class-europarcel-shipping.php:264
     238#: includes/class-europarcel-shipping.php:284
    239239msgid ""
    240240"Select shipping classes that should not have locker delivery options "
     
    242242msgstr ""
    243243
    244 #: includes/class-europarcel-shipping.php:217
     244#: includes/class-europarcel-shipping.php:237
    245245msgid ""
    246246"Select shipping classes that will always have free home delivery regardless "
     
    248248msgstr ""
    249249
    250 #: includes/class-europarcel-shipping.php:254
     250#: includes/class-europarcel-shipping.php:274
    251251msgid ""
    252252"Select shipping classes that will always have free locker delivery "
     
    254254msgstr ""
    255255
    256 #: includes/class-europarcel-shipping.php:177
     256#: includes/class-europarcel-shipping.php:197
    257257msgid ""
    258258"Select the shipping services that will be available to your customers during "
     
    260260msgstr ""
    261261
    262 #: includes/class-europarcel-shipping.php:153
     262#: includes/class-europarcel-shipping.php:173
    263263msgid "Service Configuration"
    264264msgstr ""
    265265
    266 #: includes/class-europarcel-shipping.php:201
     266#: includes/class-europarcel-shipping.php:221
    267267msgid "Set the fixed shipping cost for address deliveries"
    268268msgstr ""
    269269
    270 #: includes/class-europarcel-shipping.php:238
     270#: includes/class-europarcel-shipping.php:258
    271271msgid "Set the fixed shipping cost for locker deliveries"
    272272msgstr ""
    273273
    274 #: includes/class-europarcel-shipping.php:194
     274#: includes/class-europarcel-shipping.php:214
    275275msgid ""
    276276"The shipping method name shown to customers at checkout for home delivery"
    277277msgstr ""
    278278
    279 #: includes/class-europarcel-shipping.php:231
     279#: includes/class-europarcel-shipping.php:251
    280280msgid ""
    281281"The shipping method name shown to customers at checkout for locker delivery"
    282282msgstr ""
    283283
    284 #: includes/class-europarcel-shipping.php:101
     284#: includes/class-europarcel-shipping.php:102
    285285msgid ""
    286286"The shipping method title displayed in the admin shipping zones configuration"
    287287msgstr ""
    288288
    289 #: includes/class-europarcel-shipping.php:126
     289#: includes/class-europarcel-shipping.php:135
    290290msgid "Unable to connect to eAWB."
    291291msgstr ""
    292292
    293 #: includes/class-europarcel-shipping.php:108
     293#: includes/class-europarcel-shipping.php:109
    294294msgid ""
    295295"Your API key for accessing the shipping services.<br><a href=\"https://"
     
    299299
    300300#. translators: %s: Customer name from API
    301 #: includes/class-europarcel-shipping.php:149
     301#: includes/class-europarcel-shipping.php:169
    302302#, php-format
    303303msgid "✅ Connected: %s"
     
    308308msgstr ""
    309309
    310 #: europarcel-com.php:145
     310#: europarcel-com.php:142
    311311msgid "Documentation"
    312312msgstr ""
    313313
    314 #: europarcel-com.php:146
     314#: europarcel-com.php:143
    315315msgid "Video tutorial"
    316316msgstr ""
  • europarcel-com/trunk/README.txt

    r3408287 r3441645  
    33Tags: woocommerce, shipping, europarcel, courier, romania
    44Requires at least: 5.0
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7777== Changelog ==
    7878
     79= 1.0.7 =
     80* Performance fix: Eliminated unnecessary API requests on cart and checkout pages
     81
    7982= 1.0.6 =
    8083* Fixed locker selection bug where wrong locker was saved to order meta
     
    101104== Upgrade Notice ==
    102105
     106= 1.0.7 =
     107Performance fix: Eliminated unnecessary API requests on cart and checkout pages.
     108
    103109= 1.0.6 =
    104110Fixed locker selection bug where wrong locker was saved to order meta.
  • europarcel-com/trunk/assets/css/europarcel-admin.css

    r3408287 r3441645  
    66 *
    77 * @package    Europarcel
    8  * @since      1.0.6
     8 * @since      1.0.7
    99 */
    1010
  • europarcel-com/trunk/assets/js/europarcel-admin.js

    r3408287 r3441645  
    66 *
    77 * @package    Europarcel
    8  * @since      1.0.6
     8 * @since      1.0.7
    99 */
    1010
  • europarcel-com/trunk/assets/js/europarcel-locker-selector.js

    r3408287 r3441645  
    77 *
    88 * @package    Europarcel
    9  * @since      1.0.6
     9 * @since      1.0.7
    1010 */
    1111
  • europarcel-com/trunk/assets/js/europarcel-modal.js

    r3408287 r3441645  
    77 * @package    Europarcel
    88 * @subpackage Assets/JavaScript
    9  * @since      1.0.6
     9 * @since      1.0.7
    1010 */
    1111
     
    1616     * EuroParcel Modal object
    1717     *
    18      * @since 1.0.6
     18     * @since 1.0.7
    1919     */
    2020    window.EuroparcelModal = {
     
    2626         * Handles both desktop and mobile responsive display.
    2727         *
    28          * @since 1.0.6
     28         * @since 1.0.7
    2929         * @param {string} iframeUrl - The URL to load in the iframe
    3030         */
     
    9292         * Configures click handlers, escape key handler, and other modal interactions.
    9393         *
    94          * @since 1.0.6
     94         * @since 1.0.7
    9595         * @param {HTMLElement} modal - The modal element
    9696         * @param {boolean} isMobile - Whether the device is mobile
     
    141141         * Cleans up event listeners to prevent memory leaks.
    142142         *
    143          * @since 1.0.6
     143         * @since 1.0.7
    144144         */
    145145        close: function() {
  • europarcel-com/trunk/europarcel-com.php

    r3408287 r3441645  
    99 *
    1010 * @link              https://eawb.ro
    11  * @since             1.0.6
     11 * @since             1.0.7
    1212 * @package           Europarcel
    1313 *
     
    1515 * Plugin Name:       EuroParcel Integration for WooCommerce
    1616 * Description:       Connect your WooCommerce store with eAWB shipping platform
    17  * Version:           1.0.6
     17 * Version:           1.0.7
    1818 * Author:            EuroParcel
    1919 * Author URI:        https://eawb.ro/
     
    3131}
    3232
    33 /**
    34  * Currently plugin version.
    35  * Start at version 1.0.6 and use SemVer - https://semver.org
    36  * Rename this for your plugin and update it as you release new versions.
    37  */
    38 define('EUROPARCELCOM_WC_VERSION', '1.0.6');
     33define('EUROPARCELCOM_WC_VERSION', '1.0.7');
    3934
    4035/**
     
    7065 * Declare compatibility with WooCommerce High-Performance Order Storage (HPOS)
    7166 *
    72  * @since    1.0.6
     67 * @since    1.0.7
    7368 */
    7469add_action('before_woocommerce_init', function() {
     
    8176 * Initialize the shipping method
    8277 *
    83  * @since    1.0.6
     78 * @since    1.0.7
    8479 */
    8580add_action('woocommerce_shipping_init', 'europarcelcom_wc_shipping_init');
     
    8883 * Load the shipping method class
    8984 *
    90  * @since    1.0.6
     85 * @since    1.0.7
    9186 */
    9287function europarcelcom_wc_shipping_init() {
     
    10095 * Register the shipping method with WooCommerce
    10196 *
    102  * @since    1.0.6
     97 * @since    1.0.7
    10398 * @param    array    $methods    Existing shipping methods
    10499 * @return   array                Updated shipping methods
     
    112107 * Enqueue admin styles and scripts
    113108 *
    114  * @since    1.0.6
     109 * @since    1.0.7
    115110 */
    116111add_action('admin_enqueue_scripts', function () {
    117112    $current_screen = get_current_screen();
    118113    if (is_admin() && $current_screen && strpos($current_screen->id, 'woocommerce_page_wc-settings') !== false) {
    119         wp_enqueue_style('europarcel-admin', plugins_url('assets/css/europarcel-admin.css', __FILE__), array(), '1.0.6');
    120         wp_enqueue_script('europarcel-admin', plugins_url('assets/js/europarcel-admin.js', __FILE__), array('jquery', 'select2'), '1.0.6', true);
     114        wp_enqueue_style('europarcel-admin', plugins_url('assets/css/europarcel-admin.css', __FILE__), array(), '1.0.7');
     115        wp_enqueue_script('europarcel-admin', plugins_url('assets/js/europarcel-admin.js', __FILE__), array('jquery', 'select2'), '1.0.7', true);
    121116    }
    122117});
     
    125120 * Initialize the main plugin class
    126121 *
    127  * @since    1.0.6
     122 * @since    1.0.7
    128123 */
    129124function europarcelcom_wc_plugin_run() {
     
    138133 * Add plugin row meta links (Documentation, Video Tutorial)
    139134 *
    140  * @since    1.0.6
     135 * @since    1.0.7
    141136 * @param    array     $links    Existing meta links
    142137 * @param    string    $file     Plugin file path
  • europarcel-com/trunk/includes/class-europarcel-activator.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://europarcel.com
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2020 * This class defines all code necessary to run during the plugin's activation.
    2121 *
    22  * @since      1.0.6
     22 * @since      1.0.7
    2323 * @package    Europarcel
    2424 * @subpackage Europarcel/includes
     
    3232     * Handles any setup tasks required when the plugin is activated.
    3333     *
    34      * @since    1.0.6
     34     * @since    1.0.7
    3535     */
    3636    public static function activate() {
    3737        // Store plugin version
    3838        if (!get_option('EUROPARCELCOM_WC_VERSION')) {
    39             add_option('EUROPARCELCOM_WC_VERSION', '1.0.6');
     39            add_option('EUROPARCELCOM_WC_VERSION', '1.0.7');
    4040        }
    4141       
  • europarcel-com/trunk/includes/class-europarcel-checkout.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2828 * for locker selection and shipping updates.
    2929 *
    30  * @since      1.0.6
     30 * @since      1.0.7
    3131 * @package    Europarcel
    3232 * @subpackage Europarcel/includes
     
    3838     * Whether the current checkout is blocks-based
    3939     *
    40      * @since    1.0.6
     40     * @since    1.0.7
    4141     * @access   private
    4242     * @var      bool    $is_blocks_checkout    True if blocks checkout detected
     
    5050     * via smart_init method to detect checkout type first.
    5151     *
    52      * @since    1.0.6
     52     * @since    1.0.7
    5353     */
    5454    public function __construct() {
     
    6262     * or Blocks-based and initializes the appropriate functionality.
    6363     *
    64      * @since    1.0.6
     64     * @since    1.0.7
    6565     */
    6666    public function smart_init() {
     
    8383     * Enqueues scripts and localizes data for WooCommerce Blocks checkout.
    8484     *
    85      * @since    1.0.6
     85     * @since    1.0.7
    8686     */
    8787    private function init_blocks_checkout() {
     
    9696     * Enqueues scripts and localizes data for WooCommerce Classic checkout.
    9797     *
    98      * @since    1.0.6
     98     * @since    1.0.7
    9999     */
    100100    private function init_classic_checkout() {
     
    110110     * and checkout type information for JavaScript usage.
    111111     *
    112      * @since    1.0.6
     112     * @since    1.0.7
    113113     */
    114114    private function localize_script_data() {
     
    191191     * Validates nonce and returns carrier data via JSON response.
    192192     *
    193      * @since    1.0.6
     193     * @since    1.0.7
    194194     */
    195195    public function wp_ajax_europarcelcomwc_get_locker_carriers() {
     
    221221     * Validates nonce and sanitizes all input data.
    222222     *
    223      * @since    1.0.6
     223     * @since    1.0.7
    224224     */
    225225    public function wp_ajax_europarcelcomwc_update_locker_shipping() {
     
    276276     * the locker selection button in classic checkout when applicable.
    277277     *
    278      * @since    1.0.6
     278     * @since    1.0.7
    279279     */
    280280    public function classic_checkout_button() {
  • europarcel-com/trunk/includes/class-europarcel-constants.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2727 * shipping services for both admin configuration and API requests.
    2828 *
    29  * @since      1.0.6
     29 * @since      1.0.7
    3030 * @package    Europarcel
    3131 * @subpackage Europarcel/includes
     
    4141     * All strings are internationalized for translation support.
    4242     *
    43      * @since    1.0.6
     43     * @since    1.0.7
    4444     * @return   array    Array of service keys and their translated display names
    4545     */
     
    6969     * - 2: Locker delivery (home to locker)
    7070     *
    71      * @since    1.0.6
     71     * @since    1.0.7
    7272     * @param    array|string    $services    Array of service keys to convert (or string for backward compatibility)
    7373     * @return   array    Array of carrier configuration arrays
  • europarcel-com/trunk/includes/class-europarcel-customer.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    3131 * and carrier service availability.
    3232 *
    33  * @since      1.0.6
     33 * @since      1.0.7
    3434 * @package    Europarcel
    3535 * @subpackage Europarcel/includes
     
    4141     * The WooCommerce shipping instance ID
    4242     *
    43      * @since    1.0.6
     43     * @since    1.0.7
    4444     * @access   private
    4545     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    5050     * The shipping method settings
    5151     *
    52      * @since    1.0.6
     52     * @since    1.0.7
    5353     * @access   public
    5454     * @var      array    $settings    WooCommerce shipping method settings
     
    6262     * configuration and loads the associated settings.
    6363     *
    64      * @since    1.0.6
     64     * @since    1.0.7
    6565     * @param    int    $instance_id    WooCommerce shipping method instance ID
    6666     */
     
    7676     * the EuroParcel API including name, contact details, and account status.
    7777     *
    78      * @since    1.0.6
     78     * @since    1.0.7
    7979     * @return   array|null    Customer account data or null on failure
    8080     */
     
    100100     * EuroParcel account for use in shipping calculations.
    101101     *
    102      * @since    1.0.6
     102     * @since    1.0.7
    103103     * @return   array    Array of billing addresses with ID as key and formatted address as value
    104104     */
     
    138138     * EuroParcel account for use as pickup locations.
    139139     *
    140      * @since    1.0.6
     140     * @since    1.0.7
    141141     * @return   array    Array of pickup addresses with ID as key and formatted address as value
    142142     */
     
    177177     * and destination address.
    178178     *
    179      * @since    1.0.6
     179     * @since    1.0.7
    180180     * @param    array    $package        WooCommerce package data with destination details
    181181     * @param    bool     $allow_locker   Whether to include locker delivery options
     
    262262     * Used with usort() to arrange services from lowest to highest cost.
    263263     *
    264      * @since    1.0.6
     264     * @since    1.0.7
    265265     * @param    array    $first_service     First service for comparison
    266266     * @param    array    $second_service    Second service for comparison
     
    280280     * based on the configured available services.
    281281     *
    282      * @since    1.0.6
     282     * @since    1.0.7
    283283     * @return   array    Array of carrier IDs that support locker delivery
    284284     */
     
    316316     * based on the configured available services.
    317317     *
    318      * @since    1.0.6
     318     * @since    1.0.7
    319319     * @return   array|false    Array of carrier IDs that support standard delivery or false if none available
    320320     */
  • europarcel-com/trunk/includes/class-europarcel-deactivator.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://europarcel.com
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2020 * This class defines all code necessary to run during the plugin's deactivation.
    2121 *
    22  * @since      1.0.6
     22 * @since      1.0.7
    2323 * @package    Europarcel
    2424 * @subpackage Europarcel/includes
     
    3232     * Handles any cleanup tasks required when the plugin is deactivated.
    3333     *
    34      * @since    1.0.6
     34     * @since    1.0.7
    3535     */
    3636    public static function deactivate() {
  • europarcel-com/trunk/includes/class-europarcel-http-request.php

    r3408287 r3441645  
    88 *
    99 * @link       https://eawb.ro
    10  * @since      1.0.6
     10 * @since      1.0.7
    1111 *
    1212 * @package    Europarcel
     
    2626 * for both GET and POST requests with proper error handling.
    2727 *
    28  * @since      1.0.6
     28 * @since      1.0.7
    2929 * @package    Europarcel
    3030 * @subpackage Europarcel/includes
     
    3636     * The shipping method instance ID
    3737     *
    38      * @since    1.0.6
     38     * @since    1.0.7
    3939     * @access   private
    4040     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    4848     * shipping method settings and API key.
    4949     *
    50      * @since    1.0.6
     50     * @since    1.0.7
    5151     * @param    int    $instance_id    WooCommerce shipping method instance ID
    5252     */
     
    6060     * query parameters and handles the response.
    6161     *
    62      * @since    1.0.6
     62     * @since    1.0.7
    6363     * @param    string    $function    API endpoint function name
    6464     * @param    array     $data        Optional query parameters
     
    8989     * the provided data and handles the response.
    9090     *
    91      * @since    1.0.6
     91     * @since    1.0.7
    9292     * @param    string    $function    API endpoint function name
    9393     * @param    array     $data        POST data to send
     
    115115     * Throws exceptions for various error conditions.
    116116     *
    117      * @since    1.0.6
     117     * @since    1.0.7
    118118     * @param    array|WP_Error    $response    WordPress HTTP API response
    119119     * @return   array             Decoded JSON response
     
    155155     * the headers required for EuroParcel API authentication.
    156156     *
    157      * @since    1.0.6
     157     * @since    1.0.7
    158158     * @return   array    HTTP headers array with API key
    159159     */
  • europarcel-com/trunk/includes/class-europarcel-main.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2626 * both classic and blocks checkout types.
    2727 *
    28  * @since      1.0.6
     28 * @since      1.0.7
    2929 * @package    Europarcel
    3030 * @subpackage Europarcel/includes
     
    3636     * The plugin name
    3737     *
    38      * @since    1.0.6
     38     * @since    1.0.7
    3939     * @access   protected
    4040     * @var      string    $plugin_name    The plugin identifier name
     
    4545     * The plugin version
    4646     *
    47      * @since    1.0.6
     47     * @since    1.0.7
    4848     * @access   protected
    4949     * @var      string    $version    The current plugin version
     
    5454     * The checkout handler instance
    5555     *
    56      * @since    1.0.6
     56     * @since    1.0.7
    5757     * @access   protected
    5858     * @var      EuroparcelCheckout    $checkout_handler    Handles checkout functionality
     
    6666     * and defines WooCommerce hooks for checkout functionality.
    6767     *
    68      * @since    1.0.6
     68     * @since    1.0.7
    6969     */
    7070    public function __construct() {
     
    7272            $this->version = EUROPARCELCOM_WC_VERSION;
    7373        } else {
    74             $this->version = '1.0.6';
     74            $this->version = '1.0.7';
    7575        }
    7676        $this->plugin_name = 'europarcel-com';
     
    8686     * managing checkout functionality and locker selection.
    8787     *
    88      * @since    1.0.6
     88     * @since    1.0.7
    8989     */
    9090    private function load_dependencies() {
     
    9999     * WordPress hooks for AJAX functionality and checkout integration.
    100100     *
    101      * @since    1.0.6
     101     * @since    1.0.7
    102102     */
    103103    private function define_woocommerce_hooks() {
     
    123123     * so this method is available for future use if needed.
    124124     *
    125      * @since    1.0.6
     125     * @since    1.0.7
    126126     */
    127127    public function run() {
     
    132132     * Get the plugin name
    133133     *
    134      * @since     1.0.6
     134     * @since     1.0.7
    135135     * @return    string    The plugin name
    136136     */
     
    142142     * Get the plugin version
    143143     *
    144      * @since     1.0.6
     144     * @since     1.0.7
    145145     * @return    string    The plugin version number
    146146     */
  • europarcel-com/trunk/includes/class-europarcel-request-data.php

    r3408287 r3441645  
    99 *
    1010 * @link       https://eawb.ro
    11  * @since      1.0.6
     11 * @since      1.0.7
    1212 *
    1313 * @package    Europarcel
     
    2929 * based on WooCommerce shipping instance configuration.
    3030 *
    31  * @since      1.0.6
     31 * @since      1.0.7
    3232 * @package    Europarcel
    3333 * @subpackage Europarcel/includes
     
    3939     * The WooCommerce shipping instance ID
    4040     *
    41      * @since    1.0.6
     41     * @since    1.0.7
    4242     * @access   private
    4343     * @var      int    $instance_id    WooCommerce shipping method instance ID
     
    5151     * including carrier info, addresses, content details, and extra options.
    5252     *
    53      * @since    1.0.6
     53     * @since    1.0.7
    5454     * @access   private
    5555     * @var      array    $request_data    Complete shipping request data
     
    117117     * parcel specifications.
    118118     *
    119      * @since    1.0.6
     119     * @since    1.0.7
    120120     * @param    int     $instance_id     WooCommerce shipping method instance ID
    121121     * @param    bool    $allow_locker    Whether to allow locker delivery services
     
    176176     * Set the carrier ID for the shipping request
    177177     *
    178      * @since    1.0.6
     178     * @since    1.0.7
    179179     * @param    int    $carrier_id    The carrier ID from EuroParcel
    180180     */
     
    186186     * Set the service ID for the shipping request
    187187     *
    188      * @since    1.0.6
     188     * @since    1.0.7
    189189     * @param    int    $service_id    The service ID (1=standard, 2=locker)
    190190     */
     
    196196     * Set the delivery address for the shipping request
    197197     *
    198      * @since    1.0.6
     198     * @since    1.0.7
    199199     * @param    array    $delivery_address    Complete delivery address data
    200200     */
     
    208208     * Returns the prepared shipping request data ready for EuroParcel API calls.
    209209     *
    210      * @since    1.0.6
     210     * @since    1.0.7
    211211     * @return   array    Complete shipping request data
    212212     */
  • europarcel-com/trunk/includes/class-europarcel-shipping.php

    r3408287 r3441645  
    1313 *
    1414 * @link       https://eawb.ro
    15  * @since      1.0.6
     15 * @since      1.0.7
    1616 *
    1717 * @package    Europarcel
     
    2929 * and both standard and locker delivery options.
    3030 *
    31  * @since      1.0.6
     31 * @since      1.0.7
    3232 * @package    Europarcel
    3333 * @subpackage Europarcel/includes
     
    4242     * instance ID, method title, description, and supported features.
    4343     *
    44      * @since    1.0.6
     44     * @since    1.0.7
    4545     * @param    int    $instance_id    WooCommerce shipping zone instance ID
    4646     */
     
    6767     * and initializes the admin form fields.
    6868     *
    69      * @since    1.0.6
     69     * @since    1.0.7
    7070     */
    7171    public function init() {
     
    7474        }
    7575        $this->settings = get_option('woocommerce_europarcelcom_wc_shipping_' . $this->instance_id . '_settings');
    76         $this->init_form_fields();
    7776        $this->title = $this->get_option('title');
    78         //add_action('woocommerce_update_options_shipping_' . $this->id, array($this, 'process_admin_options'));
     77        if (is_admin() && isset($_GET['page']) && $_GET['page'] === 'wc-settings') {
     78            $this->init_form_fields();
     79        }
    7980    }
    8081
     
    8687     * Dynamically loads customer information when API key is provided.
    8788     *
    88      * @since    1.0.6
     89     * @since    1.0.7
    8990     */
    9091    public function init_form_fields() {
     
    119120        $customer = new \EuroparcelComWCShipping\EuroParcelComWC_Customer($this->instance_id);
    120121        $customer_info = $customer->getCustomerInfo();
     122
     123        if ($customer_info) {
     124            $this->update_option('europarcel_customer', $customer_info);
     125        } else {
     126            return;
     127        }
     128
     129        if (!$customer_info) {
     130            $this->form_fields = array_merge($this->form_fields, array(
     131                'europarcel_customer' => array(
     132                    'title' => __('Connection Error', 'europarcel-com'),
     133                    'type' => 'title',
     134                    'description' => '<div class="notice notice-error inline"><p><strong>' .
     135                    __('Unable to connect to eAWB.', 'europarcel-com') . '</strong> ' .
     136                    __('Please verify your API key is correct and try again.', 'europarcel-com') .
     137                    '</p></div>',
     138            )));
     139            return;
     140        }
    121141        if (!$customer_info) {
    122142            $this->form_fields = array_merge($this->form_fields, array(
     
    228248                'title' => __('Locker Delivery Display Name', 'europarcel-com'),
    229249                'type' => 'text',
    230                 'default' => 'Transport la lockerul ales prin Europarcel',
     250                'default' => 'Livrare la locker',
    231251                'description' => __('The shipping method name shown to customers at checkout for locker delivery', 'europarcel-com'),
    232252                'desc_tip' => false,
     
    275295     * Validates nonce for security and processes each form field.
    276296     *
    277      * @since    1.0.6
     297     * @since    1.0.7
    278298     * @return   bool    True if options were saved successfully, false otherwise
    279299     */
     
    290310        foreach ($form_fields as $key => $field) {
    291311            try {
    292                 $data =$this->get_field_value($key, $field, $post_data);
    293                 $this->settings[$key] = !empty($data)?$data:(isset($field['default'])?$field['default']:'');
     312                $data = $this->get_field_value($key, $field, $post_data);
     313                $this->settings[$key] = !empty($data) ? $data : (isset($field['default']) ? $field['default'] : '');
    294314            } catch (Exception $e) {
    295315                $this->add_error($e->getMessage());
     
    315335     * Creates shipping rates for both standard and locker delivery options.
    316336     *
    317      * @since    1.0.6
     337     * @since    1.0.7
    318338     * @param    array    $package    WooCommerce package data with contents and destination
    319339     */
     
    416436            } else {
    417437                $this->add_rate(array(
    418                     'id' => $this->id . ':' . $this->instance_id  . '_fixed_h2h',
     438                    'id' => $this->id . ':' . $this->instance_id . '_fixed_h2h',
    419439                    'label' => $home_label,
    420440                    'cost' => $customer->settings['fixed_price_h2h'],
  • europarcel-com/trunk/languages/europarcel-com-ro_RO.po

    r3408287 r3441645  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: EuroParcel Integration for WooCommerce 1.0.6\n"
     6"Project-Id-Version: EuroParcel Integration for WooCommerce 1.0.7\n"
    77"Report-Msgid-Bugs-To: cs@europarcel.com\n"
    8 "POT-Creation-Date: 2025-11-27 19:43+0200\n"
    9 "PO-Revision-Date: 2025-09-11T12:00:00+00:00\n"
     8"POT-Creation-Date: 2026-01-17 19:00+0200\n"
     9"PO-Revision-Date: 2026-01-17T19:00:00+00:00\n"
    1010"Last-Translator: EuroParcel Team\n"
    1111"Language-Team: Romanian\n"
     
    2727msgstr "Eroare API: HTTP"
    2828
    29 #: includes/class-europarcel-shipping.php:106
     29#: includes/class-europarcel-shipping.php:107
    3030msgid "API Key"
    3131msgstr "Cheie API"
    3232
    33 #: includes/class-europarcel-shipping.php:175
     33#: includes/class-europarcel-shipping.php:195
    3434msgid "Available Shipping Services"
    3535msgstr "Servicii de transport disponibile"
    3636
    37 #: includes/class-europarcel-shipping.php:93
     37#: includes/class-europarcel-shipping.php:94
    3838msgid "Basic Settings"
    3939msgstr "Setări de bază"
     
    4848msgstr "Cargus - Livrare la adresă"
    4949
    50 #: includes/class-europarcel-shipping.php:187
     50#: includes/class-europarcel-shipping.php:207
    5151msgid "Configure address delivery options and pricing"
    5252msgstr "Configurează opțiunile și prețurile pentru livrarea la adresă"
    5353
    54 #: includes/class-europarcel-shipping.php:224
     54#: includes/class-europarcel-shipping.php:244
    5555msgid "Configure locker delivery options and pricing"
    5656msgstr "Configurează opțiunile și prețurile pentru livrarea în locker"
    5757
    58 #: includes/class-europarcel-shipping.php:95
     58#: includes/class-europarcel-shipping.php:96
    5959msgid "Configure your connection and basic plugin settings"
    6060msgstr "Configurează conexiunea și setările de bază ale plugin-ului"
    6161
    62 #: includes/class-europarcel-shipping.php:155
     62#: includes/class-europarcel-shipping.php:175
    6363msgid "Configure your shipping addresses and available services"
    6464msgstr "Configurează adresele de expediere și serviciile disponibile"
    6565
    66 #: includes/class-europarcel-shipping.php:124
     66#: includes/class-europarcel-shipping.php:132
    6767msgid "Connection Error"
    6868msgstr "Eroare de conexiune"
     
    7676msgstr "DPD Box - Livrare la locker"
    7777
    78 #: includes/class-europarcel-shipping.php:169
     78#: includes/class-europarcel-shipping.php:189
    7979msgid ""
    8080"Default billing address for eAWB order imports<br><a href=\"https://"
     
    8888"\">Gestionează adresele de facturare →</a>"
    8989
    90 #: includes/class-europarcel-shipping.php:161
     90#: includes/class-europarcel-shipping.php:181
    9191msgid ""
    9292"Default sender address for eAWB order imports<br><a href=\"https://"
     
    110110
    111111#: includes/class-europarcel-shipping.php:55
    112 #: includes/class-europarcel-shipping.php:102
     112#: includes/class-europarcel-shipping.php:103
    113113msgid "Europarcel Shipping"
    114114msgstr "Transport EuroParcel"
    115115
    116 #: includes/class-europarcel-shipping.php:259
     116#: includes/class-europarcel-shipping.php:279
    117117msgid "Excluded Shipping Classes for Lockers"
    118118msgstr "Clase de expediere excluse pentru lockere"
     
    130130msgstr "FedEx - Livrare la adresă"
    131131
    132 #: includes/class-europarcel-shipping.php:205
     132#: includes/class-europarcel-shipping.php:225
    133133msgid "Free Home Delivery Minimum Order Amount"
    134134msgstr "Suma minimă pentru livrare gratuită la adresă"
    135135
    136 #: includes/class-europarcel-shipping.php:212
     136#: includes/class-europarcel-shipping.php:232
    137137msgid "Free Home Delivery Shipping Classes"
    138138msgstr "Clase de expediere cu livrare gratuită la adresă"
    139139
    140 #: includes/class-europarcel-shipping.php:242
     140#: includes/class-europarcel-shipping.php:262
    141141msgid "Free Locker Delivery Minimum Order Amount"
    142142msgstr "Suma minimă pentru livrare gratuită în locker"
    143143
    144 #: includes/class-europarcel-shipping.php:249
     144#: includes/class-europarcel-shipping.php:269
    145145msgid "Free Locker Delivery Shipping Classes"
    146146msgstr "Clase de expediere cu livrare gratuită în locker"
     
    155155msgstr "Cererea HTTP a eșuat: "
    156156
    157 #: includes/class-europarcel-shipping.php:191
     157#: includes/class-europarcel-shipping.php:211
    158158msgid "Home Delivery Display Name"
    159159msgstr "Numele afișat pentru livrarea la adresă"
    160160
    161 #: includes/class-europarcel-shipping.php:198
     161#: includes/class-europarcel-shipping.php:218
    162162msgid "Home Delivery Fixed Price"
    163163msgstr "Preț fix livrare la adresă"
    164164
    165 #: includes/class-europarcel-shipping.php:185
     165#: includes/class-europarcel-shipping.php:205
    166166msgid "Home Delivery Settings"
    167167msgstr "Setări livrare la adresă"
     
    179179msgstr "Se încarcă..."
    180180
    181 #: includes/class-europarcel-shipping.php:228
     181#: includes/class-europarcel-shipping.php:248
    182182msgid "Locker Delivery Display Name"
    183183msgstr "Numele afișat pentru livrarea în locker"
    184184
    185 #: includes/class-europarcel-shipping.php:235
     185#: includes/class-europarcel-shipping.php:255
    186186msgid "Locker Delivery Fixed Price"
    187187msgstr "Preț fix livrare în locker"
    188188
    189 #: includes/class-europarcel-shipping.php:222
     189#: includes/class-europarcel-shipping.php:242
    190190msgid "Locker Delivery Settings"
    191191msgstr "Setări livrare în locker"
    192192
    193 #: includes/class-europarcel-shipping.php:99
     193#: includes/class-europarcel-shipping.php:100
    194194msgid "Method Title"
    195195msgstr "Titlul metodei"
    196196
    197 #: includes/class-europarcel-shipping.php:208
     197#: includes/class-europarcel-shipping.php:228
    198198msgid ""
    199199"Minimum order amount required to qualify for free home delivery (leave empty "
     
    203203"dezactiva livrarea gratuită)"
    204204
    205 #: includes/class-europarcel-shipping.php:245
     205#: includes/class-europarcel-shipping.php:265
    206206msgid ""
    207207"Minimum order amount required to qualify for free locker delivery (leave "
     
    219219msgstr "Nu există curieri configurați pentru livrare în locker."
    220220
    221 #: includes/class-europarcel-shipping.php:126
     221#: includes/class-europarcel-shipping.php:136
    222222msgid "Please verify your API key is correct and try again."
    223223msgstr "Te rugăm să verifici că cheia API este corectă și încearcă din nou."
     
    231231"adresă și în locker"
    232232
    233 #: includes/class-europarcel-shipping.php:167
     233#: includes/class-europarcel-shipping.php:187
    234234msgid "Primary Billing Address"
    235235msgstr "Adresa principală de facturare"
    236236
    237 #: includes/class-europarcel-shipping.php:159
     237#: includes/class-europarcel-shipping.php:179
    238238msgid "Primary Sender Address"
    239239msgstr "Adresa principală de expediere"
     
    256256# Customer-facing strings (Frontend)
    257257#: includes/class-europarcel-checkout.php:175
    258 #: includes/class-europarcel-checkout.php:322
     258#: includes/class-europarcel-checkout.php:327
    259259msgid "Select Locker"
    260260msgstr "Selectare locker"
    261261
    262 #: includes/class-europarcel-shipping.php:264
     262#: includes/class-europarcel-shipping.php:284
    263263msgid ""
    264264"Select shipping classes that should not have locker delivery options "
     
    268268"în locker (ex: produse mari sau neadecvate pentru lockere)"
    269269
    270 #: includes/class-europarcel-shipping.php:217
     270#: includes/class-europarcel-shipping.php:237
    271271msgid ""
    272272"Select shipping classes that will always have free home delivery regardless "
     
    276276"la adresă, indiferent de suma comenzii"
    277277
    278 #: includes/class-europarcel-shipping.php:254
     278#: includes/class-europarcel-shipping.php:274
    279279msgid ""
    280280"Select shipping classes that will always have free locker delivery "
     
    284284"în locker, indiferent de suma comenzii"
    285285
    286 #: includes/class-europarcel-shipping.php:177
     286#: includes/class-europarcel-shipping.php:197
    287287msgid ""
    288288"Select the shipping services that will be available to your customers during "
     
    292292"finalizarea comenzii"
    293293
    294 #: includes/class-europarcel-shipping.php:153
     294#: includes/class-europarcel-shipping.php:173
    295295msgid "Service Configuration"
    296296msgstr "Configurarea serviciilor"
    297297
    298 #: includes/class-europarcel-shipping.php:201
     298#: includes/class-europarcel-shipping.php:221
    299299msgid "Set the fixed shipping cost for address deliveries"
    300300msgstr "Setează costul fix de transport pentru livrările la adresă"
    301301
    302 #: includes/class-europarcel-shipping.php:238
     302#: includes/class-europarcel-shipping.php:258
    303303msgid "Set the fixed shipping cost for locker deliveries"
    304304msgstr "Setează costul fix de transport pentru livrările în locker"
    305305
    306 #: includes/class-europarcel-shipping.php:194
     306#: includes/class-europarcel-shipping.php:214
    307307msgid ""
    308308"The shipping method name shown to customers at checkout for home delivery"
     
    311311"adresă"
    312312
    313 #: includes/class-europarcel-shipping.php:231
     313#: includes/class-europarcel-shipping.php:251
    314314msgid ""
    315315"The shipping method name shown to customers at checkout for locker delivery"
     
    318318"locker"
    319319
    320 #: includes/class-europarcel-shipping.php:101
     320#: includes/class-europarcel-shipping.php:102
    321321msgid ""
    322322"The shipping method title displayed in the admin shipping zones configuration"
     
    325325"admin"
    326326
    327 #: includes/class-europarcel-shipping.php:126
     327#: includes/class-europarcel-shipping.php:135
    328328msgid "Unable to connect to eAWB."
    329329msgstr "Nu se poate conecta la eAWB."
    330330
    331 #: includes/class-europarcel-shipping.php:108
     331#: includes/class-europarcel-shipping.php:109
    332332msgid ""
    333333"Your API key for accessing the shipping services.<br><a href=\"https://"
     
    340340
    341341#. translators: %s: Customer name from API
    342 #: includes/class-europarcel-shipping.php:149
     342#: includes/class-europarcel-shipping.php:169
    343343#, php-format
    344344msgid "✅ Connected: %s"
     
    349349msgstr "✓ Locker selectat -"
    350350
    351 #: europarcel-com.php:145
     351#: europarcel-com.php:142
    352352msgid "Documentation"
    353353msgstr "Documentație"
    354354
    355 #: europarcel-com.php:146
     355#: europarcel-com.php:143
    356356msgid "Video tutorial"
    357357msgstr "Tutorial video"
    358 
    359 # Custom Fields (Admin)
    360 #~ msgid "Fixed price"
    361 #~ msgstr "Preț fix"
    362 
    363 #~ msgid "RON"
    364 #~ msgstr "RON"
    365 
    366 #~ msgid "Calculation parameters"
    367 #~ msgstr "Parametrii de calcul"
    368 
    369 #~ msgid "Weight (kg)"
    370 #~ msgstr "Greutate (kg)"
    371 
    372 #~ msgid "Length (cm)"
    373 #~ msgstr "Lungime (cm)"
    374 
    375 #~ msgid "Width (cm)"
    376 #~ msgstr "Lățime (cm)"
    377 
    378 #~ msgid "Height (cm)"
    379 #~ msgstr "Înălțime (cm)"
    380 
    381 #~ msgid "Price multiplier"
    382 #~ msgstr "Multiplicator preț"
    383 
    384 #~ msgid "Shipping Price Type"
    385 #~ msgstr "Tipul prețului de transport"
    386 
    387 #~ msgid "Fixed Price"
    388 #~ msgstr "Preț fix"
    389 
    390 #~ msgid "Calculated Price"
    391 #~ msgstr "Preț calculat"
  • europarcel-com/trunk/languages/europarcel-com.pot

    r3406532 r3441645  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2025-11-27 19:43+0200\n"
     9"POT-Creation-Date: 2026-01-17 19:00+0200\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    2323msgstr ""
    2424
    25 #: includes/class-europarcel-shipping.php:106
     25#: includes/class-europarcel-shipping.php:107
    2626msgid "API Key"
    2727msgstr ""
    2828
    29 #: includes/class-europarcel-shipping.php:175
     29#: includes/class-europarcel-shipping.php:195
    3030msgid "Available Shipping Services"
    3131msgstr ""
    3232
    33 #: includes/class-europarcel-shipping.php:93
     33#: includes/class-europarcel-shipping.php:94
    3434msgid "Basic Settings"
    3535msgstr ""
     
    4343msgstr ""
    4444
    45 #: includes/class-europarcel-shipping.php:187
     45#: includes/class-europarcel-shipping.php:207
    4646msgid "Configure address delivery options and pricing"
    4747msgstr ""
    4848
    49 #: includes/class-europarcel-shipping.php:224
     49#: includes/class-europarcel-shipping.php:244
    5050msgid "Configure locker delivery options and pricing"
    5151msgstr ""
    5252
    53 #: includes/class-europarcel-shipping.php:95
     53#: includes/class-europarcel-shipping.php:96
    5454msgid "Configure your connection and basic plugin settings"
    5555msgstr ""
    5656
    57 #: includes/class-europarcel-shipping.php:155
     57#: includes/class-europarcel-shipping.php:175
    5858msgid "Configure your shipping addresses and available services"
    5959msgstr ""
    6060
    61 #: includes/class-europarcel-shipping.php:124
     61#: includes/class-europarcel-shipping.php:132
    6262msgid "Connection Error"
    6363msgstr ""
     
    7171msgstr ""
    7272
    73 #: includes/class-europarcel-shipping.php:169
     73#: includes/class-europarcel-shipping.php:189
    7474msgid ""
    7575"Default billing address for eAWB order imports<br><a href=\"https://"
     
    7979msgstr ""
    8080
    81 #: includes/class-europarcel-shipping.php:161
     81#: includes/class-europarcel-shipping.php:181
    8282msgid ""
    8383"Default sender address for eAWB order imports<br><a href=\"https://"
     
    9696
    9797#: includes/class-europarcel-shipping.php:55
    98 #: includes/class-europarcel-shipping.php:102
     98#: includes/class-europarcel-shipping.php:103
    9999msgid "Europarcel Shipping"
    100100msgstr ""
    101101
    102 #: includes/class-europarcel-shipping.php:259
     102#: includes/class-europarcel-shipping.php:279
    103103msgid "Excluded Shipping Classes for Lockers"
    104104msgstr ""
     
    116116msgstr ""
    117117
    118 #: includes/class-europarcel-shipping.php:205
     118#: includes/class-europarcel-shipping.php:225
    119119msgid "Free Home Delivery Minimum Order Amount"
    120120msgstr ""
    121121
    122 #: includes/class-europarcel-shipping.php:212
     122#: includes/class-europarcel-shipping.php:232
    123123msgid "Free Home Delivery Shipping Classes"
    124124msgstr ""
    125125
    126 #: includes/class-europarcel-shipping.php:242
     126#: includes/class-europarcel-shipping.php:262
    127127msgid "Free Locker Delivery Minimum Order Amount"
    128128msgstr ""
    129129
    130 #: includes/class-europarcel-shipping.php:249
     130#: includes/class-europarcel-shipping.php:269
    131131msgid "Free Locker Delivery Shipping Classes"
    132132msgstr ""
     
    140140msgstr ""
    141141
    142 #: includes/class-europarcel-shipping.php:191
     142#: includes/class-europarcel-shipping.php:211
    143143msgid "Home Delivery Display Name"
    144144msgstr ""
    145145
    146 #: includes/class-europarcel-shipping.php:198
     146#: includes/class-europarcel-shipping.php:218
    147147msgid "Home Delivery Fixed Price"
    148148msgstr ""
    149149
    150 #: includes/class-europarcel-shipping.php:185
     150#: includes/class-europarcel-shipping.php:205
    151151msgid "Home Delivery Settings"
    152152msgstr ""
     
    164164msgstr ""
    165165
     166#: includes/class-europarcel-shipping.php:248
     167msgid "Locker Delivery Display Name"
     168msgstr ""
     169
     170#: includes/class-europarcel-shipping.php:255
     171msgid "Locker Delivery Fixed Price"
     172msgstr ""
     173
     174#: includes/class-europarcel-shipping.php:242
     175msgid "Locker Delivery Settings"
     176msgstr ""
     177
     178#: includes/class-europarcel-shipping.php:100
     179msgid "Method Title"
     180msgstr ""
     181
    166182#: includes/class-europarcel-shipping.php:228
    167 msgid "Locker Delivery Display Name"
    168 msgstr ""
    169 
    170 #: includes/class-europarcel-shipping.php:235
    171 msgid "Locker Delivery Fixed Price"
    172 msgstr ""
    173 
    174 #: includes/class-europarcel-shipping.php:222
    175 msgid "Locker Delivery Settings"
    176 msgstr ""
    177 
    178 #: includes/class-europarcel-shipping.php:99
    179 msgid "Method Title"
    180 msgstr ""
    181 
    182 #: includes/class-europarcel-shipping.php:208
    183183msgid ""
    184184"Minimum order amount required to qualify for free home delivery (leave empty "
     
    186186msgstr ""
    187187
    188 #: includes/class-europarcel-shipping.php:245
     188#: includes/class-europarcel-shipping.php:265
    189189msgid ""
    190190"Minimum order amount required to qualify for free locker delivery (leave "
     
    200200msgstr ""
    201201
    202 #: includes/class-europarcel-shipping.php:126
     202#: includes/class-europarcel-shipping.php:136
    203203msgid "Please verify your API key is correct and try again."
    204204msgstr ""
     
    210210msgstr ""
    211211
    212 #: includes/class-europarcel-shipping.php:167
     212#: includes/class-europarcel-shipping.php:187
    213213msgid "Primary Billing Address"
    214214msgstr ""
    215215
    216 #: includes/class-europarcel-shipping.php:159
     216#: includes/class-europarcel-shipping.php:179
    217217msgid "Primary Sender Address"
    218218msgstr ""
     
    232232
    233233#: includes/class-europarcel-checkout.php:175
    234 #: includes/class-europarcel-checkout.php:322
     234#: includes/class-europarcel-checkout.php:327
    235235msgid "Select Locker"
    236236msgstr ""
    237237
    238 #: includes/class-europarcel-shipping.php:264
     238#: includes/class-europarcel-shipping.php:284
    239239msgid ""
    240240"Select shipping classes that should not have locker delivery options "
     
    242242msgstr ""
    243243
    244 #: includes/class-europarcel-shipping.php:217
     244#: includes/class-europarcel-shipping.php:237
    245245msgid ""
    246246"Select shipping classes that will always have free home delivery regardless "
     
    248248msgstr ""
    249249
    250 #: includes/class-europarcel-shipping.php:254
     250#: includes/class-europarcel-shipping.php:274
    251251msgid ""
    252252"Select shipping classes that will always have free locker delivery "
     
    254254msgstr ""
    255255
    256 #: includes/class-europarcel-shipping.php:177
     256#: includes/class-europarcel-shipping.php:197
    257257msgid ""
    258258"Select the shipping services that will be available to your customers during "
     
    260260msgstr ""
    261261
    262 #: includes/class-europarcel-shipping.php:153
     262#: includes/class-europarcel-shipping.php:173
    263263msgid "Service Configuration"
    264264msgstr ""
    265265
    266 #: includes/class-europarcel-shipping.php:201
     266#: includes/class-europarcel-shipping.php:221
    267267msgid "Set the fixed shipping cost for address deliveries"
    268268msgstr ""
    269269
    270 #: includes/class-europarcel-shipping.php:238
     270#: includes/class-europarcel-shipping.php:258
    271271msgid "Set the fixed shipping cost for locker deliveries"
    272272msgstr ""
    273273
    274 #: includes/class-europarcel-shipping.php:194
     274#: includes/class-europarcel-shipping.php:214
    275275msgid ""
    276276"The shipping method name shown to customers at checkout for home delivery"
    277277msgstr ""
    278278
    279 #: includes/class-europarcel-shipping.php:231
     279#: includes/class-europarcel-shipping.php:251
    280280msgid ""
    281281"The shipping method name shown to customers at checkout for locker delivery"
    282282msgstr ""
    283283
    284 #: includes/class-europarcel-shipping.php:101
     284#: includes/class-europarcel-shipping.php:102
    285285msgid ""
    286286"The shipping method title displayed in the admin shipping zones configuration"
    287287msgstr ""
    288288
    289 #: includes/class-europarcel-shipping.php:126
     289#: includes/class-europarcel-shipping.php:135
    290290msgid "Unable to connect to eAWB."
    291291msgstr ""
    292292
    293 #: includes/class-europarcel-shipping.php:108
     293#: includes/class-europarcel-shipping.php:109
    294294msgid ""
    295295"Your API key for accessing the shipping services.<br><a href=\"https://"
     
    299299
    300300#. translators: %s: Customer name from API
    301 #: includes/class-europarcel-shipping.php:149
     301#: includes/class-europarcel-shipping.php:169
    302302#, php-format
    303303msgid "✅ Connected: %s"
     
    308308msgstr ""
    309309
    310 #: europarcel-com.php:145
     310#: europarcel-com.php:142
    311311msgid "Documentation"
    312312msgstr ""
    313313
    314 #: europarcel-com.php:146
     314#: europarcel-com.php:143
    315315msgid "Video tutorial"
    316316msgstr ""
Note: See TracChangeset for help on using the changeset viewer.