Plugin Directory

Changeset 2926676


Ignore:
Timestamp:
06/15/2023 04:23:55 PM (3 years ago)
Author:
Easify
Message:

Version 4.35

Location:
easify-server-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • easify-server-woocommerce/trunk/easify.php

    r2653157 r2926676  
    55 * Plugin URI: http://www.easify.co.uk/wordpress/
    66 * Description: Connects Easify Business Management, EPOS (Electronic Point of Sale) and invoicing software to your WooCommerce enabled WordPress website. Allowing you to keep your online and offline shop's orders and stock control synchronised.
    7  * Version: 4.34
     7 * Version: 4.35
    88 * License: GPL2
    99 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1111 * Author URI: https://www.easify.co.uk/
    1212 * Requires at least: 5.0
    13  * Tested up to: 5.8
    14  * WC tested up to: 5.9
     13 * Tested up to: 6.2.2
     14 * WC tested up to: 7.8
    1515 *
    1616 * @package easify-woocommerce-connector
     
    1919
    2020/**
    21  * Copyright (C) 2022  Easify Ltd (email:support@easify.co.uk)
     21 * Copyright (C) 2023  Easify Ltd (email:support@easify.co.uk)
    2222 * This program is free software; you can redistribute it and/or
    2323 * modify it under the terms of the GNU General Public License
  • easify-server-woocommerce/trunk/includes/class-easify-generic-easify-server.php

    r1893080 r2926676  
    22
    33/**
    4  * Copyright (C) 2017  Easify Ltd (email:support@easify.co.uk)
     4 * Copyright (C) 2023  Easify Ltd (email:support@easify.co.uk)
    55 * This program is free software; you can redistribute it and/or
    66 * modify it under the terms of the GNU General Public License
     
    2828 *
    2929 * @class       Easify_Generic_Easify_Server
    30  * @version     4.10
     30 * @version     4.35
    3131 * @package     easify-woocommerce-connector
    3232 * @author      Easify
     
    200200
    201201        if ($info['http_code'] != '200') {
     202            if (curl_error($ch)) {
     203                $result = 'curl_error:' . curl_error($ch);
     204                Easify_Logging::Log($result);
     205            }
     206
    202207            Easify_Logging::Log('Could not communicate with Easify Server -  http response code: ' . $info['http_code']);
    203208            throw new Exception('Could not communicate with Easify Server -  http response code: ' . $info['http_code']);
  • easify-server-woocommerce/trunk/includes/class-easify-wc-plugin-settings-page.php

    r2653157 r2926676  
    11<?php
    22/**
    3  * Copyright (C) 2019  Easify Ltd (email:support@easify.co.uk)
     3 * Copyright (C) 2023  Easify Ltd (email:support@easify.co.uk)
    44 * This program is free software; you can redistribute it and/or
    55 * modify it under the terms of the GNU General Public License
     
    3030 *
    3131 * @class       Easify_WC__Plugin_Settings_Page
    32  * @version     4.34
     32 * @version     4.35
    3333 * @package     easify-woocommerce-connector
    3434 * @author      Easify
     
    232232                }
    233233            }
    234 
    235             // close wrapper
    236             echo '</h2></div>';
     234            ?>
     235            </h2>
     236        <?php
    237237        }
    238238
     
    317317                    // If WooCommerce not active then warn user...     
    318318                    ?>           
    319                     <h3 class="nav-tab-wrapper easify-warning">WooCommerce Plugin is not installed, or has not been activated.</h2>
     319                    <h3 class="nav-tab-wrapper easify-warning">WooCommerce Plugin is not installed, or has not been activated.</h3>
    320320                        <div>
    321321                            <p>You will need to make sure the WooCommerce plugin has been installed
     
    331331                // Permalinks not enabled...     
    332332                ?>           
    333                 <h3 class="nav-tab-wrapper easify-warning">Permalinks NOT enabled...</h2>
     333                <h3 class="nav-tab-wrapper easify-warning">Permalinks NOT enabled...</h3>
    334334            <div>
    335335                <p>The Easify WooCommerce plugin requires that Permalinks be enabled in WordPress settings.</p>
     
    11471147                // Easify SKU must be a number, if not a number warn user and don't save value in database
    11481148                $type = 'error';
    1149                 $message = __($mapping_name . ' Easify SKU ' . $value . ' is not a valid number.', 'require-featured-image');
     1149                $message = __(' Easify SKU ' . $value . ' is not a valid number.', 'require-featured-image');
    11501150                add_settings_error(
    11511151                        'easify_discount_sku', esc_attr('settings_updated'), $message, $type
     
    11761176                    // Warn user...
    11771177                    $type = 'error';
    1178                     $message = __($mapping_name . ' Easify SKU ' . $value . ' was not found in Easify Server. Make sure a product with this SKU exists in Easify.', 'require-featured-image');
     1178                    $message = __(' Easify SKU ' . $value . ' was not found in Easify Server. Make sure a product with this SKU exists in Easify.', 'require-featured-image');
    11791179                    add_settings_error(
    11801180                            'easify_discount_sku', esc_attr('settings_updated'), $message, $type
    11811181                    );
    11821182
    1183                     $input['easify_discount_sku'][$mapping_name] = ''; 
     1183                    $input['easify_discount_sku'] = '';
    11841184                   
    11851185                    return $input;
     
    11951195            if (empty($product->SKU)) {
    11961196                $type = 'error';
    1197                 $message = __($mapping_name . ' Easify SKU ' . $value . ' was not found in Easify Server. Make sure a product with this SKU exists in Easify.', 'require-featured-image');
     1197                $message = __(' Easify SKU ' . $value . ' was not found in Easify Server. Make sure a product with this SKU exists in Easify.', 'require-featured-image');
    11981198                add_settings_error(
    11991199                        'easify_discount_sku', esc_attr('settings_updated'), $message, $type
    12001200                );
    12011201
    1202                 $input['easify_discount_sku'][$mapping_name] = '';
     1202                $input['easify_discount_sku'] = '';
    12031203            }
    12041204        }
     
    12741274                        $this->tool_tip('shipping-local-delivery-tip');
    12751275                        ?>
     1276                    </td>
     1277                </tr>
     1278                <tr>
     1279                    <td>
     1280                        Local Pickup
     1281                    </td>
     1282                    <td>
     1283                        <?php
     1284                        $this->setting_html_easify_shipping_sku('local_pickup');
     1285                        $this->tool_tip('shipping-local-pickup-tip');
     1286                        ?>
    12761287                    </td>
    12771288                </tr>
     
    19841995                    Easify SKU in each box here.</p>   
    19851996                <?= $this->tooltip_click_here_link('shipping-local') ?>                 
    1986             </div>             
     1997            </div>
     1998
     1999            <div id="shipping-local-pickup-tip">
     2000                <h3>Local Pickup Mapping</h3>
     2001                <p>When an order is placed via WooCommerce, it will be sent to your Easify Server and if the WooCommerce order
     2002                    has a shipping method of <b>Local Pickup</b>, the Easify SKU you specify here will be added to the order in Easify.</p>
     2003                <p>If you want to support Local Pickup in Easify, create a new product in Easify named "Local Pickup" and
     2004                    enter the Easify SKU of that product here.</p>
     2005                <p>When the <b>Local Pickup</b> Shipping item is added to the order in Easify, its value will be set to the shipping cost that
     2006                    was calculated by WooCommerce.</p>
     2007                <p><b>Note: </b>You don't have to create a separate Easify Product for each shipping method. If you prefer
     2008                    you can create one product in Easify for all of your WooCommerce shipping methods and use the same
     2009                    Easify SKU in each box here.</p>
     2010                <?= $this->tooltip_click_here_link('shipping-local-pickup') ?>
     2011            </div>
    19872012
    19882013            <div id="shipping-default-tip">
  • easify-server-woocommerce/trunk/readme.txt

    r2653157 r2926676  
    44Tags: easify, epos, epos software, stock control software, accounting software, invoicing software, small business software, ecommerce, e-commerce, woothemes, wordpress ecommerce, woocommerce, shopping cart
    55Requires at least: 5.0
    6 Tested up to: 5.8
    7 Stable tag: 4.34
     6Tested up to: 6.2.2
     7Stable tag: 4.35
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 WC tested up to: 5.9
     10WC tested up to: 7.8
    1111
    1212Connects Easify V4.x Small Business Software to your WooCommerce online shop,
     
    101101
    102102== Changelog ==
     103= 4.35 =
     104* Added support for WooCommerce Local Pickup delivery option.
     105* Improved logging to assist with troubleshooting Easify Server connection problems.
     106* Tested compatibility with PHP 8.x
    103107= 4.34 =
    104108* Resolved issue where disabling stock control for a product in Easify still caused stock levels to be uploaded to
     
    209213
    210214== Upgrade Notice ==
    211 = 4.34 =
    212 * Resolved issue where disabling stock control for a product in Easify still caused stock levels to be uploaded to
    213 * website when product modified in Easify.
     215= 4.35 =
     216* Added support for WooCommerce Local Pickup delivery option.
     217* Improved logging to assist with troubleshooting Easify Server connection problems.
     218* Tested compatibility with PHP 8.x
Note: See TracChangeset for help on using the changeset viewer.