Changeset 3414480
- Timestamp:
- 12/08/2025 03:16:24 PM (3 months ago)
- Location:
- wc-ship-est/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wse_functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-ship-est/trunk/readme.txt
r3400068 r3414480 5 5 License URI: http://www.gnu.org/licenses/gpl-3.0.html 6 6 Requires at least: 6.6 7 Tested up to: 6. 88 Stable tag: 2.1. 37 Tested up to: 6.9 8 Stable tag: 2.1.5 9 9 10 10 Add a Delivery Estimate or Shipping Method Description to the WooCommerce Cart with a simple, fast and lightweight plugin. … … 46 46 47 47 == Changelog == 48 = 2.1.5 = * Google rating preview improvement, fix stripos null bug. 48 49 = 2.1.3 = * Extend compatibility for displaying product estimate, fix Google rating preview, add AdWords conversion reporting option. 49 50 = 2.1.0 = * Support for product tags -
wc-ship-est/trunk/wse_functions.php
r3400068 r3414480 7 7 Author URI: https://richardlerma.com/contact/ 8 8 Requires Plugins: woocommerce 9 Version: 2.1. 39 Version: 2.1.5 10 10 Text Domain: wc-ship-est 11 11 Copyright: (c) 2019-2025 rldd.net - All Rights Reserved … … 13 13 License URI: http://www.gnu.org/licenses/gpl-3.0.html 14 14 WC requires at least: 9.0 15 WC tested up to: 10. 215 WC tested up to: 10.3 16 16 */ 17 17 18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1. 3';18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1.5'; 19 19 $wse_version_type='GPL'; 20 20 $wse_pro_version=get_option('wse_pro_version'); … … 58 58 $cart_path=parse_url($cart_url,PHP_URL_PATH); 59 59 $current_path=parse_url($_SERVER['REQUEST_URI'],PHP_URL_PATH); 60 if( stripos($current_path,$cart_path)!==false) return true;60 if($current_path&&stripos($current_path,$cart_path)!==false) return true; 61 61 } 62 62 } … … 766 766 767 767 <tr class='options'> 768 <td nowrap style='vertical-align:text-top'>Google Reviews Badge<br></td>768 <td nowrap style='vertical-align:text-top'>Google Store<br></td> 769 769 <td> 770 770 <?php wse_rvw_badge(1);?> 771 771 <input type='hidden' name='wse_rvw_badge' value=<?php if(!empty($wse_rvw_badge)) echo 1; else echo 0;?>> 772 <input type='checkbox' <?php if(!empty($wse_rvw_badge)) echo 'checked';?> onclick="wse_toggle_est(this.nextElementSibling.nextElementSibling,this.checked);wse_checkbox(this.previousElementSibling,this.checked);"> Display Google Customer Reviews Badge (in footer)773 <div><br><span class="dashicons dashicons-info-outline"></span> T o qualify, Google requires at least <a href='https://support.google.com/merchants/answer/7105655?hl=en' target='_blank'>100 Customer Reviews</a> in a particular country during the past year.</div>772 <input type='checkbox' <?php if(!empty($wse_rvw_badge)) echo 'checked';?> onclick="wse_toggle_est(this.nextElementSibling.nextElementSibling,this.checked);wse_checkbox(this.previousElementSibling,this.checked);"> Display Google Store Rating 773 <div><br><span class="dashicons dashicons-info-outline"></span> This feature will add the <a href='https://support.google.com/merchants/answer/7105655?hl=en' target='_blank'>store widget code</a> in the site footer.</div> 774 774 <div <?php if(empty($wse_rvw_badge)) echo "style='display:none'";?>> 775 775 <input type='text' name='wse_merchant_id2' placeholder='Google Merchant ID' value="<?php if(isset($merchant_id)) echo $merchant_id; ?>"><br> 776 776 <select name='wse_rvw_badge_loc'> 777 <option value='' selected disabled> BadgeLocation777 <option value='' selected disabled>Display Location 778 778 <option value='BOTTOM_RIGHT' <?php if($wse_rvw_badge_loc=='BOTTOM_RIGHT') echo 'selected';?>>Bottom Right 779 779 <option value='BOTTOM_LEFT' <?php if($wse_rvw_badge_loc=='BOTTOM_LEFT') echo 'selected';?>>Bottom Left … … 952 952 <td> 953 953 <span class="dashicons dashicons-info-outline"></span> Product Page Estimates are displayed above the add to cart button and configured on the Methods tab. 954 <div style="width:11em;float:right;padding:1em;background:#e4e4e4;color:#2871b1;">* Products that use variations will use the main product shipestimate until a variation is added to the cart.</div><br><br>954 <div style="width:11em;float:right;padding:1em;background:#e4e4e4;color:#2871b1;">* Products with variations will use a combined estimate until a variation is added to the cart.</div><br><br> 955 955 <div style='margin:0 1.5em'> 956 956 <input type='hidden' name='wse_prd_dsp_title' value=<?php if($prd_dsp_title>=0) echo 1; else echo -1;?>> … … 1692 1692 echo " 1693 1693 <style>#g_rating_view{display:inline;float:right;}#g_rating_view #___ratingbadge_0{position:relative!important;margin:0!important}</style> 1694 <div id='g_rating_view'> BadgePreview<br></div>1694 <div id='g_rating_view'>Rating Preview<br></div> 1695 1695 <script> 1696 1696 (function(){
Note: See TracChangeset
for help on using the changeset viewer.