Changeset 3762753
- Timestamp:
- 10/24/2026 05:04:56 AM (7 hours ago)
- Location:
- estimate-delivery-date-for-woocommerce
- Files:
-
- 118 added
- 6 edited
-
tags/4.11.63 (added)
-
tags/4.11.63/LICENSE.txt (added)
-
tags/4.11.63/README.txt (added)
-
tags/4.11.63/admin (added)
-
tags/4.11.63/admin/class-analytics.php (added)
-
tags/4.11.63/admin/class-customfields.php (added)
-
tags/4.11.63/admin/class-pi-edd-admin.php (added)
-
tags/4.11.63/admin/class-pi-edd-design.php (added)
-
tags/4.11.63/admin/class-pi-edd-holidays.php (added)
-
tags/4.11.63/admin/class-pi-edd-menu.php (added)
-
tags/4.11.63/admin/class-pi-edd-message.php (added)
-
tags/4.11.63/admin/class-pi-edd-option.php (added)
-
tags/4.11.63/admin/class-pi-edd-shipping.php (added)
-
tags/4.11.63/admin/class-pi-edd-translate.php (added)
-
tags/4.11.63/admin/class-pi-edd-woo.php (added)
-
tags/4.11.63/admin/css (added)
-
tags/4.11.63/admin/css/admin.css (added)
-
tags/4.11.63/admin/css/admin.css.map (added)
-
tags/4.11.63/admin/css/bootstrap.css (added)
-
tags/4.11.63/admin/css/images (added)
-
tags/4.11.63/admin/css/images/ui-icons_222222_256x240.png (added)
-
tags/4.11.63/admin/css/images/ui-icons_454545_256x240.png (added)
-
tags/4.11.63/admin/css/jquery-ui.css (added)
-
tags/4.11.63/admin/css/jquery-ui.multidatespicker.css (added)
-
tags/4.11.63/admin/css/jquery.timepicker.min.css (added)
-
tags/4.11.63/admin/css/promotion.css (added)
-
tags/4.11.63/admin/css/scss (added)
-
tags/4.11.63/admin/css/scss/admin.scss (added)
-
tags/4.11.63/admin/css/scss/custom-fields.scss (added)
-
tags/4.11.63/admin/css/scss/custom.scss (added)
-
tags/4.11.63/admin/css/scss/dynamic-method-page.scss (added)
-
tags/4.11.63/admin/css/scss/form-field-layout.scss (added)
-
tags/4.11.63/admin/css/scss/grid.scss (added)
-
tags/4.11.63/admin/css/scss/license.scss (added)
-
tags/4.11.63/admin/css/scss/plugins-page.scss (added)
-
tags/4.11.63/admin/css/scss/promotion.scss (added)
-
tags/4.11.63/admin/css/scss/shipping-class-page.scss (added)
-
tags/4.11.63/admin/css/scss/shipping-days-setting.scss (added)
-
tags/4.11.63/admin/css/scss/side-menu.scss (added)
-
tags/4.11.63/admin/css/scss/translation-page.scss (added)
-
tags/4.11.63/admin/css/scss/troubleshoot-page.scss (added)
-
tags/4.11.63/admin/img (added)
-
tags/4.11.63/admin/img/bg.svg (added)
-
tags/4.11.63/admin/img/chat.png (added)
-
tags/4.11.63/admin/img/icon.svg (added)
-
tags/4.11.63/admin/img/pi-web-solution.png (added)
-
tags/4.11.63/admin/img/pi-web-solution.svg (added)
-
tags/4.11.63/admin/img/pi.png (added)
-
tags/4.11.63/admin/img/pi.svg (added)
-
tags/4.11.63/admin/img/presets (added)
-
tags/4.11.63/admin/img/presets/preset-1.png (added)
-
tags/4.11.63/admin/img/presets/preset-10.png (added)
-
tags/4.11.63/admin/img/presets/preset-11.png (added)
-
tags/4.11.63/admin/img/presets/preset-2.png (added)
-
tags/4.11.63/admin/img/presets/preset-3.png (added)
-
tags/4.11.63/admin/img/presets/preset-4.png (added)
-
tags/4.11.63/admin/img/presets/preset-5.png (added)
-
tags/4.11.63/admin/img/presets/preset-6.png (added)
-
tags/4.11.63/admin/img/presets/preset-7.png (added)
-
tags/4.11.63/admin/img/presets/preset-8.png (added)
-
tags/4.11.63/admin/img/presets/preset-9.png (added)
-
tags/4.11.63/admin/index.php (added)
-
tags/4.11.63/admin/js (added)
-
tags/4.11.63/admin/js/jquery-ui.multidatespicker.js (added)
-
tags/4.11.63/admin/js/jquery.timepicker.min.js (added)
-
tags/4.11.63/admin/js/jsrender.min.js (added)
-
tags/4.11.63/admin/js/pisol-shipping.js (added)
-
tags/4.11.63/admin/js/pisol-translate.js (added)
-
tags/4.11.63/admin/js/presets.js (added)
-
tags/4.11.63/admin/partials (added)
-
tags/4.11.63/admin/partials/coreshippingmethod-tab-content.php (added)
-
tags/4.11.63/admin/partials/default-shipping-days.php (added)
-
tags/4.11.63/includes (added)
-
tags/4.11.63/includes/Pro_Warning.php (added)
-
tags/4.11.63/includes/class-help.php (added)
-
tags/4.11.63/includes/class-pi-checking.php (added)
-
tags/4.11.63/includes/class-pi-edd-activator.php (added)
-
tags/4.11.63/includes/class-pi-edd-deactivator.php (added)
-
tags/4.11.63/includes/class-pi-edd-i18n.php (added)
-
tags/4.11.63/includes/class-pi-edd-loader.php (added)
-
tags/4.11.63/includes/class-pi-edd.php (added)
-
tags/4.11.63/includes/compatible-plugin-message.php (added)
-
tags/4.11.63/includes/conflict-fixer.php (added)
-
tags/4.11.63/includes/includes.php (added)
-
tags/4.11.63/includes/index.php (added)
-
tags/4.11.63/includes/pisol.class.form.php (added)
-
tags/4.11.63/includes/review-icon.svg (added)
-
tags/4.11.63/includes/review.php (added)
-
tags/4.11.63/index.php (added)
-
tags/4.11.63/languages (added)
-
tags/4.11.63/languages/pi-edd.pot (added)
-
tags/4.11.63/pi-edd.php (added)
-
tags/4.11.63/public (added)
-
tags/4.11.63/public/class-calculate-estimate.php (added)
-
tags/4.11.63/public/class-common.php (added)
-
tags/4.11.63/public/class-edd-message-engine.php (added)
-
tags/4.11.63/public/class-edd-order-estimate.php (added)
-
tags/4.11.63/public/class-edd-product-controller.php (added)
-
tags/4.11.63/public/class-edd-product.php (added)
-
tags/4.11.63/public/class-edd-template.php (added)
-
tags/4.11.63/public/class-min-max-days.php (added)
-
tags/4.11.63/public/class-order.php (added)
-
tags/4.11.63/public/class-pi-edd-public.php (added)
-
tags/4.11.63/public/class-shipping-estimate-calculator.php (added)
-
tags/4.11.63/public/class-shipping-zone.php (added)
-
tags/4.11.63/public/css (added)
-
tags/4.11.63/public/css/pi-edd-public.css (added)
-
tags/4.11.63/public/img (added)
-
tags/4.11.63/public/img/calendar.png (added)
-
tags/4.11.63/public/img/clock.png (added)
-
tags/4.11.63/public/img/package.png (added)
-
tags/4.11.63/public/img/truck.png (added)
-
tags/4.11.63/public/index.php (added)
-
tags/4.11.63/public/js (added)
-
tags/4.11.63/public/js/pi-edd-ajax.js (added)
-
tags/4.11.63/public/js/pi-edd-public.js (added)
-
tags/4.11.63/public/partials (added)
-
tags/4.11.63/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-pi-edd-menu.php (modified) (1 diff)
-
trunk/admin/class-pi-edd-message.php (modified) (7 diffs)
-
trunk/admin/class-pi-edd-option.php (modified) (4 diffs)
-
trunk/admin/partials/coreshippingmethod-tab-content.php (modified) (6 diffs)
-
trunk/pi-edd.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
estimate-delivery-date-for-woocommerce/trunk/README.txt
r3761505 r3762753 4 4 Requires at least: 3.0.1 5 5 Tested up to: 7.1 6 Stable tag: 4.11.6 26 Stable tag: 4.11.63 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 244 244 == Change log == 245 245 246 = 4.11.63 = 247 * text changes 248 246 249 = 4.11.62 = 247 250 * Special day badge on estimate date -
estimate-delivery-date-for-woocommerce/trunk/admin/class-pi-edd-menu.php
r3722981 r3762753 42 42 43 43 function plugin_menu(){ 44 45 $this->menu = add_submenu_page( 46 'woocommerce', 47 __( 'Estimate Date', 'pi-edd' ), 48 'Estimate delivery date', 49 'manage_options', 50 'pi-edd', 51 array($this, 'menu_option_page'), 52 6 53 ); 44 45 $this->menu = add_menu_page(__( 'Estimate Date', 'pi-edd' ), __( 'Estimate Date', 'pi-edd' ), 'manage_options', 'pi-edd', array($this, 'menu_option_page'), PISOL_EDD_FOLDER_URL.'/admin/img/pi.svg' , 46 6 ); 54 47 55 48 add_action("load-".$this->menu, array($this,"bootstrap_style")); -
estimate-delivery-date-for-woocommerce/trunk/admin/class-pi-edd-message.php
r3761505 r3762753 15 15 private $this_tab = 'message'; 16 16 17 private $tab_name = "Advance setting";17 private $tab_name = "Advanced setting"; 18 18 19 19 private $setting_key = 'message_settting'; … … 54 54 array('field'=>'pi_show_product_page', 'label'=>__('Show estimate on single product page','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('Show estimate date on product page','pi-edd')), 55 55 56 array('field'=>'pi_show_single_estimate_by_ajax', 'label'=>__('Load estimate by Ajax (to over come page caching)','pi-edd'),'type'=>'switch', 'default'=> 1, 'desc'=>__('Ajax will help you avoid product page caching, so it will show correct estimate in spite of page caching','pi-edd')),56 array('field'=>'pi_show_single_estimate_by_ajax', 'label'=>__('Load estimate by Ajax (to overcome page caching)','pi-edd'),'type'=>'switch', 'default'=> 1, 'desc'=>__('Ajax will help you avoid product page caching, so it will show correct estimate in spite of page caching','pi-edd')), 57 57 58 58 array('field'=>'pi_edd_product_page_show_estimate_days_count', 'label'=>__('Show estimate as days instead of exact date','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Instead of showing estimate as date <br>Estimate as a date E.g: Estimated delivery by 24 Nov<br>Estimate as a day count E.g: delivery in next 2 days <br> E.g Delivery in next 2 to 6 days','pi-edd'),'pro'=>true), … … 63 63 array('field'=>'title', 'class'=> 'bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Shop / Category page setting",'pi-edd'), 'type'=>"setting_category"), 64 64 array('field'=>'pi_show_product_loop_page', 'label'=>__('Show estimate on product loop page','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('Show estimate date on shop page or product category page','pi-edd')), 65 array('field'=>'pi_show_loop_estimate_by_ajax_1', 'label'=>__('Load estimate by Ajax (to overcome page caching)','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Ajax will help you avoid archive/category page caching, so it will show correct estimate in spite of page caching','pi-edd'), 'pro'=>true),65 array('field'=>'pi_show_loop_estimate_by_ajax_1', 'label'=>__('Load estimate by Ajax (to overcome page caching)','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Ajax will help you avoid archive/category page caching, so it will show correct estimate in spite of page caching','pi-edd'), 'pro'=>true), 66 66 array('field'=>'pi_edd_loop_page_show_estimate_days_count', 'label'=>__('Show estimate as days instead of exact date','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Instead of showing estimate as date <br>Estimate as a date E.g: Estimated delivery by 24 Nov<br>Estimate as a day count E.g: delivery in next 2 days <br> E.g Delivery in next 2 to 6 days','pi-edd'),'pro'=>true), 67 67 array('field'=>'pi_loop_page_text', 'label'=>__('Estimated date, Wording on category / shop page','pi-edd'),'type'=>'text', 'default'=>'Estimated delivery date', 'desc'=>__('This will be shown besides the estimated date on category or shop page, PRO version allows you to show more custom message using short code {date}, {icon}','pi-edd')), 68 68 array('field'=>'pi_loop_page_text_range', 'label'=>__('Estimated date, Wording on category / shop page, for date range','pi-edd'),'type'=>'text', 'default'=>'Estimated delivery between', 'desc'=>__('This will be shown besides the estimated date range on category or shop page when showing date range, PRO version allows you to show more custom message using short code {min_date}, {max_date}, {icon}','pi-edd')), 69 array('field'=>'pi_loop_page_position', 'label'=>__('Position on category / shop page','pi-edd'),'type'=>'select', 'default'=>'woocommerce_after_shop_loop_item_title', 'desc'=>__('Estimate position on single productpage','pi-edd'), 'value'=>$this->category_location),69 array('field'=>'pi_loop_page_position', 'label'=>__('Position on category / shop page','pi-edd'),'type'=>'select', 'default'=>'woocommerce_after_shop_loop_item_title', 'desc'=>__('Estimate position on category / shop page','pi-edd'), 'value'=>$this->category_location), 70 70 71 71 array('field'=>'title', 'class'=> 'bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Cart / Checkout page setting",'pi-edd'), 'type'=>"setting_category"), … … 74 74 array('field'=>'pi_show_checkout_page', 'label'=>__('Show estimate on checkout page for each product','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('Show estimate date on checkout page for each product','pi-edd')), 75 75 76 array('field'=>'pi_edd_cart_page_show_single_estimate', 'label'=>__('Add estimate date for each product in stored order and email','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('It will add estimate for each product in : order stored in backend, order email sendto admin and customer','pi-edd')),76 array('field'=>'pi_edd_cart_page_show_single_estimate', 'label'=>__('Add estimate date for each product in stored order and email','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('It will add estimate for each product in: order stored in backend, order email sent to admin and customer','pi-edd')), 77 77 78 78 array('field'=>'pi_edd_cart_page_show_estimate_days_count', 'label'=>__('Show estimate as days instead of exact date','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Instead of showing estimate as date <br>Estimate as a date E.g: Estimated delivery by 24 Nov<br>Estimate as a day count E.g: delivery in next 2 days <br> E.g Delivery in next 2 to 6 days','pi-edd'),'pro'=>true), 79 79 80 array('field'=>'pi_edd_cart_page_show_overall_estimate', 'label'=>__('Show estimate for complete cart or order (upgrade to pro version 4.0.2)','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete cart, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 thethe estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true),80 array('field'=>'pi_edd_cart_page_show_overall_estimate', 'label'=>__('Show estimate for complete cart or order (upgrade to pro version 4.0.2)','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete cart, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 the estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true), 81 81 82 82 … … 84 84 array('field'=>'pi_cart_page_text_range', 'label'=>__('Estimated date, Wording on cart / checkout page, for date range','pi-edd'),'type'=>'text', 'default'=>'Estimated delivery between', 'desc'=>__('This will be shown besides the estimated date range on cart or checkout page when showing date range, PRO version allows you to show more custom message using short code {min_date}, {max_date}','pi-edd')), 85 85 86 array('field'=>'title', 'class'=> 'pro-feature bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Show estimated time below each shipping method son cart/checkout",'pi-edd'), 'type'=>"setting_category"),86 array('field'=>'title', 'class'=> 'pro-feature bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Show estimated time below each shipping method on cart/checkout",'pi-edd'), 'type'=>"setting_category"), 87 87 88 array('field'=>'pi_edd_show_estimate_on_each_method', 'label'=>__('Add estimate date for each of the shipping method below their name on cart/checkout page','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('This will show the estimated time for each shipping method in a zone just below their name, so the user can select the based needed method for faster delivery','pi-edd')),88 array('field'=>'pi_edd_show_estimate_on_each_method', 'label'=>__('Add estimate date for each of the shipping methods below their name on cart/checkout page','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('This will show the estimated time for each shipping method in a zone just below their name, so the user can select the based needed method for faster delivery','pi-edd')), 89 89 90 90 array('field'=>'pi_edd_estimate_message_below_shipping_method_range', 'label'=>__('Message template to show range of estimated time below each shipping method','pi-edd'),'type'=>'text', 'default'=>'Delivery by {min_date} - {max_date}', 'desc'=>__('This will be shown below each shipping method name on cart/checkout page, using short code {min_date}, {min_days}, {max_date}, {max_days} to show estimate as number of days count','pi-edd')), 91 array('field'=>'pi_edd_estimate_message_below_shipping_method_single_date', 'label'=>__('This template is used when Min and Max estimate date are same','pi-edd'),'type'=>'text', 'default'=>'Delivery by {date}', 'desc'=>__('This message will be used when the min and max estimate is same date, and using the range template will be useless <strong>(E.g this will be meaning less Delivery by 3rd Mach - 3rd March) so we use this template</strong>, use short code {date} or {days}','pi-edd')),91 array('field'=>'pi_edd_estimate_message_below_shipping_method_single_date', 'label'=>__('This template is used when Min and Max estimate dates are the same','pi-edd'),'type'=>'text', 'default'=>'Delivery by {date}', 'desc'=>__('This message will be used when the min and max estimate is same date, and using the range template will be useless <strong>(E.g this will be meaningless Delivery by 3rd March - 3rd March) so we use this template</strong>, use short code {date} or {days}','pi-edd')), 92 92 93 array('field'=>'pi_edd_estimate_block_support', 'label'=>__('Enable this if your Cart or Checkout page is made using WooCommerce blocks','pi-edd'),'type'=>'switch', 'default'=> 1, 'desc'=>__('WooCommerce block are not supported directly you need to enable this setting to enable support for them','pi-edd')),93 array('field'=>'pi_edd_estimate_block_support', 'label'=>__('Enable this if your Cart or Checkout page is made using WooCommerce blocks','pi-edd'),'type'=>'switch', 'default'=> 1, 'desc'=>__('WooCommerce blocks are not supported directly you need to enable this setting to enable support for them','pi-edd')), 94 94 95 95 array('field'=>'title', 'class'=> 'bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Days Left Until Special Day",'pi-edd'), 'type'=>"setting_category"), … … 107 107 array('field'=>'pi_edd_email_show_estimate_days_count', 'label'=>__('Show estimate as days instead of exact date in Email and order detail','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Instead of showing estimate as date <br>Estimate as a date E.g: Estimated delivery by 24 Nov<br>Estimate as a day count E.g: delivery in next 2 days <br> E.g Delivery in next 2 to 6 days','pi-edd'), 'pro'=>true), 108 108 109 array('field'=>'pi_edd_show_overall_estimate_in_email', 'label'=>__('Show estimate for complete order in order email','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete order in order email, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 thethe estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true),109 array('field'=>'pi_edd_show_overall_estimate_in_email', 'label'=>__('Show estimate for complete order in order email','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete order in order email, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 the estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true), 110 110 111 array('field'=>'pi_edd_show_overall_estimate_in_order_success_page', 'label'=>__('Show estimate for complete order in order success page','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete order on order success page, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 thethe estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true),111 array('field'=>'pi_edd_show_overall_estimate_in_order_success_page', 'label'=>__('Show estimate for complete order in order success page','pi-edd'),'type'=>'switch', 'default'=>1, 'desc'=>__('When you enable this it will show the estimate time for the complete order on order success page, (it takes estimate of all the product in cart and show the largest date as the estimate, <strong>if estimate date of Product A = March 5, Product B = March 7 the estimate of complete cart will be March 7</strong>)','pi-edd'), 'pro'=>true), 112 112 113 113 array('field'=>'pi_overall_estimate_text', 'label'=>__('Overall estimate wording','pi-edd'),'type'=>'text', 'default'=>'Order estimated delivery date {date}', 'desc'=>__('This will show the overall estimate of the order on checkout page and order email, and stored in the order using short code {date}, {days} to show estimate as number of days count','pi-edd'), 'pro'=>true), … … 148 148 149 149 function tab(){ 150 $this->tab_name = __('Advance setting','pi-edd');150 $this->tab_name = __('Advanced setting','pi-edd'); 151 151 ?> 152 152 <a class=" px-3 text-light d-flex align-items-center border-left border-right <?php echo ($this->active_tab == $this->this_tab ? 'bg-primary' : 'bg-secondary'); ?>" href="<?php echo esc_url( admin_url( 'admin.php?page='.sanitize_text_field($_GET['page']).'&tab='.$this->this_tab ) ); ?>"> -
estimate-delivery-date-for-woocommerce/trunk/admin/class-pi-edd-option.php
r3684096 r3762753 62 62 array('field'=>'title', 'class'=> 'bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Basic setting",'pi-edd'), 'type'=>"setting_category"), 63 63 array('field'=>'pi_edd_enable_estimate', 'label'=>__('Enable estimate','pi-edd'),'type'=>'switch', 'default'=> 1, 'desc'=>__('Using this you can disable the estimate without disabling the plugin','pi-edd')), 64 array('field'=>'pi_defaul_shipping_zone', 'label'=>__('Default shipping zone','pi-edd'),'type'=>'select', 'default'=> 0, 'value'=>$this->shipping_zones, 'desc'=>__('This shipping zone will be used as default to calculate the estimated delivery time, till user select the reshipping address','pi-edd')),64 array('field'=>'pi_defaul_shipping_zone', 'label'=>__('Default shipping zone','pi-edd'),'type'=>'select', 'default'=> 0, 'value'=>$this->shipping_zones, 'desc'=>__('This shipping zone will be used as default to calculate the estimated delivery time, till user select their shipping address','pi-edd')), 65 65 66 66 array('field'=>'pi_general_range', 'label'=>__('Range of delivery date','pi-edd'),'type'=>'switch', 'default'=>0, 'desc'=>__('Show a range of delivery date based on minimum and maximum shipping days','pi-edd')), … … 68 68 array('field'=>'pi_edd_min_max', 'label'=>__('Show the best/worst estimate delivery time','pi-edd'),'type'=>'select', 'default'=>'min', 'value'=>array('min'=>__('Best estimate','pi-edd'), 'max'=>__('Worst estimate','pi-edd')), 'desc'=>__('Gets the minimum or maximum shipping days from the different shipping methods in the selected shipping zone','pi-edd')), 69 69 70 array('field'=>'pi_general_date_format', 'label'=>__('Date format','pi-edd'),'type'=>'select', 'default'=>'Y/m/d', 'desc'=>__('Get more date format option in <strong>PRO VERSION</strong>','pi-edd'), 'value'=>$this->date_format ),70 array('field'=>'pi_general_date_format', 'label'=>__('Date format','pi-edd'),'type'=>'select', 'default'=>'Y/m/d', 'desc'=>__('Get more date format options in <strong>PRO VERSION</strong>','pi-edd'), 'value'=>$this->date_format ), 71 71 72 72 array('field'=>'pi_shipping_breakup_time', 'label'=>__('Last shipping time of the day (order coming after this time will be shipped next date)','pi-edd'),'type'=>'text','desc'=>__('If the order is placed before this time then you can ship the product today, and so today will be counted in calculating the estimate, and if the order is placed after this time then the shipping can be done next date, so today will not be counted for estimate calculation, if you leave this blank counting will be done from next date','pi-edd')), … … 76 76 77 77 array('field'=>'title', 'class'=> 'bg-dark opacity-75 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=>__("Select days to skip in counting of holidays 78 (most shipping don't work on weekends so you can select Saturday, Sunday and all the saturday and sundays will not be counted in calculating estimated shipping date)",'pi-edd'), 'type'=>"setting_category"),78 (most shipping don't work on weekends so you can select Saturday, Sunday and all the Saturday and Sundays will not be counted in calculating estimated shipping date)",'pi-edd'), 'type'=>"setting_category"), 79 79 80 80 array('field'=>'pi_days_of_week', 'label'=>__('Select days of week when your shipping is closed','pi-edd'),'type'=>'multiselect', 'default'=> [], 'desc'=>__('E.g: If your shipping company is closed on say Saturday and Sunday then add that in this field','pi-edd'), 'value' => $this->days(), 'pro'=>true), 81 81 82 82 array('field'=>'pi_shop_closed_days', 'label'=>__('Select days of week when your Shop is closed','pi-edd'),'type'=>'multiselect', 'default'=> [], 'desc'=>__('(This will only affect your shipping estimate if the shipping start date holiday for the Shop)<br> 83 E.g: If your shop is closed on say Saturday and sunday then add that in this field:','pi-edd'), 'value' => $this->days(), 'pro' => true),83 E.g: If your shop is closed on say Saturday and Sunday then add that in this field:','pi-edd'), 'value' => $this->days(), 'pro' => true), 84 84 ); 85 85 $this->register_settings(); … … 144 144 function tab_content(){ 145 145 if(count($this->shipping_zones) <= 1){ 146 echo '<div class="alert alert-primary mt-2">You must have shipping zones to use this setting, so create shipping zone in WooCommerce</div>';146 echo '<div class="alert alert-primary mt-2">You must have shipping zones to use this setting, so create a shipping zone in WooCommerce</div>'; 147 147 return; 148 148 } -
estimate-delivery-date-for-woocommerce/trunk/admin/partials/coreshippingmethod-tab-content.php
r3684096 r3762753 4 4 <h2 class="pisol-field-title mt-0 mb-0 text-light font-weight-light h4"><?php esc_html_e('Shipping days','pi-edd'); ?></h2> 5 5 </div> 6 <div class="pisol-field-description" style="margin-top:5px;"><small style="font-style: italic;"><?php echo wp_kses_post( __('Set Minimum and Maximum Shipping days for each of the Shipping methods, in each of the Shipping Zones. Once done then go to Basic setting and set "<u>Default shipping zone</u>" without this it wont show estimate','pi-edd') ); ?></small></div>6 <div class="pisol-field-description" style="margin-top:5px;"><small style="font-style: italic;"><?php echo wp_kses_post( __('Set Minimum and Maximum Shipping days for each of the Shipping methods, in each of the Shipping Zones. Once done, then go to Basic settings and set "<u>Default shipping zone</u>" without this it won\'t show estimate','pi-edd') ); ?></small></div> 7 7 </div> 8 8 <div class="pisol-error mt-3"> … … 23 23 <div class="shipping-block-content"> 24 24 <div id="pisol-shipping-methods-info" class="mt-3"> 25 <p class="text-center mt-4"><?php echo wp_kses_post('First Selectshipping zone in 🟠 Step 1','pi-edd'); ?></p>25 <p class="text-center mt-4"><?php echo wp_kses_post('First select a shipping zone in 🟠 Step 1','pi-edd'); ?></p> 26 26 </div> 27 27 <?php $this->shippingMethods(); ?> … … 31 31 <div class="col-12 col-sm-12 mt-4"> 32 32 <div class="shipping-block shadow"> 33 <div class="shipping-header"><span class="shipping-step"><?php esc_html_e('Step 3','pi-edd'); ?></span><span class="shipping-step-description"><?php esc_html_e('Set Shipping days (Set min and max shipping days to 0, if you don\'t want to show estimate date for this shipping method)','pi-edd'); ?></span></div>33 <div class="shipping-header"><span class="shipping-step"><?php esc_html_e('Step 3','pi-edd'); ?></span><span class="shipping-step-description"><?php esc_html_e('Set Shipping days (Set min and max shipping days to 0, if you don\'t want to show estimated date for this shipping method)','pi-edd'); ?></span></div> 34 34 <div class="shipping-block-content"> 35 35 <div class="pisol-error mt-3"></div> … … 57 57 <div class="form-group row align-items-center free-version" id="pisol_cutoff_time_container"> 58 58 <label class="col-sm-12 col-form-label"><?php esc_html_e('Pickup cutoff time','pi-edd'); ?> 59 <small><?php esc_html_e('(set different cutoff time for this method)','pi-edd'); ?></small>59 <small><?php esc_html_e('(set a different cutoff time for this method)','pi-edd'); ?></small> 60 60 </label> 61 61 <div class="col-sm-12"> … … 65 65 66 66 <div class="form-group row align-items-center free-version"> 67 <label class="col-sm-7 col-form-label" for="pisol-form-overwrite_global_shipping_off_days"><?php esc_html_e('Non working days for this shipping method','pi-edd'); ?>67 <label class="col-sm-7 col-form-label" for="pisol-form-overwrite_global_shipping_off_days"><?php esc_html_e('Non-working days for this shipping method','pi-edd'); ?> 68 68 </label> 69 69 <div class="col-sm-5"> … … 74 74 <div class="form-group row align-items-center free-version" id="non-working-dates"> 75 75 <div class="col-sm-12"> 76 <label for="holiday_dates"><?php esc_html_e('Shipping method holiday sdates','pi-edd'); ?>76 <label for="holiday_dates"><?php esc_html_e('Shipping method holiday dates','pi-edd'); ?> 77 77 </label> 78 78 </div> -
estimate-delivery-date-for-woocommerce/trunk/pi-edd.php
r3761505 r3762753 10 10 * 11 11 * @link piwebsolution.com 12 * @since 4.11.6 212 * @since 4.11.63 13 13 * @package Pi_Edd 14 14 * … … 17 17 * Plugin URI: https://www.piwebsolution.com/product/pro-estimate-delivery-date-for-woocommerce/ 18 18 * Description: WooCommerce Estimated delivery date per product, You don't have to set dates in each product, just add it in shipping method, based on shipping days and product preparation days it shows estimated shipping date per product and also considers holidays 19 * Version: 4.11.6 219 * Version: 4.11.63 20 20 * Author URI: https://www.piwebsolution.com/ 21 21 * Author: PI WebSolution … … 81 81 * Rename this for your plugin and update it as you release new versions. 82 82 */ 83 define( 'PI_EDD_VERSION', '4.11.6 2' );83 define( 'PI_EDD_VERSION', '4.11.63' ); 84 84 define( 'PISOL_EDD_FOLDER_URL', plugin_dir_url( __FILE__ )); 85 85 define( 'PISOL_EDD_DELETE_SETTING', false );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)