Changeset 2876071
- Timestamp:
- 03/07/2023 06:18:28 PM (17 months ago)
- Location:
- ubigeo-peru
- Files:
-
- 28 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ubigeo-peru/trunk/README.txt
r2871136 r2876071 105 105 == Changelog == 106 106 107 108 109 107 110 = 3.7.0 (25/12/2022) = 108 111 Fix: validando versión WC 7.4.0 -
ubigeo-peru/trunk/rt_ubigeo_checkout.php
r2744428 r2876071 568 568 $ubigeo = get_name_ubigeo_billing($order, 'value'); 569 569 if ($ubigeo) { 570 if (get_option('ubigeo_title_checkbox') == "on") { 571 echo '<div class="woocommerce-column woocommerce-column--1 woocommerce-column--billing-address col-1">'; 572 echo '<h2 class="woocommerce-column__title">' . __('Billing Ubigeo Peru', 'ubigeo-peru') . '</h2>'; 573 } 570 echo '<div class="woocommerce-column woocommerce-column--1 woocommerce-column--billing-address col-1">'; 571 echo '<h2 class="woocommerce-column__title">'; 572 if (get_option('ubigeo_title_checkbox') == "on") : 573 e_('Billing Ubigeo Peru', 'ubigeo-peru'); 574 endif; 575 echo '</h2>'; 574 576 575 577 if (get_option('ubigeo_format_checkbox') == "vertical") { … … 583 585 if (get_option('ubigeo_format_checkbox') == "horizontal") { 584 586 echo '<address>'; 585 echo '<p><strong>' . __('Department', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo['departamento']) . ' ';586 echo '<strong>' . __('Province', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo['provincia']) . ' ';587 echo '<p><strong>' . __('Department', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo['departamento']) .; 588 echo '<strong>' . __('Province', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo['provincia']) .' '; 587 589 echo '<strong>' . __('District', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo['distrito']) . '</p>'; 588 590 echo '</address>'; 589 591 } 590 if (get_option('ubigeo_title_checkbox') == "on") { 591 echo '</div>'; 592 } 593 594 echo '<section class="woocommerce-customer-details">'; 595 echo '</section>'; 592 echo '</div>'; 596 593 } 597 594 … … 600 597 if ($ubigeo_shipping) { 601 598 echo '<div class="woocommerce-column woocommerce-column--2 woocommerce-column--billing-address col-2">'; 602 echo '<h2 class="woocommerce-column__title">' . __('Shipping Ubigeo Peru', 'ubigeo-peru') . '</h2>'; 599 // echo '<h2 class="woocommerce-column__title">' . __('Shipping Ubigeo Peru', 'ubigeo-peru') . '</h2>'; 600 echo '<h2 class="woocommerce-column__title">'; 601 if (get_option('ubigeo_title_checkbox') == "on") : 602 e_('Shipping Ubigeo Peru', 'ubigeo-peru'); 603 endif; 604 echo '</h2>'; 603 605 echo '<address>'; 604 606 echo '<p><strong>' . __('Department', 'ubigeo-peru') . ':</strong> ' . esc_html($ubigeo_shipping['departamento']) . '</p>'; … … 610 612 echo '</section>'; 611 613 echo '</section>'; 612 613 614 } 614 615 -
ubigeo-peru/trunk/ubigeo-peru.php
r2871135 r2876071 11 11 * Plugin URI: https://renzotejada.com/ubigeo-de-peru-para-woocommerce/ 12 12 * Description: Peru's Ubigeo for WordPress and WooCommerce - Plugin contains the departments - provinces and districts of Peru 13 * Version: 3.7. 013 * Version: 3.7. 14 14 * Author: Renzo Tejada 15 15 * Author URI: https://renzotejada.com/
Note: See TracChangeset
for help on using the changeset viewer.