Changeset 2524603
- Timestamp:
- 05/01/2021 01:35:30 PM (5 years ago)
- Location:
- delyvax/trunk
- Files:
-
- 4 edited
-
delyvax.php (modified) (1 diff)
-
functions.php (modified) (3 diffs)
-
includes/delyvax-shipping.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
delyvax/trunk/delyvax.php
r2523812 r2524603 4 4 Plugin URI: https://delyva.com/solutions 5 5 description: The official DelyvaX plugin helps store owners to integrate WooCommerce with [DelyvaX](https://delyva.com/solutions) for seamless service comparison and order processing. 6 Version: 1.1. 26 Version: 1.1.3 7 7 Author: DelyvaX 8 8 Author URI: https://delyva.com/solutions -
delyvax/trunk/functions.php
r2523812 r2524603 63 63 delete_option('delyvax_api_webhook_enable'); 64 64 delete_option('delyvax_api_webhook_key'); 65 66 delete_option('delyvax_shop_name'); 67 delete_option('delyvax_shop_mobile'); 68 delete_option('delyvax_shop_email'); 69 70 delete_option('delyvax_processing_days'); 71 delete_option('delyvax_processing_hours'); 72 delete_option('delyvax_item_type'); 73 delete_option('delyvax_volumetric_constant'); 74 delete_option('delyvax_weight_option'); 75 delete_option('delyvax_rate_adjustment_type'); 76 65 77 delete_option('wc_settings_delyvax_shipping_rate_adjustment'); 66 78 delete_option('delyvax_rate_adjustment_percentage'); … … 204 216 $dx_delivery_date_format = $delivery_date->format('d-M-Y'); 205 217 }else { 206 $delivery_date->modify('+1day');218 // $delivery_date->modify('+0 day'); 207 219 208 220 $dx_delivery_date = $delivery_date->getTimestamp(); … … 621 633 622 634 // The main address pieces: 623 if($store_name == null) $store_name = $order->get_shipping_first_name().' '.$order->get_shipping_last_name(); 624 if($store_email == null) $store_email = $order->get_billing_email(); 625 if($store_phone == null) $store_phone = $order->get_billing_phone(); 635 // if($store_name == null) $store_name = $order->get_shipping_first_name().' '.$order->get_shipping_last_name(); 636 // if($store_email == null) $store_email = $order->get_billing_email(); 637 // if($store_phone == null) $store_phone = $order->get_billing_phone(); 638 639 if($store_name == null) $store_name = $settings['shop_name']; 640 if($store_email == null) $store_email = $settings['shop_email']; 641 if($store_phone == null) $store_phone = $settings['shop_mobile']; 642 626 643 if($store_address_1 == null) $store_address_1 = get_option( 'woocommerce_store_address'); 627 644 if($store_address_2 == null) $store_address_2 = get_option( 'woocommerce_store_address_2'); -
delyvax/trunk/includes/delyvax-shipping.php
r2521227 r2524603 130 130 'type' => 'checkbox', 131 131 'default' => '' 132 ), 133 'shop_name' => array( 134 'title' => __( 'Store - Contact Name', 'delyvax' ), 135 'type' => 'text', 136 'default' => __('Store name', 'delyvax'), 137 'id' => 'delyvax_shop_name', 138 'description' => __( 'e.g. John Woo' ), 139 ), 140 'shop_mobile' => array( 141 'title' => __( 'Store - Contact Mobile No', 'delyvax' ), 142 'type' => 'text', 143 'default' => __('60129908855', 'delyvax'), 144 'id' => 'delyvax_shop_mobile', 145 'description' => __( 'e.g. 60129908855' ), 146 ), 147 'shop_email' => array( 148 'title' => __( 'Store - Contact E-mail', 'delyvax' ), 149 'type' => 'text', 150 'default' => __('', 'delyvax'), 151 'id' => 'delyvax_shop_email', 152 'description' => __( 'e.g. 60129908855' ), 132 153 ), 133 154 'processing_days' => array( -
delyvax/trunk/readme.txt
r2523812 r2524603 4 4 Requires at least: 5.4 5 5 Tested up to: 5.7 6 Stable tag: 1.1. 26 Stable tag: 1.1.3 7 7 Requires PHP: 7.2 8 8 License: GPLv3 … … 30 30 == Changelog == 31 31 32 = 1.1.1 - April 30 2021 = Bug-fixes. 32 = 1.1.3 - April 30 2021 = Add custom shop contact name, mobile no and email. 33 = 1.1.2 - April 30 2021 = Bug-fixes. 33 34 = 1.1.1 - April 26 2021 = Added support for volumetric or actual weight consideration. 34 35 = 1.1.0 - April 19 2021 = Bug fixes, and improvements to comply with Wordpress standards.
Note: See TracChangeset
for help on using the changeset viewer.