Plugin Directory

Changeset 2566081


Ignore:
Timestamp:
07/16/2021 08:58:13 PM (5 years ago)
Author:
RapidDev
Message:

Update 1.3.1 - Email fixes

Location:
wc-poczta/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wc-poczta/trunk/code/core/Actions.php

    r2566078 r2566081  
    6868  {
    6969    if (isset($response->upgrade_notice) && strlen(trim($response->upgrade_notice)) > 0) {
    70       echo '<br><span class="wc-poczta__update" style="color: #d54e21"><strong>' . __('Important Upgrade Notice', Bootstrap::DOMAIN) . ':</strong><br>' . esc_html($response->upgrade_notice) . '</span>';
     70      echo '<br><span class="wc-poczta__update" style="color: #d54e21"><strong>' . __('Important Upgrade Notice', Bootstrap::DOMAIN) . ':</strong><br>' . strip_tags($response->upgrade_notice) . '</span>';
    7171    }
    7272  }
     
    304304      $html .= '<p><strong>' . __('Pickup point', Bootstrap::DOMAIN) . ':</strong> ' . get_post_meta($orderId, '_wcpoczta_name', true);
    305305      $html .= '<br><strong>' . __('Phone', Bootstrap::DOMAIN) . ':</strong> ' . $order->get_billing_phone();
    306       $html .= '<br><strong>' . __('Weight', Bootstrap::DOMAIN) . ':</strong> ' . ($weight > 0 ? $weight . ' ' . get_option('woocommerce_weight_unit') : __('Unknown', Bootstrap::DOMAIN));
     306      if($weight > 0) {
     307        $html .= '<br><strong>' . __('Weight', Bootstrap::DOMAIN) . ':</strong> ' . $weight . ' ' . get_option('woocommerce_weight_unit');
     308      }
    307309      $html .= '</p>';
    308310
  • wc-poczta/trunk/readme.txt

    r2566078 r2566081  
    22Contributors: RapidDev
    33Donate link: https://www.paypal.com/paypalme/devcc
    4 Tags: e-commerce, paczkomaty, inpost, poczta, polska, żabka, odbior, punkcie, ruch, orlen, woocommerce
     4Tags: e-commerce, paczkomaty, inpost, poczta, polska, żabka, email, punkcie, ruch, orlen, woocommerce
    55Requires at least: 5.0.0
    66Tested up to: 5.8.0
     
    2020- **Add a interactive map of pickup points** available both for parcel machines and collection points in many shops and post offices.
    2121- **Allow free shipping** which is available in the default options, just set the amount.
     22- **Notify by email** information about the selected pickup point will appear in order summary and in the e-mail notification.
    2223- **Customize options** using the add shipping creator. You can change names, amounts, weights, specific types of pickup points and more.
    2324- **Give your customers the convenience** of using modern solutions without compromises.
  • wc-poczta/trunk/wc-poczta.php

    r2566078 r2566081  
    1717 * License: GPL-3.0
    1818 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
    19  * Version: 1.3.0
     19 * Version: 1.3.1
    2020 * Text Domain: wc_poczta
    2121 * Domain Path: /languages
     
    4040  require_once $pluginPath . 'code/core/' . 'ShippingRegistrar.php';
    4141
    42   \WCPoczta\Code\Core\Bootstrap::init($pluginPath, plugin_dir_url(__FILE__), '1.3.156');
     42  \WCPoczta\Code\Core\Bootstrap::init($pluginPath, plugin_dir_url(__FILE__), '1.3.171');
    4343} else {
    4444  add_action('admin_notices', function () {
Note: See TracChangeset for help on using the changeset viewer.