Headline
CVE-2021-25043: Changeset 2640621 for woocommerce-currency-switcher – WordPress Plugin Repository
The WOOCS WordPress plugin before 1.3.7.3 does not sanitise and escape the custom_prices parameter before outputting it back in the response, leading to a Reflected Cross-Site Scripting issue
24 <h3 class="woocs_settings_version">WOOCS - <?php printf(esc_html__('WooCommerce Currency Switcher %s’, ‘woocommerce-currency-switcher’), ‘<span class="woocs__text-success">v.’ . WOOCS_VERSION . ‘</span>’) ?></h3> 24 <h3 class="woocs_settings_version">WOOCS - <?php printf(esc_html__('WooCommerce Currency Switcher %s’, ‘woocommerce-currency-switcher’), ‘<span class="woocs__text-success">v.’ . WOOCS_VERSION . ‘</span>’) ?> <span id="woocs-head"><svg enable-background="new -105 186.7 384 468.2" version="1.1" viewBox="-105 186.7 384 468.2" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> 25 26 <g> 27 28 <path d="m27.6 610.9c-0.2-0.2-0.4-0.7-0.4-1.1s-0.2-1-0.5-1.3-0.5-0.8-0.5-1-0.5-1.5-1.1-2.8-1.1-2.5-1.1-2.7-0.1-0.4-0.3-0.4-0.3-0.3-0.3-0.6-0.1-0.7-0.3-0.9-1-1.6-1.8-3.2-1.7-3.1-2-3.4c-0.2-0.3-0.4-0.6-0.4-0.7 0-0.2-1.3-2.3-2.9-4.5-2.2-3.2-6.2-7.6-15.1-16.4-12.8-12.6-14.6-14.8-19.7-22.4-2.6-4-4.5-7.4-6.9-12.6-1.9-4.2-2.1-4.7-2.1-5.1 0-0.2-0.1-0.6-0.3-1s-0.5-0.9-0.6-1.3-0.3-0.9-0.3-1.2-0.2-0.8-0.5-1.2c-0.3-0.3-0.5-0.9-0.5-1.3s-0.1-0.8-0.3-0.9-0.3-0.5-0.3-0.9-0.2-0.9-0.4-1.1c-0.3-0.3-0.2-0.6 0.4-1.4 0.9-1.2 1.6-1.1 2 0.2 0.2 0.5 0.4 1.2 0.6 1.5s0.3 0.7 0.3 0.9 0.2 0.9 0.5 1.5 0.7 1.7 1 2.3c1.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1.3 0.5 1.7 0 0.3 0.1 0.7 0.3 0.8s0.3 0.6 0.3 1.1 0.1 1 0.3 1.1 0.3 0.6 0.3 1.1 0.2 1.2 0.5 1.7 0.5 1.3 0.5 2c0 0.6 0.2 1.3 0.3 1.4 0.4 0.2 0.4 2.7 0.1 2.7-0.4-0.1-0.9-0.6-1.4-1.3z"/> 29 </g> 30 31 </svg> 32 </span></h3>
653 <select name="woocs_activate_page_list_reverse" class="chosen_select enhanced" tabindex="-1" title="<?php esc_html_e('Reverse this option’, ‘woocommerce-currency-switcher’) ?>"> 654 <?php foreach ($opts as $val => $title): ?> 655 <option value="<?php echo esc_attr($val) ?>" <?php echo selected($woocs_activate_page_list_reverse, $val) ?>><?php echo esc_html($title) ?></option> 656 <?php endforeach; ?> 657 </select> 661 <select name="woocs_activate_page_list_reverse" class="chosen_select enhanced" tabindex="-1" title="<?php esc_html_e('Reverse this option’, ‘woocommerce-currency-switcher’) ?>"> 662 <?php foreach ($opts as $val => $title): ?> 663 <option value="<?php echo esc_attr($val) ?>" <?php echo selected($woocs_activate_page_list_reverse, $val) ?>><?php echo esc_html($title) ?></option> 664 <?php endforeach; ?> 665 </select>
964 <a id="woocs-modal-link" href="<?php echo WOOCS_LINK ?>img/side-switcher.png" class="woocs__link woocs__link-img <?php if (!$woocs_is_auto_switcher): ?>woocs_settings_hide<?php endif; ?>"> 965 <img id="woocs-my-img" class="woocs__img" src="<?php echo WOOCS_LINK ?>img/side-switcher.png" /> 966 </a> 972 <a id="woocs-modal-link" href="<?php echo WOOCS_LINK ?>img/side-switcher.png" class="woocs__link woocs__link-img <?php if (!$woocs_is_auto_switcher): ?>woocs_settings_hide<?php endif; ?>"> 973 <img id="woocs-my-img" class="woocs__img" src="<?php echo WOOCS_LINK ?>img/side-switcher.png" /> 974 </a>
1384 <input type="hidden" name="woocs_wpnonce_geo" value="<?php echo wp_create_nonce(‘woocs_wpnonce_geo’); ?>" > 1385 <input type="text" name="woocs_geo_rules_profile_title" value="" class="woocs-w-100p" placeholder="<?php esc_html_e(“Set title", ‘woocommerce-currency-switcher’); ?>” /> 1386 <select name="woocs_geo_rules_profile_countries[]" multiple="" size="1" style="width: 100%" id="woocs_geo_rules_profile_countries" class="chosen_select"> 1387 <?php foreach ($countries as $key => $value): ?> 1388 <option value="<?php echo esc_attr($key) ?>"><?php echo esc_html($value) ?></option> 1389 <?php endforeach; ?> 1390 </select> 1391 1392 <a href="javascript:woocs_add_geoip_profile()" class="woocs__button woocs_add_geoip_profile"><?php esc_html_e(“Add new profile", ‘woocommerce-currency-switcher’); ?></a> 1393 <a href="javascript:woocs_update_geoip_profile()" class="woocs__button woocs_update_geoip_profile"><?php esc_html_e(“Update profile", ‘woocommerce-currency-switcher’); ?></a> 1394 <a href="javascript:woocs_cancel_geoip_profile()" class="woocs__button woocs_update_cancel_geoip_profile"><?php esc_html_e(“Cancel", ‘woocommerce-currency-switcher’); ?></a> 1395 </div> 1396 1397 </div> 1398 1399 </div> 1400 1401 <div class="woocs__tools-panel"> 1402 <h5><?php esc_html_e(“Profiles", ‘woocommerce-currency-switcher’); ?></h5> 1403 <div class="woocs_geoip_profile_info woocs-notice” style="display: none;"></div> 1404 </div> 1405 1406 <div class="woocs-p-3"> 1407 1408 <div class="woocs-d-flex"> 1409 1410 <?php 1411 global $WOOCS; 1412 $geoIP_profiles = $WOOCS->geoip_profiles->get_data(); 1413 ?> 1414 1415 <div class="woocs_fields woocs-field-col-4"> 1416 <select class="chosen_select woocs_geoip_profile_countries"> 1417 <?php 1418 foreach ($geoIP_profiles as $key => $item) { 1419 ?> 1420 <option data-key="<?php echo esc_attr($key) ?>” value=’<?php echo json_encode($item[‘data’]) ?>’><?php echo esc_html($item[‘name’]) ?></option> 1421 <?php 1422 } 1423 ?> 1424 </select> 1425 1426 <a href="javascript:woocs_edit_geoip_profile()" class="woocs__button woocs_edit_geoip_profile"><?php esc_html_e(“Edit profile", ‘woocommerce-currency-switcher’); ?></a> 1427 <a href="javascript:woocs_delete_geoip_profile()" class="woocs__button woocs_delete_geoip_profile"><?php esc_html_e(“Delete profile", ‘woocommerce-currency-switcher’); ?></a> 1428 1429 <div class="woocs__profiles-add-to-rules” > 1430 <a href="javascript:woocs_geoip_profile_to_rules()" class="woocs__button woocs_profile_geoip_rules"><?php esc_html_e(“Add to:", ‘woocommerce-currency-switcher’); ?></a> 1431 <?php 1432 if (!empty($currencies) AND is_array($currencies)) { 1433 ?><select class="chosen_select woocs_profile_geoip_currency"> 1434 <?php esc_html_e(“Select currency…", ‘woocommerce-currency-switcher’); ?></option> 1435 <?php 1436 foreach ($currencies as $key => $currency) { 1437 ?><option value="<?php echo esc_attr($key) ?>” ><?php echo esc_html($key) ?></option><?php 1438 } 1439 ?></select><?php 1440 } 1441 ?> 1442 </div> 1443 </div> 1444 1445 </div> 1446 1447 </div> 1448 1449 </li> 1450 </ul> 1451 </div> 1452 </div> 1453 <?php else: ?> 1454 <input type="hidden” name="woocs_geo_rules” value="” /> 1455 <?php endif; ?> 1456 1457 <?php if ($this->statistic AND $this->statistic->can_collect()): ?> 1458 <?php $this->statistic->install_table(); ?> 1459 1460 <div id="woocs-tabs-7” class="woocs__tab-pane"> 1461 <div class="woocs__tab-content"> 1462 1463 <div class="woocs__tools-panel"> 1464 <h5><?php echo esc_html__('Statistic’, ‘woocommerce-currency-switcher’) ?></h5> 1465 </div> 1466 1467 1468 <div class="woocs-p-3"> 1469 <div class="woocs__stat-holder"> 1470 1471 1472 <div class="woocs__stat-col" style="flex-basis: 75%;"> 1473 <select id="woocs-stat-chart-type" class="woocs__max-width"> 1474 <option value="pie"><?php echo esc_html__('Chart type: pie’, ‘woocommerce-currency-switcher’) ?></option> 1475 <option value="bar"><?php echo esc_html__('Chart type: bar’, ‘woocommerce-currency-switcher’) ?></option> 1476 </select> 1477 1478 <div id="woocs-stat-chart" class="woocs__stat-chart"></div> 1479 1480 </div> 1481 1482 1483 <div class="woocs__stat-col" style="flex-basis: 25%;"> 1484 <ul class="woocs__list"> 1485 <li> 1486 <select id="woocs-stat-type" class="woocs__max-width"> 1487 <option value="currency"><?php echo esc_html__('Currency’, ‘woocommerce-currency-switcher’) ?></option> 1488 <option value="order"><?php echo esc_html__('Orders (completed)', ‘woocommerce-currency-switcher’) ?></option> 1489 </select> 1490 </li> 1491 <li> 1492 <?php 1493 $format = 'dd-mm-yy’; 1494 $min_date = $this->statistic->get_min_date(); 1495 $first_this_m = new DateTime(‘first day of this month’); 1496 ?> 1497 1498 <input type="hidden" id="woocs-stat-calendar-format" value="<?php echo esc_attr($format) ?>" /> 1499 <input type="hidden" id="woocs-stat-calendar-min-y" value="<?php echo date('Y’, $min_date) ?>" /> 1500 <input type="hidden" id="woocs-stat-calendar-min-m" value="<?php echo (intval(date('m’, $min_date)) - 1) ?>" /> 1501 <input type="hidden" id="woocs-stat-calendar-min-d" value="<?php echo date('d’, $min_date) ?>" /> 1502 1503 <input type="hidden" id="woocs-stat-from" value="<?php echo mktime(0, 0, 0, $first_this_m->format(‘m’), $first_this_m->format(‘d’), $first_this_m->format(‘Y’)) ?>" /> 1504 <input type="text" readonly="" value="<?php echo $first_this_m->format(‘d-m-Y’); ?>" class="woocs_stat_calendar woocs__max-width woocs_stat_calendar_from" placeholder="<?php echo esc_html__('from’, ‘woocommerce-currency-switcher’) ?>" /> 1505 <input type="hidden" id="woocs-stat-to" value="0" /> 1506 <input type="text" readonly="" value="" class="woocs_stat_calendar woocs__max-width woocs_stat_calendar_to" placeholder="<?php echo esc_html__('to’, ‘woocommerce-currency-switcher’) ?>" /> 1507 1508 </li> 1509 <li class="woocs-d-flex woocs-align-items-center"> 1510 <a href="javascript: woocs_stat_redraw(1); void(0);" id="woocs_stat_redraw_1" class="woocs_stat_redraw_btn woocs__button"> 1511 <span class="icon-arrows-cw"></span> <?php echo $this->statistic->get_label(1) ?> 1512 </a> 1513 <label class="woocs-options-valign-top"> 1514 <?php woocs_draw_tooltip(esc_html__('For currencies - aggregated data about selected currencies on the site front. For orders - count of orders made in the selected currencies.’, ‘woocommerce-currency-switcher’)) ?> 1515 </label> 1516 </li> 1517 <li class="woocs-d-flex woocs-align-items-center"> 1518 <a href="javascript: woocs_stat_redraw(2); void(0);" id="woocs_stat_redraw_2" class="woocs_stat_redraw_btn woocs__button"> 1519 <span class="icon-arrows-cw"></span> <?php echo $this->statistic->get_label(2) ?> 1520 </a> 1521 <label class="woocs-options-valign-top"><?php woocs_draw_tooltip(esc_html__(‘For currencies - aggregated data about count of countries which users selected currencies on the site front. For orders - count of orders made from countries, detected by selected country in the billing address.’, ‘woocommerce-currency-switcher’)) ?></label> 1522 </li> 1523 </ul> 1524 </div> 1525 </div> 1526 </div> 1527 1528 <div class="woocs__list woocs-p-10"> 1529 1530 <div class="woocs__alert woocs__alert-info" role="alert"> 1531 <p><?php printf(__(“If you have ideas about scenarios of the statistic please share and discuss them on %s", ‘woocommerce-currency-switcher’), '<a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/” target="_blank">’ . esc_html__('the plugin forum’, ‘woocommerce-currency-switcher’) . ‘</a>’) ?></p> 1532 </div> 1533 1534 1535 <div class="woocs__alert woocs__alert-warning" role="alert"> 1536 <h4 class="woocs__alert-heading"><?php esc_html_e('Note’, ‘woocommerce-currency-switcher’) ?></h4> 1537 <p><?php esc_html_e('If in tab Options activated option I am using cache plugin on my site - to avoid double data for statistical data registration in tab Options activate option No GET data in link!’, ‘woocommerce-currency-switcher’) ?></p> 1538 </div> 1539 1540 1541 </div> 1542 </div> 1543 </div> 1544 <?php endif; ?> 1545 1546 <div id="woocs-tabs-8" class="woocs__tab-pane"> 1547 <div class="woocs__tab-content"> 1548 1549 <div class="woocs-p-4"> 1550 1551 <?php if (time() < 1638403199): ?> 1552 <div style="text-align: center;"> 1553 <a href="https://1.envato.market/DmRod" target="_blank"><img src="https://pluginus.net/wp-content/uploads/2021/11/cybermonday-2021-1.jpg" alt="Cyber Monday 2021"></a><br> 1554 1555 <img src="https://gen.sendtric.com/countdown/qxnyqw0vu1" alt="Cyber Monday 2021 timer"><br> 1556 </div> 1557 <?php endif; ?> 1558 1559 <div class="woocs-card-holder woocs__col-2"> 1560 1561 <div class="woocs-card-item"> 1562 1563 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1564 <div class="woocs-card-body"> 1565 <img src="<?php echo WOOCS_LINK ?>img/icon/site-structure-optimization.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1566 <h5 class="woocs-h5"><a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Support’, ‘woocommerce-currency-switcher’); ?></a></h5> 1567 <p><?php esc_html_e('If you have questions about plugin functionality or found bug write us please’, ‘woocommerce-currency-switcher’); ?></p> 1568 </div> 1569 </div> 1570 1571 </div> 1572 1573 <div class="woocs-card-item"> 1574 1575 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1576 <div class="woocs-card-body"> 1577 <img src="<?php echo WOOCS_LINK ?>img/icon/features.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1578 <h5 class="woocs-h5"><a href="https://currency-switcher.com/faq" class="woocs-text-dark" target="_blank"><?php esc_html_e('FAQ’, ‘woocommerce-currency-switcher’); ?></a></h5> 1579 <p><?php esc_html_e('Check please already prepared answers’, ‘woocommerce-currency-switcher’); ?></p> 1580 </div> 1581 </div> 1582 1583 </div> 1584 1585 <div class="woocs-card-item"> 1586 1587 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1588 <div class="woocs-card-body"> 1589 <img src="<?php echo WOOCS_LINK ?>img/icon/bookmarking.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1590 <h5 class="woocs-h5"><a href="https://currency-switcher.com/codex/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Codex’, ‘woocommerce-currency-switcher’); ?></a></h5> 1591 <p><?php esc_html_e('WOOCS has power bunch of functionality’, ‘woocommerce-currency-switcher’); ?></p> 1592 </div> 1593 </div> 1594 1595 </div> 1596 1597 <div class="woocs-card-item"> 1598 1599 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1600 <div class="woocs-card-body"> 1601 <img src="<?php echo WOOCS_LINK ?>img/icon/clean-code.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1602 <h5 class="woocs-h5"><a href="https://currency-switcher.com/woocs-labs/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Labs’, ‘woocommerce-currency-switcher’); ?></a></h5> 1603 <p><?php esc_html_e('Found incompatibility? We can help!’, ‘woocommerce-currency-switcher’); ?></p> 1604 </div> 1605 </div> 1606 1607 </div> 1608 1609 </div> 1610 1611 <div class="woocs-row"> 1612 1613 <div class="woocs-col-lg-6 woocs-mt-4"> 1614 1615 <div class="woocs-d-flex woocs-p-4 woocs-shadow woocs-align-items-center woocs-features woocs-rounded"> 1616 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1617 <span class="icon-info-circled woocs-d-block woocs-rounded"></span> 1618 </div> 1619 <div class="woocs-ms-4"> 1620 <h5 class="woocs-h5 woocs-mb-1"> 1621 <a class="woocs-text-dark" href="https://www.youtube.com/watch?v=wUoM9EHjnYs" target="_blank"> 1622 <?php esc_html_e(“Quick Introduction", ‘woocommerce-currency-switcher’) ?> 1623 </a> 1624 </h5> 1625 </div> 1626 </div> 1627 1628 </div> 1629 1630 <div class="woocs-col-lg-6 woocs-mt-4"> 1631 <div class="woocs-d-flex woocs-p-4 woocs-shadow woocs-align-items-center woocs-features woocs-rounded"> 1632 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1633 <span class="icon-heart woocs-d-block woocs-rounded"></span> 1634 </div> 1635 <div class="woocs-ms-4"> 1636 <h5 class="woocs-h5 woocs-mb-1"> 1637 <a class="woocs-text-dark” href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" target="_blank"><?php echo esc_html__('WooCommerce Currency Switcher Support’, ‘woocommerce-currency-switcher’) ?></a> 1638 </h5> 1639 </div> 1640 </div> 1641 </div> 1642 1643 <div class="woocs-col-lg-6 woocs-mt-4"> 1644 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1645 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1646 <span class="icon-language woocs-d-block woocs-rounded"></span> 1647 </div> 1648 <div class="woocs-ms-4"> 1649 <h5 class="woocs-h5 woocs-mb-1"> 1650 <a class="woocs-text-dark" href="https://currency-switcher.com/translations/" target="_blank"><?php echo esc_html__('Translations’, ‘woocommerce-currency-switcher’) ?></a> 1651 </h5> 1652 </div> 1653 </div> 1654 </div> 1655 1656 <div class="woocs-col-lg-6 woocs-mt-4"> 1657 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1658 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1659 <span class="icon-dollar woocs-d-block woocs-rounded"></span> 1660 </div> 1661 <div class="woocs-ms-4"> 1662 <h5 class="woocs-h5 woocs-mb-1"> 1663 <a class="woocs-text-dark" href="http://en.wikipedia.org/wiki/ISO_4217#Active_codes" target="_blank"><?php echo esc_html__('Read wiki about Currency Active codes’, ‘woocommerce-currency-switcher’) ?></a> 1664 </h5> 1665 </div> 1666 </div> 1667 </div> 1668 1669 <div class="woocs-col-lg-6 woocs-mt-4"> 1670 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1671 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1672 <span class="icon-globe woocs-d-block woocs-rounded"></span> 1673 </div> 1674 <div class="woocs-ms-4"> 1675 <h5 class="woocs-h5 woocs-mb-1"> 1676 <a class="woocs-text-dark" href="https://currency-switcher.com/get-flags-free/" target="_blank"><?php echo esc_html__('Free flags images’, ‘woocommerce-currency-switcher’) ?></a> 1677 </h5> 1678 <p><?php esc_html_e('Find and use free flags to your taste according to your business preferences’, ‘woocommerce-currency-switcher’) ?></p> 1679 </div> 1680 </div> 1681 </div> 1682 1683 <div class="woocs-col-lg-6 woocs-mt-4"> 1684 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1685 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1686 <span class="icon-video woocs-d-block woocs-rounded"></span> 1687 </div> 1688 <div class="woocs-ms-4"> 1689 <h5 class="woocs-h5 woocs-mb-1"> 1690 <a class="woocs-text-dark" href="https://currency-switcher.com/video-tutorials/" target="_blank"><?php echo esc_html__('Video tutorials’, ‘woocommerce-currency-switcher’) ?></a> 1691 </h5> 1692 <p><?php esc_html_e('Watch video tutorials about WOOCS features to use its functionality in full force’, ‘woocommerce-currency-switcher’) ?></p> 1693 </div> 1694 </div> 1695 </div> 1696 1697 </div> 1698 1699 <?php 1700 $rate_url = 'https://codecanyon.net/downloads#item-8085217’; 1701 if ($WOOCS->notes_for_free) { 1702 $rate_url = 'https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/#new-post’; 1703 } 1704 ?> 1705 1706 <div class="woocs__alert woocs__alert-info" role="alert"> 1707 <h5 class="woocs__alert-heading"> 1708 <?php esc_html_e('Some questions’, ‘woocommerce-currency-switcher’) ?>: 1709 </h5> 1710 <ul class="woocs-list-unstyled woocs-text-muted woocs-border-top woocs-mb-0 woocs-pt-3"> 1711 <li><a href="https://currency-switcher.com/i-cant-add-flags-what-to-do/" target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“I cant add flags! What to do?", ‘woocommerce-currency-switcher’) ?></a></li> 1712 <li><a href="https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me/” target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“Using Geolocation causes problems, doesn’t seem to work for me", ‘woocommerce-currency-switcher’) ?></a></li> 1713 <li><a href="https://currency-switcher.com/how-to-insert-currency-switcher-into-site-menu/” target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“How to insert currency switcher into site menu?", ‘woocommerce-currency-switcher’) ?></a></li> 1714 </ul> 1715 </div> 1716 1717 <div class="woocs__section-title woocs-mb-3"> 1718 <h5><?php esc_html_e(“More power for your shop", ‘woocommerce-currency-switcher’) ?></h5> 1719 </div> 1720 1721 <ul class="woocs__features-gallery woocs__col-6"> 1722 <li><a target="_blank” href="https://pluginus.net/affiliate/woocommerce-products-filter"><img class="woocs-rounded” width="300" src="<?php echo WOOCS_LINK ?>img/woof_banner.png" /></a></li> 1723 <li><a target="_blank" href="https://pluginus.net/affiliate/woocommerce-bulk-editor"><img class="woocs-rounded" width="300" src="<?php echo WOOCS_LINK ?>img/woobe_banner.png" /></a></li> 1724 <li><a target="_blank" href="https://pluginus.net/affiliate/woot-woocommerce-products-tables"><img class="woocs-rounded" width="300" src="<?php echo WOOCS_LINK ?>img/woot_banner.png" /></a></li> 1725 </ul> 1726 1727 1728 </div> 1729 1730 </div> 1731 </div> 1732 1733 <div id="tab-smart-designer" class="woocs__tab-pane woocs_settings_section"> 1734 <div class="woocs__tab-content"> 1735 1736 <div id="woocs-sd-manage-area"> 1737 1738 <div class="woocs__tools-panel"> 1739 <h5><?php esc_html_e(“Smart Designer", ‘woocommerce-currency-switcher’) ?></h5> 1740 </div> 1741 1742 1743 <div style="padding: 10px;"> 1744 <div class="woocs__alert woocs__alert-success"><?php esc_html_e(“In this section you can create your own view of currency drop-down switcher", ‘woocommerce-currency-switcher’); ?></div> 1745 1746 1747 <a href="#” id="woocs-sd-create” class="woocs__button dashicons-before dashicons-plus"><?php esc_html_e(“Create", ‘woocommerce-currency-switcher’) ?></a><br /> 1748 1749 1750 <br /> 1751 <?php 1752 global $WOOCS_SD; 1753 $designs = array_reverse($WOOCS_SD->get_designs()); 1754 ?> 1755 <div class="woocs-data-table"> 1756 <table id="woocs-sd-table"> 1757 1758 <tbody> 1759 <?php if (!empty($designs)): ?> 1760 <?php foreach ($designs as $design_id) : ?> 1761 <tr id="woocs-sd-dashboard-tr-<?php echo $design_id ?>"> 1762 <td> 1763 <?php echo $design_id ?> 1764 </td> 1765 1766 <td> 1767 <input type="text” value="[woocs sd=<?php echo $design_id ?>]" readonly="" /> 1768 </td> 1769 <td> 1770 <div class="woocs__buttons-group woocs-align-self-end woocs-flr-clr"> 1771 <a href="javascript: woocs_sd_edit(<?php echo $design_id ?>);void(0);" class="woocs__button woocs__button-small woocs__button-outline-success dashicons-before dashicons-update"><?php esc_html_e('edit’, ‘woocommerce-currency-switcher’) ?></a><a href="javascript: woocs_sd_delete(<?php echo $design_id ?>);void(0);" class="woocs__button woocs__button-small woocs__button-outline-warning dashicons-before dashicons-dismiss"><?php esc_html_e('delete’, ‘woocommerce-currency-switcher’) ?></a> 1392 <input type="hidden" name="woocs_wpnonce_geo" value="<?php echo wp_create_nonce(‘woocs_wpnonce_geo’); ?>" > 1393 <input type="text" name="woocs_geo_rules_profile_title" value="" class="woocs-w-100p" placeholder="<?php esc_html_e(“Set title", ‘woocommerce-currency-switcher’); ?>” /> 1394 <select name="woocs_geo_rules_profile_countries[]" multiple="" size="1" style="width: 100%" id="woocs_geo_rules_profile_countries" class="chosen_select"> 1395 <?php foreach ($countries as $key => $value): ?> 1396 <option value="<?php echo esc_attr($key) ?>"><?php echo esc_html($value) ?></option> 1397 <?php endforeach; ?> 1398 </select> 1399 1400 <a href="javascript:woocs_add_geoip_profile()" class="woocs__button woocs_add_geoip_profile"><?php esc_html_e("Add new profile", ‘woocommerce-currency-switcher’); ?></a> 1401 <a href="javascript:woocs_update_geoip_profile()" class="woocs__button woocs_update_geoip_profile"><?php esc_html_e("Update profile", ‘woocommerce-currency-switcher’); ?></a> 1402 <a href="javascript:woocs_cancel_geoip_profile()" class="woocs__button woocs_update_cancel_geoip_profile"><?php esc_html_e(“Cancel", ‘woocommerce-currency-switcher’); ?></a> 1403 </div> 1404 1405 </div> 1406 1407 </div> 1408 1409 <div class="woocs__tools-panel"> 1410 <h5><?php esc_html_e(“Profiles", ‘woocommerce-currency-switcher’); ?></h5> 1411 <div class="woocs_geoip_profile_info woocs-notice” style="display: none;"></div> 1412 </div> 1413 1414 <div class="woocs-p-3"> 1415 1416 <div class="woocs-d-flex"> 1417 1418 <?php 1419 global $WOOCS; 1420 $geoIP_profiles = $WOOCS->geoip_profiles->get_data(); 1421 ?> 1422 1423 <div class="woocs_fields woocs-field-col-4"> 1424 <select class="chosen_select woocs_geoip_profile_countries"> 1425 <?php 1426 foreach ($geoIP_profiles as $key => $item) { 1427 ?> 1428 <option data-key="<?php echo esc_attr($key) ?>” value=’<?php echo json_encode($item[‘data’]) ?>’><?php echo esc_html($item[‘name’]) ?></option> 1429 <?php 1430 } 1431 ?> 1432 </select> 1433 1434 <a href="javascript:woocs_edit_geoip_profile()" class="woocs__button woocs_edit_geoip_profile"><?php esc_html_e("Edit profile", ‘woocommerce-currency-switcher’); ?></a> 1435 <a href="javascript:woocs_delete_geoip_profile()" class="woocs__button woocs_delete_geoip_profile"><?php esc_html_e(“Delete profile", ‘woocommerce-currency-switcher’); ?></a> 1436 1437 <div class="woocs__profiles-add-to-rules” > 1438 <a href="javascript:woocs_geoip_profile_to_rules()" class="woocs__button woocs_profile_geoip_rules"><?php esc_html_e("Add to:", ‘woocommerce-currency-switcher’); ?></a> 1439 <?php 1440 if (!empty($currencies) AND is_array($currencies)) { 1441 ?><select class="chosen_select woocs_profile_geoip_currency"> 1442 <?php esc_html_e(“Select currency…", ‘woocommerce-currency-switcher’); ?></option> 1443 <?php 1444 foreach ($currencies as $key => $currency) { 1445 ?><option value="<?php echo esc_attr($key) ?>” ><?php echo esc_html($key) ?></option><?php 1446 } 1447 ?></select><?php 1448 } 1449 ?> 1450 </div> 1451 </div> 1452
1773 </td> 1774 </tr> 1775 <?php endforeach; ?> 1776 <?php endif; ?> 1777 </tbody> 1778 1779 </table> 1780 1781 </div> 1782 1783 1784 </div> 1785 </div> 1786 1787 <div id="woocs-sd-work-area" style="display: none;"></div> 1788 1789 <template id="woocs-sd-work-area-tpl"> 1790 <div class="woocs-sd-main-wrapper"> 1791 1792 <?php 1793 $menu = [ 1794 ‘general’ => esc_html__(“General", ‘woocommerce-currency-switcher’), 1795 ‘title’ => esc_html__(“Title", ‘woocommerce-currency-switcher’), 1796 ‘description’ => esc_html__(“Description", ‘woocommerce-currency-switcher’), 1797 ‘image’ => esc_html__(“Flag", ‘woocommerce-currency-switcher’) 1798 ]; 1799 ?> 1800 1801 <div id="woocs-sd-dd” class="woocs-sd-panel woocs-sd-panel-current” data-menu=’<?php echo json_encode($menu) ?>’> 1802 1803 <div id="selectron23-example-container"> 1804 <?php global $WOOCS_SD; ?> 1805 <div id="selectron23-example” data-woocs-sd-currencies=’<?php echo json_encode($WOOCS_SD->get_currencies()) ?>’></div> 1806 1807 </div> 1808 1809 <div id="woocs-sd-dd-options” class="woocs-sd-panel-options"></div> 1810 1811 <div class="woocs-sd-missing-options"><a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" target="_blank"><?php esc_html_e(“Missing options? Describe your proposal please on the support forum.", ‘woocommerce-currency-switcher’) ?></a></div> 1812 1813 </div> 1814 1815 <div id="woocs-sd-pp” class="woocs-sd-panel"> 1816 popup 1817 </div> 1818 1819 <div id="woocs-sd-ss" class="woocs-sd-panel"> 1820 side switcher 1821 </div> 1822 1823 <div id="woocs-sd-c" class="woocs-sd-panel"> 1824 custom 1825 </div> 1826 1827 </div> 1828 1829 <div id="woocs-sd-main-buttons"> 1830 <div><a href="javascript: woocs_sd_save();void(0);" class="woocs-panel-button dashicons-before dashicons-cloud-saved"><?php esc_html_e(“Save changes", ‘woocommerce-currency-switcher’) ?></a> </div> 1831 <div><a href="javascript: woocs_sd_save_exit();void(0);” class="woocs-panel-button dashicons-before dashicons-cloud-saved dashicons-exit"><?php esc_html_e(“Save and exit", ‘woocommerce-currency-switcher’) ?></a> </div> 1832 <div><a href="javascript: woocs_sd_exit_no_save();void(0);” class="woocs-panel-button dashicons-before dashicons-exit"><?php esc_html_e(“Exit without save", ‘woocommerce-currency-switcher’) ?></a> </div> 1833 <div><a href="javascript: woocs_sd_reset();void(0);” class="woocs-panel-button dashicons-before dashicons-dismiss"><?php esc_html_e(“Reset to default", ‘woocommerce-currency-switcher’) ?></a> </div> 1834 </div> 1835 </template> 1836 1837 1838 </div> 1839 </div> 1840 1841 1842 </div> 1843 </div> 1844 1845 <div class="woocs_settings_powered woocs-mb-3"> 1846 <h5><a href="https://pluginus.net/” target="_blank" >Powered by PluginUs.NET</a></h5> 1847 </div> 1848 1849 </div> 1850 1851 <div class="woocs__alert woocs__alert-info" role="alert"> 1852 <ul class="woocs-list-unstyled"> 1853 <li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><span><?php esc_html_e('Hint’, ‘woocommerce-currency-switcher’); ?>:</span> <?php esc_html_e('If you want let your customers pay in their selected currency in tab Advanced set the option Is multiple allowed to Yes.’, ‘woocommerce-currency-switcher’); ?></li> 1854 <li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><span><?php esc_html_e('Note’, ‘woocommerce-currency-switcher’); ?>:</span> <?php esc_html_e(“If WOOCS settings panel looks incorrect or you have JavaScript errors (after update) - firstly", ‘woocommerce-currency-switcher’) ?> <a href="https://pluginus.net/how-to-reset-page-cache-in-the-browser/” target="_blank"><?php esc_html_e(“reset the browser cache", ‘woocommerce-currency-switcher’) ?></a></li> 1855 </ul> 1856 </div> 1857 1858 <?php if ($WOOCS->notes_for_free): ?> 1859 1860 <div class="woocs__alert woocs__alert-warning woocs_free_warning"><?php printf(__('In the free version of the plugin %s you can operate with 2 ANY currencies only%s! If you want to use more currencies %s you can make upgrade to the premium version%s of the plugin’, ‘woocommerce-currency-switcher’), '<b class="woocs_red">’, '</b>’, '<a href="https://pluginus.net/affiliate/woocommerce-currency-switcher” target="_blank">’, ‘</a>’) ?></div> 1861 1862 <div class="woocs__alert woocs__alert-success"> 1863 <table class="woocs_settings_promotion" > 1864 <tr> 1865 <td> 1866 <h6 class="woocs_red"><?php esc_html_e(“UPGRADE to Full version", ‘woocommerce-currency-switcher’) ?>:</h6> 1867 <a href="https://pluginus.net/affiliate/woocommerce-currency-switcher” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woocs_banner.png" alt="<?php esc_html_e(“full version of the plugin", ‘woocommerce-currency-switcher’); ?>” /></a> 1868 </td> 1869 1870 <td> 1871 <h6><?php esc_html_e(“WOOF - WooCommerce Products Filter", ‘woocommerce-currency-switcher’) ?>:</h6> 1872 <a href="https://pluginus.net/affiliate/woocommerce-products-filter” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woof_banner.png" alt="<?php esc_html_e(“WOOF - WooCommerce Products Filter", ‘woocommerce-currency-switcher’); ?>” /></a> 1873 </td> 1874 1875 <td> 1876 <h6><?php esc_html_e(“WOOBE - WooCommerce Bulk Editor Professional", ‘woocommerce-currency-switcher’) ?>:</h6> 1877 <a href="https://pluginus.net/affiliate/woocommerce-bulk-editor” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woobe_banner.png" alt="<?php esc_html_e(“WOOBE - WooCommerce Bulk Editor Professional", ‘woocommerce-currency-switcher’); ?>” /></a> 1878 </td> 1879 1880 <td> 1881 <h6><?php esc_html_e(“WOOT - WooCommerce Active Products Tables", ‘woocommerce-currency-switcher’) ?>:</h6> 1882 <a href="https://pluginus.net/affiliate/woot-woocommerce-products-tables” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woot_banner.png" alt="<?php esc_html_e(“WOOT - WooCommerce Active Products Tables", ‘woocommerce-currency-switcher’); ?>” /></a> 1883 </td> 1884 1885 </tr> 1886 </table> 1887 </div> 1888 1889 <?php endif; ?> 1890 1891 1892 <div class="info_popup woocs_settings_hide" ></div> 1893 1894 </div> 1895 1896 1897 <?php 1898 1899 function woocs_print_currency($_this, $currency) { 1900 global $WOOCS; 1901 $is_etalon = intval($currency[‘is_etalon’]); 1902 ?> 1903 <tr data-etalon="<?php echo $is_etalon ?>"> 1904 <td data-title="<?php esc_html_e('Basic’, ‘woocommerce-currency-switcher’) ?>"> 1905 <label class="woocs-checkmark-label"> 1906 <input class="woocs_is_etalon" type="radio" <?php checked(1, $is_etalon) ?> title="<?php esc_html_e(“Set etalon main currency. This should be the currency in which the price of goods exhibited!", ‘woocommerce-currency-switcher’) ?>” /> 1907 <input name="woocs_is_etalon[]" type="hidden" value="<?php echo $is_etalon; ?>" /> 1908 <span class="woocs-checkmark"></span> 1909 </label> 1910 </td> 1911 1912 <td data-title="<?php esc_html_e(“Drag and Drop", ‘woocommerce-currency-switcher’) ?>"> 1913 <a href="#” class="woocs__size-icon-large woocs_settings_move" title="<?php esc_html_e(“Drag and Drop", ‘woocommerce-currency-switcher’); ?>"> 1914 <span class="icon-arrow-combo"></span> 1915 </a> 1916 </td> 1917 1918 <td data-title="<?php esc_html_e(“Flag", ‘woocommerce-currency-switcher’); ?>"> 1919 <?php 1920 $flag = WOOCS_LINK . 'img/no_flag.png’; 1921 if (isset($currency[‘flag’]) AND!empty($currency[‘flag’])) { 1922 $flag = $currency[‘flag’]; 1923 } 1924 ?> 1925 <input type="hidden” value="<?php echo esc_attr($flag) ?>” class="woocs_flag_input" name="woocs_flag[]" /> 1926 <a href="#" class="woocs_flag woocs_settings_flag_tip" data-tip="<?php esc_html_e(“Click to select the flag", ‘woocommerce-currency-switcher’); ?>"> 1927 <img src="<?php echo esc_attr($flag) ?>” alt="<?php esc_html_e(“Flag", ‘woocommerce-currency-switcher’); ?>” /> 1928 </a> 1929 </td> 1930 1931 <td data-title="<?php esc_html_e(“Currency", ‘woocommerce-currency-switcher’) ?>” style="position: relative;"> 1932 <input type="text" value="<?php echo esc_attr($currency[‘name’]) ?>" name="woocs_name[]" class="woocs-name-input" placeholder="<?php esc_html_e(“Code", ‘woocommerce-currency-switcher’) ?>” /> 1933 </td> 1934 1935 <td data-title="<?php esc_html_e(“Symbol", ‘woocommerce-currency-switcher’) ?>"> 1936 <select name="woocs_symbol[]" title="<?php esc_html_e(“Currency symbols", ‘woocommerce-currency-switcher’) ?>"> 1937 <?php foreach ($_this->currency_symbols as $symbol) : ?> 1938 <option value="<?php echo md5($symbol) ?>” <?php selected(md5($currency[‘symbol’]), md5($symbol)) ?>><?php echo esc_html($symbol); ?></option> 1939 <?php endforeach; ?> 1940 </select> 1941 </td> 1942 1943 <td data-title="<?php esc_html_e(“Position", ‘woocommerce-currency-switcher’) ?>"> 1944 <select name="woocs_position[]" title="<?php esc_html_e('Select symbol position’, ‘woocommerce-currency-switcher’) ?>"> 1945 <?php 1946 foreach ($_this->currency_positions as $position) : 1947 1948 switch ($position) { 1949 case 'right’: 1950 $position_desc_sign = esc_html__('P$ - right’, ‘woocommerce-currency-switcher’); 1951 break; 1952 1953 case 'right_space’: 1954 $position_desc_sign = esc_html__('P $ - right space’, ‘woocommerce-currency-switcher’); 1955 break; 1956 1957 case 'left_space’: 1958 $position_desc_sign = esc_html__('$ P - left space’, ‘woocommerce-currency-switcher’); 1959 break; 1960 1961 default: 1962 $position_desc_sign = esc_html__('$P - left’, ‘woocommerce-currency-switcher’); 1963 break; 1964 } 1965 ?> 1966 <option value="<?php echo esc_attr($position) ?>” <?php selected($currency[‘position’], $position) ?>><?php echo esc_html($position_desc_sign) ?></option> 1967 <?php endforeach; ?> 1968 </select> 1969 </td> 1970 1971 1972 <td data-title="<?php esc_html_e(“Rate+%", ‘woocommerce-currency-switcher’) ?>"> 1973 <div class="woocs__table-card"> 1974 <div class="woocs__table-card-flex"> 1975 <div class="woocs__table-card-rate"> 1976 <input type="text” <?php if ($is_etalon): ?>readonly=""<?php endif; ?> value="<?php echo esc_attr($currency[‘rate’]) ?>” name="woocs_rate[]" placeholder="<?php esc_html_e(“Exchange rate", ‘woocommerce-currency-switcher’) ?>” /> 1977 <span> + </span> 1978 <input type="text" value="<?php echo (isset($currency[‘rate_plus’]) ? ($currency[‘rate_plus’] > 0 ? $currency[‘rate_plus’] : ‘’) : ‘’) ?>" name="woocs_rate_plus[]" class="woocs-text woocs-rate-plus" placeholder="<?php esc_html_e(‘interest’, ‘woocommerce-currency-switcher’) ?>" title="<?php esc_html_e(“+ to your interest in the rate, example values: 0.15, 20%", ‘woocommerce-currency-switcher’) ?>” /> 1979 </div> 1980 <button class="woocs__button woocs__size-icon-large woocs_get_fresh_rate" title="<?php esc_html_e(“Press the button if you want to update currency rate!", ‘woocommerce-currency-switcher’) ?>"> 1981 <span class="icon-arrows-cw"></span> 1982 </button> 1983 </div> 1984 </div> 1985 </td> 1986 1987 <td data-title="<?php esc_html_e(“Decimal", ‘woocommerce-currency-switcher’) ?>"> 1988 1989 <select name="woocs_decimals[]" class="woocs-drop-down woocs-decimals” title="<?php echo esc_html__('Decimals’, ‘woocommerce-currency-switcher’) ?>"> 1990 <?php 1991 $woocs_decimals = range(0, 8); 1992 if (!isset($currency[‘decimals’])) { 1993 $currency[‘decimals’] = 2; 1994 } 1995 ?> 1996 <?php foreach ($woocs_decimals as $v => $n): ?> 1997 <option <?php if ($currency[‘decimals’] == $v): ?>selected=""<?php endif; ?> value="<?php echo $v ?>"><?php echo $n ?></option> 1998 <?php endforeach; ?> 1999 </select> 2000 2001 </td> 2002 2003 2004 2005 <td data-title="<?php esc_html_e(“Separators", ‘woocommerce-currency-switcher’) ?>"> 2006 2007 <select name="woocs_separators[]" class="woocs-drop-down” title="<?php echo esc_html__('Separators’, ‘woocommerce-currency-switcher’) ?>"> 2008 <?php 2009 $separators = [ 2010 0 => '10,000.00’, //default 2011 1 => '10.000,00’, 2012 2 => '10 000.00’, 2013 3 => '10 000,00’, 2014 4 => '10000.00’, 2015 5 => '10000,00’, 2016 ]; 2017 foreach ($separators as $k => $v): 2018 if (!isset($currency[‘separators’])) { 2019 if (get_option('woocommerce_price_thousand_sep’, ‘.’) === ‘.’) { 2020 $currency[‘separators’] = 1; 2021 } else { 2022 $currency[‘separators’] = 0; 2023 } 2024 } 2025 ?> 2026 <option <?php if (isset($currency[‘separators’]) AND $currency[‘separators’] == $k): ?>selected=""<?php endif; ?> value="<?php echo $k ?>"><?php echo $v ?></option> 2027 <?php endforeach; ?> 2028 </select> 2029 2030 </td> 2031 2032 2033 <td data-title="<?php esc_html_e(“Visible", ‘woocommerce-currency-switcher’) ?>"> 2034 <?php echo draw_switcher23('woocs_hide_on_front[]', boolval(isset($currency[‘hide_on_front’]) ? $currency[‘hide_on_front’] : 0), '’, '’, true); ?> 2035 </td> 2036 2037 2038 <td data-title="<?php esc_html_e(“Cents", ‘woocommerce-currency-switcher’) ?>"> 2039 <select name="woocs_hide_cents[]" class="woocs-mw105 woocs-drop-down” <?php if (in_array($currency[‘name’], $WOOCS->no_cents)): ?>disabled=""<?php endif; ?>> 2040 <?php 2041 $woocs_hide_cents = array( 2042 0 => esc_html__(“Show cents", ‘woocommerce-currency-switcher’), 2043 1 => esc_html__(“Hide cents", ‘woocommerce-currency-switcher’) 2044 ); 2045 if (in_array($currency[‘name’], $WOOCS->no_cents)) { 2046 $currency[‘hide_cents’] = 1; 2047 } 2048 $hide_cents = 0; 2049 if (isset($currency[‘hide_cents’])) { 2050 $hide_cents = $currency[‘hide_cents’]; 2051 } 2052 ?> 2053 <?php foreach ($woocs_hide_cents as $v => $n): ?> 2054 <option <?php if ($hide_cents == $v): ?>selected=""<?php endif; ?> value="<?php echo $v ?>"><?php echo $n ?></option> 2055 <?php endforeach; ?> 2056 </select> 2057 </td> 2058 2059 2060 <td data-title="<?php esc_html_e(“Description", ‘woocommerce-currency-switcher’) ?>"> 2061 <input type="text” value="<?php echo esc_attr($currency[‘description’]) ?>” name="woocs_description[]" placeholder="<?php esc_html_e(“description", ‘woocommerce-currency-switcher’) ?>” /> 2062 </td> 2063 2064 2065 2066 </tr> 2067 2068 <?php 2069 } 2070 2071 function woocs_get_tooltip_icon() { 2072 return '<svg viewBox="0 0 27 27” xmlns="http://www.w3.org/2000/svg"><g fill="#6495ed” fill-rule="evenodd"><path d="M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27zm0-2C7.15 25 2 19.85 2 13.5S7.15 2 13.5 2 25 7.15 25 13.5 19.85 25 13.5 25z"/><path d="M12.05 7.64c0-.228.04-.423.12-.585.077-.163.185-.295.32-.397.138-.102.298-.177.48-.227.184-.048.383-.073.598-.073.203 0 .398.025.584.074.186.05.35.126.488.228.14.102.252.234.336.397.084.162.127.357.127.584 0 .22-.043.412-.127.574-.084.163-.196.297-.336.4-.14.106-.302.185-.488.237-.186.053-.38.08-.584.08-.215 0-.414-.027-.597-.08-.182-.05-.342-.13-.48-.235-.135-.104-.243-.238-.32-.4-.08-.163-.12-.355-.12-.576zm-1.02 11.517c.134 0 .275-.013.424-.04.148-.025.284-.08.41-.16.124-.082.23-.198.313-.35.085-.15.127-.354.127-.61v-5.423c0-.238-.042-.43-.127-.57-.084-.144-.19-.254-.318-.332-.13-.08-.267-.13-.415-.153-.148-.024-.286-.036-.414-.036h-.21v-.95h4.195v7.463c0 .256.043.46.127.61.084.152.19.268.314.35.125.08.263.135.414.16.15.027.29.04.418.04h.21v.95H10.82v-.95h.21z"/></g></svg>’; 2073 } 2074 2075 function woocs_draw_tooltip($text) { 2076 echo '<span class="woocs-sd-tooltip-toggle” aria-label="’ . $text . ‘">’ . woocs_get_tooltip_icon() . '</span>’; 2077 } 1454 1455 </div> 1456 1457 </li> 1458 </ul> 1459 </div> 1460 </div> 1461 <?php else: ?> 1462 <input type="hidden" name="woocs_geo_rules" value="" /> 1463 <?php endif; ?> 1464 1465 <?php if ($this->statistic AND $this->statistic->can_collect()): ?> 1466 <?php $this->statistic->install_table(); ?> 1467 1468 <div id="woocs-tabs-7" class="woocs__tab-pane"> 1469 <div class="woocs__tab-content"> 1470 1471 <div class="woocs__tools-panel"> 1472 <h5><?php echo esc_html__('Statistic’, ‘woocommerce-currency-switcher’) ?></h5> 1473 </div> 1474 1475 1476 <div class="woocs-p-3"> 1477 <div class="woocs__stat-holder"> 1478 1479 1480 <div class="woocs__stat-col" style="flex-basis: 75%;"> 1481 <select id="woocs-stat-chart-type" class="woocs__max-width"> 1482 <option value="pie"><?php echo esc_html__('Chart type: pie’, ‘woocommerce-currency-switcher’) ?></option> 1483 <option value="bar"><?php echo esc_html__('Chart type: bar’, ‘woocommerce-currency-switcher’) ?></option> 1484 </select> 1485 1486 <div id="woocs-stat-chart" class="woocs__stat-chart"></div> 1487 1488 </div> 1489 1490 1491 <div class="woocs__stat-col" style="flex-basis: 25%;"> 1492 <ul class="woocs__list"> 1493 <li> 1494 <select id="woocs-stat-type" class="woocs__max-width"> 1495 <option value="currency"><?php echo esc_html__('Currency’, ‘woocommerce-currency-switcher’) ?></option> 1496 <option value="order"><?php echo esc_html__('Orders (completed)', ‘woocommerce-currency-switcher’) ?></option> 1497 </select> 1498 </li> 1499 <li> 1500 <?php 1501 $format = 'dd-mm-yy’; 1502 $min_date = $this->statistic->get_min_date(); 1503 $first_this_m = new DateTime(‘first day of this month’); 1504 ?> 1505 1506 <input type="hidden" id="woocs-stat-calendar-format" value="<?php echo esc_attr($format) ?>" /> 1507 <input type="hidden" id="woocs-stat-calendar-min-y" value="<?php echo date('Y’, $min_date) ?>" /> 1508 <input type="hidden" id="woocs-stat-calendar-min-m" value="<?php echo (intval(date('m’, $min_date)) - 1) ?>" /> 1509 <input type="hidden" id="woocs-stat-calendar-min-d" value="<?php echo date('d’, $min_date) ?>" /> 1510 1511 <input type="hidden" id="woocs-stat-from" value="<?php echo mktime(0, 0, 0, $first_this_m->format(‘m’), $first_this_m->format(‘d’), $first_this_m->format(‘Y’)) ?>" /> 1512 <input type="text" readonly="" value="<?php echo $first_this_m->format(‘d-m-Y’); ?>" class="woocs_stat_calendar woocs__max-width woocs_stat_calendar_from" placeholder="<?php echo esc_html__('from’, ‘woocommerce-currency-switcher’) ?>" /> 1513 <input type="hidden" id="woocs-stat-to" value="0" /> 1514 <input type="text" readonly="" value="" class="woocs_stat_calendar woocs__max-width woocs_stat_calendar_to" placeholder="<?php echo esc_html__('to’, ‘woocommerce-currency-switcher’) ?>" /> 1515 1516 </li> 1517 <li class="woocs-d-flex woocs-align-items-center"> 1518 <a href="javascript: woocs_stat_redraw(1); void(0);" id="woocs_stat_redraw_1" class="woocs_stat_redraw_btn woocs__button"> 1519 <span class="icon-arrows-cw"></span> <?php echo $this->statistic->get_label(1) ?> 1520 </a> 1521 <label class="woocs-options-valign-top"> 1522 <?php woocs_draw_tooltip(esc_html__('For currencies - aggregated data about selected currencies on the site front. For orders - count of orders made in the selected currencies.’, ‘woocommerce-currency-switcher’)) ?> 1523 </label> 1524 </li> 1525 <li class="woocs-d-flex woocs-align-items-center"> 1526 <a href="javascript: woocs_stat_redraw(2); void(0);" id="woocs_stat_redraw_2" class="woocs_stat_redraw_btn woocs__button"> 1527 <span class="icon-arrows-cw"></span> <?php echo $this->statistic->get_label(2) ?> 1528 </a> 1529 <label class="woocs-options-valign-top"><?php woocs_draw_tooltip(esc_html__(‘For currencies - aggregated data about count of countries which users selected currencies on the site front. For orders - count of orders made from countries, detected by selected country in the billing address.’, ‘woocommerce-currency-switcher’)) ?></label> 1530 </li> 1531 </ul> 1532 </div> 1533 </div> 1534 </div> 1535 1536 <div class="woocs__list woocs-p-10"> 1537 1538 <div class="woocs__alert woocs__alert-info" role="alert"> 1539 <p><?php printf(__(“If you have ideas about scenarios of the statistic please share and discuss them on %s", ‘woocommerce-currency-switcher’), '<a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/” target="_blank">’ . esc_html__('the plugin forum’, ‘woocommerce-currency-switcher’) . ‘</a>’) ?></p> 1540 </div> 1541 1542 1543 <div class="woocs__alert woocs__alert-warning" role="alert"> 1544 <h4 class="woocs__alert-heading"><?php esc_html_e('Note’, ‘woocommerce-currency-switcher’) ?></h4> 1545 <p><?php esc_html_e('If in tab Options activated option I am using cache plugin on my site - to avoid double data for statistical data registration in tab Options activate option No GET data in link!’, ‘woocommerce-currency-switcher’) ?></p> 1546 </div> 1547 1548 1549 </div> 1550 </div> 1551 </div> 1552 <?php endif; ?> 1553 1554 <div id="woocs-tabs-8" class="woocs__tab-pane"> 1555 <div class="woocs__tab-content"> 1556 1557 <div class="woocs-p-4"> 1558 1559 <?php if (time() < 1638403199): ?> 1560 <div style="text-align: center;"> 1561 <a href="https://1.envato.market/DmRod" target="_blank"><img src="https://pluginus.net/wp-content/uploads/2021/11/cybermonday-2021-1.jpg" alt="Cyber Monday 2021"></a><br> 1562 1563 <img src="https://gen.sendtric.com/countdown/qxnyqw0vu1" alt="Cyber Monday 2021 timer"><br> 1564 </div> 1565 <?php endif; ?> 1566 1567 <div class="woocs-card-holder woocs__col-2"> 1568 1569 <div class="woocs-card-item"> 1570 1571 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1572 <div class="woocs-card-body"> 1573 <img src="<?php echo WOOCS_LINK ?>img/icon/site-structure-optimization.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1574 <h5 class="woocs-h5"><a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Support’, ‘woocommerce-currency-switcher’); ?></a></h5> 1575 <p><?php esc_html_e('If you have questions about plugin functionality or found bug write us please’, ‘woocommerce-currency-switcher’); ?></p> 1576 </div> 1577 </div> 1578 1579 </div> 1580 1581 <div class="woocs-card-item"> 1582 1583 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1584 <div class="woocs-card-body"> 1585 <img src="<?php echo WOOCS_LINK ?>img/icon/features.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1586 <h5 class="woocs-h5"><a href="https://currency-switcher.com/faq" class="woocs-text-dark" target="_blank"><?php esc_html_e('FAQ’, ‘woocommerce-currency-switcher’); ?></a></h5> 1587 <p><?php esc_html_e('Check please already prepared answers’, ‘woocommerce-currency-switcher’); ?></p> 1588 </div> 1589 </div> 1590 1591 </div> 1592 1593 <div class="woocs-card-item"> 1594 1595 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1596 <div class="woocs-card-body"> 1597 <img src="<?php echo WOOCS_LINK ?>img/icon/bookmarking.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1598 <h5 class="woocs-h5"><a href="https://currency-switcher.com/codex/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Codex’, ‘woocommerce-currency-switcher’); ?></a></h5> 1599 <p><?php esc_html_e('WOOCS has power bunch of functionality’, ‘woocommerce-currency-switcher’); ?></p> 1600 </div> 1601 </div> 1602 1603 </div> 1604 1605 <div class="woocs-card-item"> 1606 1607 <div class="woocs-card woocs-transition woocs-text-center woocs-rounded"> 1608 <div class="woocs-card-body"> 1609 <img src="<?php echo WOOCS_LINK ?>img/icon/clean-code.svg" class="woocs-avatar woocs-avatar-small woocs-mb-3" alt=""> 1610 <h5 class="woocs-h5"><a href="https://currency-switcher.com/woocs-labs/" class="woocs-text-dark" target="_blank"><?php esc_html_e('Labs’, ‘woocommerce-currency-switcher’); ?></a></h5> 1611 <p><?php esc_html_e('Found incompatibility? We can help!’, ‘woocommerce-currency-switcher’); ?></p> 1612 </div> 1613 </div> 1614 1615 </div> 1616 1617 </div> 1618 1619 <div class="woocs-row"> 1620 1621 <div class="woocs-col-lg-6 woocs-mt-4"> 1622 1623 <div class="woocs-d-flex woocs-p-4 woocs-shadow woocs-align-items-center woocs-features woocs-rounded"> 1624 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1625 <span class="icon-info-circled woocs-d-block woocs-rounded"></span> 1626 </div> 1627 <div class="woocs-ms-4"> 1628 <h5 class="woocs-h5 woocs-mb-1"> 1629 <a class="woocs-text-dark" href="https://www.youtube.com/watch?v=wUoM9EHjnYs" target="_blank"> 1630 <?php esc_html_e(“Quick Introduction", ‘woocommerce-currency-switcher’) ?> 1631 </a> 1632 </h5> 1633 </div> 1634 </div> 1635 1636 </div> 1637 1638 <div class="woocs-col-lg-6 woocs-mt-4"> 1639 <div class="woocs-d-flex woocs-p-4 woocs-shadow woocs-align-items-center woocs-features woocs-rounded"> 1640 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1641 <span class="icon-heart woocs-d-block woocs-rounded"></span> 1642 </div> 1643 <div class="woocs-ms-4"> 1644 <h5 class="woocs-h5 woocs-mb-1"> 1645 <a class="woocs-text-dark” href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" target="_blank"><?php echo esc_html__('WooCommerce Currency Switcher Support’, ‘woocommerce-currency-switcher’) ?></a> 1646 </h5> 1647 </div> 1648 </div> 1649 </div> 1650 1651 <div class="woocs-col-lg-6 woocs-mt-4"> 1652 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1653 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1654 <span class="icon-language woocs-d-block woocs-rounded"></span> 1655 </div> 1656 <div class="woocs-ms-4"> 1657 <h5 class="woocs-h5 woocs-mb-1"> 1658 <a class="woocs-text-dark" href="https://currency-switcher.com/translations/" target="_blank"><?php echo esc_html__('Translations’, ‘woocommerce-currency-switcher’) ?></a> 1659 </h5> 1660 </div> 1661 </div> 1662 </div> 1663 1664 <div class="woocs-col-lg-6 woocs-mt-4"> 1665 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1666 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1667 <span class="icon-dollar woocs-d-block woocs-rounded"></span> 1668 </div> 1669 <div class="woocs-ms-4"> 1670 <h5 class="woocs-h5 woocs-mb-1"> 1671 <a class="woocs-text-dark" href="http://en.wikipedia.org/wiki/ISO_4217#Active_codes" target="_blank"><?php echo esc_html__('Read wiki about Currency Active codes’, ‘woocommerce-currency-switcher’) ?></a> 1672 </h5> 1673 </div> 1674 </div> 1675 </div> 1676 1677 <div class="woocs-col-lg-6 woocs-mt-4"> 1678 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1679 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1680 <span class="icon-globe woocs-d-block woocs-rounded"></span> 1681 </div> 1682 <div class="woocs-ms-4"> 1683 <h5 class="woocs-h5 woocs-mb-1"> 1684 <a class="woocs-text-dark" href="https://currency-switcher.com/get-flags-free/" target="_blank"><?php echo esc_html__('Free flags images’, ‘woocommerce-currency-switcher’) ?></a> 1685 </h5> 1686 <p><?php esc_html_e('Find and use free flags to your taste according to your business preferences’, ‘woocommerce-currency-switcher’) ?></p> 1687 </div> 1688 </div> 1689 </div> 1690 1691 <div class="woocs-col-lg-6 woocs-mt-4"> 1692 <div class="woocs-d-flex woocs-align-items-center woocs-p-4 woocs-shadow woocs-features woocs-rounded"> 1693 <div class="woocs-icons woocs-text-primary woocs-text-center"> 1694 <span class="icon-video woocs-d-block woocs-rounded"></span> 1695 </div> 1696 <div class="woocs-ms-4"> 1697 <h5 class="woocs-h5 woocs-mb-1"> 1698 <a class="woocs-text-dark" href="https://currency-switcher.com/video-tutorials/" target="_blank"><?php echo esc_html__('Video tutorials’, ‘woocommerce-currency-switcher’) ?></a> 1699 </h5> 1700 <p><?php esc_html_e('Watch video tutorials about WOOCS features to use its functionality in full force’, ‘woocommerce-currency-switcher’) ?></p> 1701 </div> 1702 </div> 1703 </div> 1704 1705 </div> 1706 1707 <?php 1708 $rate_url = 'https://codecanyon.net/downloads#item-8085217’; 1709 if ($WOOCS->notes_for_free) { 1710 $rate_url = 'https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/#new-post’; 1711 } 1712 ?> 1713 1714 <div class="woocs__alert woocs__alert-info" role="alert"> 1715 <h5 class="woocs__alert-heading"> 1716 <?php esc_html_e('Some questions’, ‘woocommerce-currency-switcher’) ?>: 1717 </h5> 1718 <ul class="woocs-list-unstyled woocs-text-muted woocs-border-top woocs-mb-0 woocs-pt-3"> 1719 <li><a href="https://currency-switcher.com/i-cant-add-flags-what-to-do/" target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“I cant add flags! What to do?", ‘woocommerce-currency-switcher’) ?></a></li> 1720 <li><a href="https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me/” target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“Using Geolocation causes problems, doesn’t seem to work for me", ‘woocommerce-currency-switcher’) ?></a></li> 1721 <li><a href="https://currency-switcher.com/how-to-insert-currency-switcher-into-site-menu/” target="_blank" class="woocs-text-decoration-underline"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><?php esc_html_e(“How to insert currency switcher into site menu?", ‘woocommerce-currency-switcher’) ?></a></li> 1722 </ul> 1723 </div> 1724 1725 <div class="woocs__section-title woocs-mb-3"> 1726 <h5><?php esc_html_e(“More power for your shop", ‘woocommerce-currency-switcher’) ?></h5> 1727 </div> 1728 1729 <ul class="woocs__features-gallery woocs__col-6"> 1730 <li><a target="_blank” href="https://pluginus.net/affiliate/woocommerce-products-filter"><img class="woocs-rounded” width="300" src="<?php echo WOOCS_LINK ?>img/woof_banner.png" /></a></li> 1731 <li><a target="_blank" href="https://pluginus.net/affiliate/woocommerce-bulk-editor"><img class="woocs-rounded" width="300" src="<?php echo WOOCS_LINK ?>img/woobe_banner.png" /></a></li> 1732 <li><a target="_blank" href="https://pluginus.net/affiliate/woot-woocommerce-products-tables"><img class="woocs-rounded" width="300" src="<?php echo WOOCS_LINK ?>img/woot_banner.png" /></a></li> 1733 </ul> 1734 1735 1736 </div> 1737 1738 </div> 1739 </div> 1740 1741 <div id="tab-smart-designer" class="woocs__tab-pane woocs_settings_section"> 1742 <div class="woocs__tab-content"> 1743 1744 <div id="woocs-sd-manage-area"> 1745 1746 <div class="woocs__tools-panel"> 1747 <h5><?php esc_html_e(“Smart Designer", ‘woocommerce-currency-switcher’) ?></h5> 1748 </div> 1749 1750 1751 <div style="padding: 10px;"> 1752 <div class="woocs__alert woocs__alert-success"><?php esc_html_e(“In this section you can create your own view of currency drop-down switcher", ‘woocommerce-currency-switcher’); ?></div> 1753 1754 1755 <a href="#” id="woocs-sd-create” class="woocs__button dashicons-before dashicons-plus"><?php esc_html_e(“Create", ‘woocommerce-currency-switcher’) ?></a><br /> 1756 1757 1758 <br /> 1759 <?php 1760 global $WOOCS_SD; 1761 $designs = array_reverse($WOOCS_SD->get_designs()); 1762 ?> 1763 <div class="woocs-data-table"> 1764 <table id="woocs-sd-table"> 1765 1766 <tbody> 1767 <?php if (!empty($designs)): ?> 1768 <?php foreach ($designs as $design_id) : ?> 1769 <tr id="woocs-sd-dashboard-tr-<?php echo $design_id ?>"> 1770 <td> 1771 <?php echo $design_id ?> 1772 </td> 1773 1774 <td> 1775 <input type="text” value="[woocs sd=<?php echo $design_id ?>]" readonly="" /> 1776 </td> 1777 <td> 1778 <div class="woocs__buttons-group woocs-align-self-end woocs-flr-clr"> 1779 <a href="javascript: woocs_sd_edit(<?php echo $design_id ?>);void(0);" class="woocs__button woocs__button-small woocs__button-outline-success dashicons-before dashicons-update"><?php esc_html_e('edit’, ‘woocommerce-currency-switcher’) ?></a><a href="javascript: woocs_sd_delete(<?php echo $design_id ?>);void(0);" class="woocs__button woocs__button-small woocs__button-outline-warning dashicons-before dashicons-dismiss"><?php esc_html_e('delete’, ‘woocommerce-currency-switcher’) ?></a> 1780 </div> 1781 </td> 1782 </tr> 1783 <?php endforeach; ?> 1784 <?php endif; ?> 1785 </tbody> 1786 1787 </table> 1788 1789 </div> 1790 1791 1792 </div> 1793 </div> 1794 1795 <div id="woocs-sd-work-area" style="display: none;"></div> 1796 1797 <template id="woocs-sd-work-area-tpl"> 1798 <div class="woocs-sd-main-wrapper"> 1799 1800 <?php 1801 $menu = [ 1802 ‘general’ => esc_html__(“General", ‘woocommerce-currency-switcher’), 1803 ‘title’ => esc_html__(“Title", ‘woocommerce-currency-switcher’), 1804 ‘description’ => esc_html__(“Description", ‘woocommerce-currency-switcher’), 1805 ‘image’ => esc_html__(“Flag", ‘woocommerce-currency-switcher’) 1806 ]; 1807 ?> 1808 1809 <div id="woocs-sd-dd” class="woocs-sd-panel woocs-sd-panel-current” data-menu=’<?php echo json_encode($menu) ?>’> 1810 1811 <div id="selectron23-example-container"> 1812 <?php global $WOOCS_SD; ?> 1813 <div id="selectron23-example” data-woocs-sd-currencies=’<?php echo json_encode($WOOCS_SD->get_currencies()) ?>’></div> 1814 1815 </div> 1816 1817 <div id="woocs-sd-dd-options” class="woocs-sd-panel-options"></div> 1818 1819 <div class="woocs-sd-missing-options"><a href="https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/" target="_blank"><?php esc_html_e(“Missing options? Describe your proposal please on the support forum.", ‘woocommerce-currency-switcher’) ?></a></div> 1820 1821 </div> 1822 1823 <div id="woocs-sd-pp” class="woocs-sd-panel"> 1824 popup 1825 </div> 1826 1827 <div id="woocs-sd-ss" class="woocs-sd-panel"> 1828 side switcher 1829 </div> 1830 1831 <div id="woocs-sd-c" class="woocs-sd-panel"> 1832 custom 1833 </div> 1834 1835 </div> 1836 1837 <div id="woocs-sd-main-buttons"> 1838 <div><a href="javascript: woocs_sd_save();void(0);" class="woocs-panel-button dashicons-before dashicons-cloud-saved"><?php esc_html_e(“Save changes", ‘woocommerce-currency-switcher’) ?></a> </div> 1839 <div><a href="javascript: woocs_sd_save_exit();void(0);” class="woocs-panel-button dashicons-before dashicons-cloud-saved dashicons-exit"><?php esc_html_e(“Save and exit", ‘woocommerce-currency-switcher’) ?></a> </div> 1840 <div><a href="javascript: woocs_sd_exit_no_save();void(0);” class="woocs-panel-button dashicons-before dashicons-exit"><?php esc_html_e(“Exit without save", ‘woocommerce-currency-switcher’) ?></a> </div> 1841 <div><a href="javascript: woocs_sd_reset();void(0);” class="woocs-panel-button dashicons-before dashicons-dismiss"><?php esc_html_e(“Reset to default", ‘woocommerce-currency-switcher’) ?></a> </div> 1842 </div> 1843 </template> 1844 1845 1846 </div> 1847 </div> 1848 1849 1850 </div> 1851 </div> 1852 1853 <div class="woocs_settings_powered woocs-mb-3"> 1854 <h5><a href="https://pluginus.net/” target="_blank" >Powered by PluginUs.NET</a></h5> 1855 </div> 1856 1857 </div> 1858 1859 <div class="woocs__alert woocs__alert-info" role="alert"> 1860 <ul class="woocs-list-unstyled"> 1861 <li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><span><?php esc_html_e('Hint’, ‘woocommerce-currency-switcher’); ?>:</span> <?php esc_html_e('If you want let your customers pay in their selected currency in tab Advanced set the option Is multiple allowed to Yes.’, ‘woocommerce-currency-switcher’); ?></li> 1862 <li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="woocs-fea woocs-icon-sm woocs-me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg><span><?php esc_html_e('Note’, ‘woocommerce-currency-switcher’); ?>:</span> <?php esc_html_e(“If WOOCS settings panel looks incorrect or you have JavaScript errors (after update) - firstly", ‘woocommerce-currency-switcher’) ?> <a href="https://pluginus.net/how-to-reset-page-cache-in-the-browser/” target="_blank"><?php esc_html_e(“reset the browser cache", ‘woocommerce-currency-switcher’) ?></a></li> 1863 </ul> 1864 </div> 1865 1866 <?php if ($WOOCS->notes_for_free): ?> 1867 1868 <div class="woocs__alert woocs__alert-warning woocs_free_warning"><?php printf(__('In the free version of the plugin %s you can operate with 2 ANY currencies only%s! If you want to use more currencies %s you can make upgrade to the premium version%s of the plugin’, ‘woocommerce-currency-switcher’), '<b class="woocs_red">’, '</b>’, '<a href="https://pluginus.net/affiliate/woocommerce-currency-switcher” target="_blank">’, ‘</a>’) ?></div> 1869 1870 <div class="woocs__alert woocs__alert-success"> 1871 <table class="woocs_settings_promotion" > 1872 <tr> 1873 <td> 1874 <h6 class="woocs_red"><?php esc_html_e(“UPGRADE to Full version", ‘woocommerce-currency-switcher’) ?>:</h6> 1875 <a href="https://pluginus.net/affiliate/woocommerce-currency-switcher” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woocs_banner.png" alt="<?php esc_html_e(“full version of the plugin", ‘woocommerce-currency-switcher’); ?>” /></a> 1876 </td> 1877 1878 <td> 1879 <h6><?php esc_html_e(“WOOF - WooCommerce Products Filter", ‘woocommerce-currency-switcher’) ?>:</h6> 1880 <a href="https://pluginus.net/affiliate/woocommerce-products-filter” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woof_banner.png" alt="<?php esc_html_e(“WOOF - WooCommerce Products Filter", ‘woocommerce-currency-switcher’); ?>” /></a> 1881 </td> 1882 1883 <td> 1884 <h6><?php esc_html_e(“WOOBE - WooCommerce Bulk Editor Professional", ‘woocommerce-currency-switcher’) ?>:</h6> 1885 <a href="https://pluginus.net/affiliate/woocommerce-bulk-editor” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woobe_banner.png" alt="<?php esc_html_e(“WOOBE - WooCommerce Bulk Editor Professional", ‘woocommerce-currency-switcher’); ?>” /></a> 1886 </td> 1887 1888 <td> 1889 <h6><?php esc_html_e(“WOOT - WooCommerce Active Products Tables", ‘woocommerce-currency-switcher’) ?>:</h6> 1890 <a href="https://pluginus.net/affiliate/woot-woocommerce-products-tables” target="_blank"><img src="<?php echo WOOCS_LINK ?>img/woot_banner.png" alt="<?php esc_html_e(“WOOT - WooCommerce Active Products Tables", ‘woocommerce-currency-switcher’); ?>” /></a> 1891 </td> 1892 1893 </tr> 1894 </table> 1895 </div> 1896 1897 <?php endif; ?> 1898 1899 1900 <div class="info_popup woocs_settings_hide" ></div> 1901 1902 </div> 1903 1904 1905 <?php 1906 1907 function woocs_print_currency($_this, $currency) { 1908 global $WOOCS; 1909 $is_etalon = intval($currency[‘is_etalon’]); 1910 ?> 1911 <tr data-etalon="<?php echo $is_etalon ?>"> 1912 <td data-title="<?php esc_html_e('Basic’, ‘woocommerce-currency-switcher’) ?>"> 1913 <label class="woocs-checkmark-label"> 1914 <input class="woocs_is_etalon" type="radio" <?php checked(1, $is_etalon) ?> title="<?php esc_html_e(“Set etalon main currency. This should be the currency in which the price of goods exhibited!", ‘woocommerce-currency-switcher’) ?>” /> 1915 <input name="woocs_is_etalon[]" type="hidden" value="<?php echo $is_etalon; ?>" /> 1916 <span class="woocs-checkmark"></span> 1917 </label> 1918 </td> 1919 1920 <td data-title="<?php esc_html_e(“Drag and Drop", ‘woocommerce-currency-switcher’) ?>"> 1921 <a href="#” class="woocs__size-icon-large woocs_settings_move" title="<?php esc_html_e(“Drag and Drop", ‘woocommerce-currency-switcher’); ?>"> 1922 <span class="icon-arrow-combo"></span> 1923 </a> 1924 </td> 1925 1926 <td data-title="<?php esc_html_e(“Flag", ‘woocommerce-currency-switcher’); ?>"> 1927 <?php 1928 $flag = WOOCS_LINK . 'img/no_flag.png’; 1929 if (isset($currency[‘flag’]) AND!empty($currency[‘flag’])) { 1930 $flag = $currency[‘flag’]; 1931 } 1932 ?> 1933 <input type="hidden” value="<?php echo esc_attr($flag) ?>” class="woocs_flag_input" name="woocs_flag[]" /> 1934 <a href="#" class="woocs_flag woocs_settings_flag_tip" data-tip="<?php esc_html_e(“Click to select the flag", ‘woocommerce-currency-switcher’); ?>"> 1935 <img src="<?php echo esc_attr($flag) ?>” alt="<?php esc_html_e(“Flag", ‘woocommerce-currency-switcher’); ?>” /> 1936 </a> 1937 </td> 1938 1939 <td data-title="<?php esc_html_e(“Currency", ‘woocommerce-currency-switcher’) ?>” style="position: relative;"> 1940 <input type="text" value="<?php echo esc_attr($currency[‘name’]) ?>" name="woocs_name[]" class="woocs-name-input" placeholder="<?php esc_html_e(“Code", ‘woocommerce-currency-switcher’) ?>” /> 1941 </td> 1942 1943 <td data-title="<?php esc_html_e(“Symbol", ‘woocommerce-currency-switcher’) ?>"> 1944 <select name="woocs_symbol[]" title="<?php esc_html_e(“Currency symbols", ‘woocommerce-currency-switcher’) ?>"> 1945 <?php foreach ($_this->currency_symbols as $symbol) : ?> 1946 <option value="<?php echo md5($symbol) ?>” <?php selected(md5($currency[‘symbol’]), md5($symbol)) ?>><?php echo esc_html($symbol); ?></option> 1947 <?php endforeach; ?> 1948 </select> 1949 </td> 1950 1951 <td data-title="<?php esc_html_e(“Position", ‘woocommerce-currency-switcher’) ?>"> 1952 <select name="woocs_position[]" title="<?php esc_html_e('Select symbol position’, ‘woocommerce-currency-switcher’) ?>"> 1953 <?php 1954 foreach ($_this->currency_positions as $position) : 1955 1956 switch ($position) { 1957 case 'right’: 1958 $position_desc_sign = esc_html__('P$ - right’, ‘woocommerce-currency-switcher’); 1959 break; 1960 1961 case 'right_space’: 1962 $position_desc_sign = esc_html__('P $ - right space’, ‘woocommerce-currency-switcher’); 1963 break; 1964 1965 case 'left_space’: 1966 $position_desc_sign = esc_html__('$ P - left space’, ‘woocommerce-currency-switcher’); 1967 break; 1968 1969 default: 1970 $position_desc_sign = esc_html__('$P - left’, ‘woocommerce-currency-switcher’); 1971 break; 1972 } 1973 ?> 1974 <option value="<?php echo esc_attr($position) ?>” <?php selected($currency[‘position’], $position) ?>><?php echo esc_html($position_desc_sign) ?></option> 1975 <?php endforeach; ?> 1976 </select> 1977 </td> 1978 1979 1980 <td data-title="<?php esc_html_e(“Rate+%", ‘woocommerce-currency-switcher’) ?>"> 1981 <div class="woocs__table-card"> 1982 <div class="woocs__table-card-flex"> 1983 <div class="woocs__table-card-rate"> 1984 <input type="text” <?php if ($is_etalon): ?>readonly=""<?php endif; ?> value="<?php echo esc_attr($currency[‘rate’]) ?>” name="woocs_rate[]" placeholder="<?php esc_html_e(“Exchange rate", ‘woocommerce-currency-switcher’) ?>” /> 1985 <span> + </span> 1986 <input type="text" value="<?php echo (isset($currency[‘rate_plus’]) ? ($currency[‘rate_plus’] > 0 ? $currency[‘rate_plus’] : ‘’) : ‘’) ?>" name="woocs_rate_plus[]" class="woocs-text woocs-rate-plus" placeholder="<?php esc_html_e(‘interest’, ‘woocommerce-currency-switcher’) ?>" title="<?php esc_html_e(“+ to your interest in the rate, example values: 0.15, 20%", ‘woocommerce-currency-switcher’) ?>” /> 1987 </div> 1988 <button class="woocs__button woocs__size-icon-large woocs_get_fresh_rate" title="<?php esc_html_e(“Press the button if you want to update currency rate!", ‘woocommerce-currency-switcher’) ?>"> 1989 <span class="icon-arrows-cw"></span> 1990 </button> 1991 </div> 1992 </div> 1993 </td> 1994 1995 <td data-title="<?php esc_html_e(“Decimal", ‘woocommerce-currency-switcher’) ?>"> 1996 1997 <select name="woocs_decimals[]" class="woocs-drop-down woocs-decimals” title="<?php echo esc_html__('Decimals’, ‘woocommerce-currency-switcher’) ?>"> 1998 <?php 1999 $woocs_decimals = range(0, 8); 2000 if (!isset($currency[‘decimals’])) { 2001 $currency[‘decimals’] = 2; 2002 } 2003 ?> 2004 <?php foreach ($woocs_decimals as $v => $n): ?> 2005 <option <?php if ($currency[‘decimals’] == $v): ?>selected=""<?php endif; ?> value="<?php echo $v ?>"><?php echo $n ?></option> 2006 <?php endforeach; ?> 2007 </select> 2008 2009 </td> 2010 2011 2012 2013 <td data-title="<?php esc_html_e(“Separators", ‘woocommerce-currency-switcher’) ?>"> 2014 2015 <select name="woocs_separators[]" class="woocs-drop-down” title="<?php echo esc_html__('Separators’, ‘woocommerce-currency-switcher’) ?>"> 2016 <?php 2017 $separators = [ 2018 0 => '10,000.00’, //default 2019 1 => '10.000,00’, 2020 2 => '10 000.00’, 2021 3 => '10 000,00’, 2022 4 => '10000.00’, 2023 5 => '10000,00’, 2024 ]; 2025 foreach ($separators as $k => $v): 2026 if (!isset($currency[‘separators’])) { 2027 if (get_option('woocommerce_price_thousand_sep’, ‘.’) === ‘.’) { 2028 $currency[‘separators’] = 1; 2029 } else { 2030 $currency[‘separators’] = 0; 2031 } 2032 } 2033 ?> 2034 <option <?php if (isset($currency[‘separators’]) AND $currency[‘separators’] == $k): ?>selected=""<?php endif; ?> value="<?php echo $k ?>"><?php echo $v ?></option> 2035 <?php endforeach; ?> 2036 </select> 2037 2038 </td> 2039 2040 2041 <td data-title="<?php esc_html_e(“Visible", ‘woocommerce-currency-switcher’) ?>"> 2042 <?php echo draw_switcher23('woocs_hide_on_front[]', boolval(isset($currency[‘hide_on_front’]) ? $currency[‘hide_on_front’] : 0), '’, '’, true); ?> 2043 </td> 2044 2045 2046 <td data-title="<?php esc_html_e(“Cents", ‘woocommerce-currency-switcher’) ?>"> 2047 <select name="woocs_hide_cents[]" class="woocs-mw105 woocs-drop-down” <?php if (in_array($currency[‘name’], $WOOCS->no_cents)): ?>disabled=""<?php endif; ?>> 2048 <?php 2049 $woocs_hide_cents = array( 2050 0 => esc_html__(“Show cents", ‘woocommerce-currency-switcher’), 2051 1 => esc_html__(“Hide cents", ‘woocommerce-currency-switcher’) 2052 ); 2053 if (in_array($currency[‘name’], $WOOCS->no_cents)) { 2054 $currency[‘hide_cents’] = 1; 2055 } 2056 $hide_cents = 0; 2057 if (isset($currency[‘hide_cents’])) { 2058 $hide_cents = $currency[‘hide_cents’]; 2059 } 2060 ?> 2061 <?php foreach ($woocs_hide_cents as $v => $n): ?> 2062 <option <?php if ($hide_cents == $v): ?>selected=""<?php endif; ?> value="<?php echo $v ?>"><?php echo $n ?></option> 2063 <?php endforeach; ?> 2064 </select> 2065 </td> 2066 2067 2068 <td data-title="<?php esc_html_e(“Description", ‘woocommerce-currency-switcher’) ?>"> 2069 <input type="text” value="<?php echo esc_attr($currency[‘description’]) ?>” name="woocs_description[]" placeholder="<?php esc_html_e(“description", ‘woocommerce-currency-switcher’) ?>” /> 2070 </td> 2071 2072 2073 2074 </tr> 2075 2076 <?php 2077 } 2078 2079 function woocs_get_tooltip_icon() { 2080 return '<svg viewBox="0 0 27 27” xmlns="http://www.w3.org/2000/svg"><g fill="#6495ed” fill-rule="evenodd"><path d="M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27zm0-2C7.15 25 2 19.85 2 13.5S7.15 2 13.5 2 25 7.15 25 13.5 19.85 25 13.5 25z"/><path d="M12.05 7.64c0-.228.04-.423.12-.585.077-.163.185-.295.32-.397.138-.102.298-.177.48-.227.184-.048.383-.073.598-.073.203 0 .398.025.584.074.186.05.35.126.488.228.14.102.252.234.336.397.084.162.127.357.127.584 0 .22-.043.412-.127.574-.084.163-.196.297-.336.4-.14.106-.302.185-.488.237-.186.053-.38.08-.584.08-.215 0-.414-.027-.597-.08-.182-.05-.342-.13-.48-.235-.135-.104-.243-.238-.32-.4-.08-.163-.12-.355-.12-.576zm-1.02 11.517c.134 0 .275-.013.424-.04.148-.025.284-.08.41-.16.124-.082.23-.198.313-.35.085-.15.127-.354.127-.61v-5.423c0-.238-.042-.43-.127-.57-.084-.144-.19-.254-.318-.332-.13-.08-.267-.13-.415-.153-.148-.024-.286-.036-.414-.036h-.21v-.95h4.195v7.463c0 .256.043.46.127.61.084.152.19.268.314.35.125.08.263.135.414.16.15.027.29.04.418.04h.21v.95H10.82v-.95h.21z"/></g></svg>’; 2081 } 2082 2083 function woocs_draw_tooltip($text) { 2084 echo '<span class="woocs-sd-tooltip-toggle” aria-label="’ . $text . ‘">’ . woocs_get_tooltip_icon() . '</span>’; 2085 } 2086