Plugin Directory

Changeset 3366299


Ignore:
Timestamp:
09/23/2025 08:33:58 AM (6 months ago)
Author:
montonio
Message:

Update to version 9.1.1 from GitHub

Location:
montonio-for-woocommerce
Files:
12 added
116 deleted
108 edited
1 copied

Legend:

Unmodified
Added
Removed
  • montonio-for-woocommerce/tags/9.1.1/assets/css/montonio-admin-style.css

    r3351222 r3366299  
    443443}
    444444.montonio-shipping-panel__logo {
    445   max-height: 30px !important;
    446   max-width: 80px !important;
     445  max-height: 32px !important;
     446  max-width: 60px !important;
    447447  display: inline-block !important;
    448448}
  • montonio-for-woocommerce/tags/9.1.1/assets/css/montonio-admin-style.scss

    r3351222 r3366299  
    525525
    526526        &__logo {
    527             max-height: 30px !important;
    528             max-width: 80px !important;
     527            max-height: 32px !important;
     528            max-width: 60px !important;
    529529            display: inline-block !important;
    530530        }
  • montonio-for-woocommerce/tags/9.1.1/assets/css/montonio-style.css

    r3351222 r3366299  
    126126
    127127.montonio-shipping-provider-logo {
    128   max-height: 50px !important;
    129   max-width: 80px !important;
     128  max-height: 33px !important;
     129  max-width: 50px !important;
    130130  display: block !important;
    131131}
     
    223223  transform: translate(-50%, -50%);
    224224}
     225.montonio-spinner--xs::before {
     226  width: 16px;
     227  height: 16px;
     228  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path opacity="0.16" d="M15 8C15 8.91925 14.8189 9.82951 14.4672 10.6788C14.1154 11.5281 13.5998 12.2997 12.9497 12.9497C12.2997 13.5998 11.5281 14.1154 10.6788 14.4672C9.82951 14.8189 8.91925 15 8 15C7.08075 15 6.17049 14.8189 5.32122 14.4672C4.47194 14.1154 3.70026 13.5998 3.05025 12.9497C2.40024 12.2997 1.88463 11.5281 1.53284 10.6788C1.18106 9.8295 1 8.91925 1 8C1 7.08074 1.18106 6.17049 1.53284 5.32121C1.88463 4.47193 2.40024 3.70026 3.05025 3.05025C3.70027 2.40024 4.47194 1.88462 5.32122 1.53284C6.1705 1.18106 7.08075 1 8 1C8.91926 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9498 3.05026C13.5998 3.70027 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8L15 8Z" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 1C8.91925 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9497 3.05025C13.5998 3.70026 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     229}
    225230
    226231@keyframes montonio-spinner {
     
    235240  margin: 10px 0;
    236241}
     242
     243@keyframes montonio-spin {
     244  to {
     245    transform: rotate(360deg);
     246  }
     247}
     248.montonio-pickup-point {
     249  overflow: visible !important;
     250}
     251.montonio-pickup-point td {
     252  width: 100%;
     253  overflow: visible !important;
     254}
     255.montonio-pickup-point label {
     256  text-align: left;
     257}
     258.montonio-pickup-point__container {
     259  position: relative;
     260  width: 100%;
     261}
     262.montonio-pickup-point__search {
     263  width: 100%;
     264  background-color: #fff !important;
     265  border: 1px solid #d8d8d8 !important;
     266  background-image: url(../images/default-carrier-logo.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     267  background-repeat: no-repeat;
     268  background-size: auto 28px, 16px 16px;
     269  background-position: 10px center, right 11px center;
     270  border-radius: 2.5px;
     271  font-size: 14px;
     272  min-height: 48px;
     273  transition: border-color 0.2s ease, box-shadow 0.2s ease;
     274  box-sizing: border-box;
     275  box-shadow: none !important;
     276  padding: 10px 33px 10px 62px !important;
     277}
     278.montonio-pickup-point__search:focus {
     279  outline: none;
     280}
     281.montonio-pickup-point__search::-moz-placeholder {
     282  color: #7C7C7B;
     283}
     284.montonio-pickup-point__search::placeholder {
     285  color: #7C7C7B;
     286}
     287.montonio-pickup-point__search--omniva {
     288  background-image: url(../images/omniva-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     289}
     290.montonio-pickup-point__search--dpd {
     291  background-image: url(../images/dpd-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     292}
     293.montonio-pickup-point__search--latvian_post {
     294  background-image: url(../images/latvian_post-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     295}
     296.montonio-pickup-point__search--smartposti {
     297  background-image: url(../images/smartposti-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     298}
     299.montonio-pickup-point__search--unisend {
     300  background-image: url(../images/unisend-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     301}
     302.montonio-pickup-point__search--venipak {
     303  background-image: url(../images/venipak-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     304}
     305.montonio-pickup-point__search--inpost {
     306  background-image: url(../images/inpost-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     307}
     308.montonio-pickup-point__dropdown {
     309  position: absolute;
     310  top: 100%;
     311  left: 0;
     312  right: 0;
     313  margin-top: -1px;
     314  background: white;
     315  border: 1px solid #d8d8d8;
     316  border-radius: 0 0 3px 3px;
     317  max-height: 300px;
     318  overflow-y: auto;
     319  z-index: 1000;
     320  display: none;
     321  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     322}
     323.montonio-pickup-point__dropdown--show {
     324  display: block;
     325}
     326.montonio-pickup-point__option {
     327  padding: 12px 16px;
     328  cursor: pointer;
     329  border-bottom: 1px solid #f3f4f6;
     330  transition: background-color 0.15s ease;
     331}
     332.montonio-pickup-point__option:hover {
     333  background-color: rgba(242, 242, 242, 0.9490196078);
     334}
     335.montonio-pickup-point__option:last-child {
     336  border-bottom: none;
     337}
     338.montonio-pickup-point__option-name {
     339  font-size: 14px;
     340  font-weight: 500;
     341  color: #3C3C3C;
     342  margin-bottom: 0px;
     343}
     344.montonio-pickup-point__option-address {
     345  font-size: 13px;
     346  color: #7C7C7B;
     347  line-height: 1.4;
     348  margin-bottom: 4px;
     349}
     350.montonio-pickup-point__loading {
     351  display: flex;
     352  align-items: center;
     353  justify-content: center;
     354  gap: 5px;
     355  padding: 16px;
     356  text-align: center;
     357  color: #6b7280;
     358  font-size: 14px;
     359}
     360.montonio-pickup-point__no-results {
     361  padding: 16px;
     362  text-align: center;
     363  color: #9ca3af;
     364  font-size: 14px;
     365}
     366.montonio-pickup-point__error {
     367  background: #ffebeb;
     368  color: #ce0920;
     369  font-size: 12px;
     370  padding: 9px 12px;
     371  margin-top: 5px;
     372  overflow-wrap: break-word;
     373  border-radius: 6px;
     374}
     375.montonio-pickup-point__error--hidden {
     376  display: none;
     377}
  • montonio-for-woocommerce/tags/9.1.1/assets/css/montonio-style.scss

    r3351222 r3366299  
    151151
    152152.montonio-shipping-provider-logo {
    153     max-height: 50px !important;
    154     max-width: 80px !important;
     153    max-height: 33px !important;
     154    max-width: 50px !important;
    155155    display: block !important;
    156156}
     
    267267        transform: translate(-50%, -50%);
    268268    }
     269
     270    &--xs {
     271        &::before {
     272            width: 16px;
     273            height: 16px;
     274            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path opacity="0.16" d="M15 8C15 8.91925 14.8189 9.82951 14.4672 10.6788C14.1154 11.5281 13.5998 12.2997 12.9497 12.9497C12.2997 13.5998 11.5281 14.1154 10.6788 14.4672C9.82951 14.8189 8.91925 15 8 15C7.08075 15 6.17049 14.8189 5.32122 14.4672C4.47194 14.1154 3.70026 13.5998 3.05025 12.9497C2.40024 12.2997 1.88463 11.5281 1.53284 10.6788C1.18106 9.8295 1 8.91925 1 8C1 7.08074 1.18106 6.17049 1.53284 5.32121C1.88463 4.47193 2.40024 3.70026 3.05025 3.05025C3.70027 2.40024 4.47194 1.88462 5.32122 1.53284C6.1705 1.18106 7.08075 1 8 1C8.91926 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9498 3.05026C13.5998 3.70027 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8L15 8Z" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 1C8.91925 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9497 3.05025C13.5998 3.70026 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     275        }
     276    }
    269277}
    270278
     
    282290    margin: 10px 0;
    283291}
     292
     293
     294
     295@keyframes montonio-spin {
     296  to {
     297    transform: rotate(360deg);
     298  }
     299}
     300
     301.montonio-pickup-point {
     302    overflow: visible !important;
     303
     304    td {
     305        width: 100%;
     306        overflow: visible !important;
     307    }
     308
     309    label {
     310        text-align: left;
     311    }
     312   
     313    &__container {
     314        position: relative;
     315        width: 100%;
     316    }
     317
     318    &__search {
     319        width: 100%;
     320        background-color: #fff !important;
     321        border: 1px solid #d8d8d8 !important;
     322        background-image: url(../images/default-carrier-logo.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     323        background-repeat: no-repeat;
     324        background-size: auto 28px, 16px 16px;
     325        background-position: 10px center, right 11px center;
     326        border-radius: 2.5px;
     327        font-size: 14px;
     328        min-height: 48px;
     329        transition: border-color 0.2s ease, box-shadow 0.2s ease;
     330        box-sizing: border-box;
     331        box-shadow: none !important;
     332        padding: 10px 33px 10px 62px !important;
     333
     334        &:focus {
     335            outline: none;
     336        }
     337
     338        &::placeholder {
     339            color: #7C7C7B;
     340        }
     341
     342        &--omniva {
     343            background-image: url(../images/omniva-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');;
     344        }       
     345
     346        &--dpd {
     347            background-image: url(../images/dpd-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     348        }
     349
     350        &--latvian_post {
     351            background-image: url(../images/latvian_post-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     352        }
     353
     354        &--smartposti {
     355            background-image: url(../images/smartposti-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     356        }
     357
     358        &--unisend {
     359            background-image: url(../images/unisend-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     360        }
     361
     362        &--venipak {
     363            background-image: url(../images/venipak-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     364        }
     365
     366        &--inpost {
     367            background-image: url(../images/inpost-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     368        } 
     369
     370    }
     371
     372    &__dropdown {
     373        position: absolute;
     374        top: 100%;
     375        left: 0;
     376        right: 0;
     377        margin-top: -1px;
     378        background: white;
     379        border: 1px solid #d8d8d8;
     380        border-radius: 0 0 3px 3px;
     381        max-height: 300px;
     382        overflow-y: auto;
     383        z-index: 1000;
     384        display: none;
     385        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     386
     387        &--show {
     388            display: block;
     389        }
     390    }
     391
     392    &__option {
     393        padding: 12px 16px;
     394        cursor: pointer;
     395        border-bottom: 1px solid #f3f4f6;
     396        transition: background-color 0.15s ease;
     397
     398        &:hover {
     399            background-color: #f2f2f2f2;
     400        }
     401
     402        &:last-child {
     403            border-bottom: none;
     404        }
     405    }
     406
     407    &__option-name {
     408        font-size: 14px;
     409        font-weight: 500;
     410        color: #3C3C3C;
     411        margin-bottom: 0px;
     412    }
     413
     414    &__option-address {
     415        font-size: 13px;
     416        color: #7C7C7B;
     417        line-height: 1.4;
     418        margin-bottom: 4px;
     419    }
     420
     421    &__loading {
     422        display: flex;
     423        align-items: center;
     424        justify-content: center;
     425        gap: 5px;
     426        padding: 16px;
     427        text-align: center;
     428        color: #6b7280;
     429        font-size: 14px;
     430    }
     431
     432    &__no-results {
     433        padding: 16px;
     434        text-align: center;
     435        color: #9ca3af;
     436        font-size: 14px;
     437    }
     438
     439    &__error {
     440        background: #ffebeb;
     441        color: #ce0920;
     442        font-size: 12px;
     443        padding: 9px 12px;
     444        margin-top: 5px;
     445        overflow-wrap: break-word;
     446        border-radius: 6px;
     447
     448        &--hidden {
     449            display: none;
     450        }
     451    }
     452}
  • montonio-for-woocommerce/tags/9.1.1/assets/images/latvian_post-rect.svg

    r3315103 r3366299  
    11<svg width="64" height="40" viewBox="0 0 64 40" fill="none" xmlns="http://www.w3.org/2000/svg">
    2 <rect width="64" height="40" rx="6" fill="#002F6C"/>
    3 <path d="M29.5434 17.5693H25.5051C25.4695 17.8539 24.3131 24.792 24.2598 25.0766H26.4657C26.5191 24.8098 26.8571 22.7106 26.8571 22.7106H28.476C30.3973 22.7106 31.6604 21.7499 31.945 20.0777C32.0873 19.206 31.7671 17.5693 29.5434 17.5693ZM28.2269 21.1451H27.1239L27.4442 19.2593H28.6895C29.1876 19.2593 30.0059 19.2593 29.8636 20.1666C29.6857 21.1451 28.7784 21.1451 28.2269 21.1451Z" fill="white"/>
    4 <path d="M33.9552 17.5693C33.8662 17.7472 30.0592 24.6852 29.8457 25.0766H32.0339C32.1228 24.8987 32.5854 23.9559 32.5854 23.9559H35.3606C35.3606 23.9559 35.4851 24.8987 35.5207 25.0766H37.78C37.7089 24.6852 36.2501 17.7472 36.1967 17.5693H33.9552ZM33.2614 22.586L34.5422 19.9709L34.7735 19.544L35.1827 22.586H33.2614Z" fill="white"/>
    5 <path d="M42.3159 20.4334C41.4087 20.22 40.6971 20.0421 40.7326 19.4728C40.8038 19.0636 41.2308 18.7968 41.889 18.7968C42.0669 18.7968 42.4227 18.8323 42.654 19.028C42.8674 19.1703 42.9564 19.3838 42.9208 19.6151H44.9844C45.1268 17.676 43.2766 17.3736 42.138 17.3736C40.6971 17.3736 38.9181 18.014 38.6156 19.8108C38.3844 21.2162 39.5941 21.5542 40.7682 21.8922L40.8928 21.9278C42.2092 22.3014 42.654 22.4437 42.565 22.9774C42.4583 23.6178 41.8178 23.8313 41.2485 23.8313C40.5488 23.8313 40.1456 23.6119 40.0388 23.1731C40.021 23.0486 40.021 22.9062 40.021 22.7461H37.8151C37.566 25.13 40.2523 25.2545 40.8038 25.2545C41.6399 25.2545 44.4329 25.0766 44.8243 22.7283C45.0378 21.3763 44.0238 20.896 42.992 20.6113L42.3159 20.4334Z" fill="white"/>
    6 <path d="M46.4606 25.0766H48.6665C48.7199 24.792 49.645 19.2593 49.645 19.2593H51.9043C51.9399 19.0281 52.1533 17.8005 52.1889 17.5693H45.4465C45.411 17.8005 45.2153 19.0281 45.1797 19.2593H47.439C47.439 19.2593 46.5139 24.792 46.4606 25.0766Z" fill="white"/>
    7 <path d="M56.2263 20.6113L55.5503 20.4334C54.643 20.22 53.9136 20.0421 53.967 19.4728C54.0382 19.0636 54.4651 18.7968 55.1234 18.7968C55.3013 18.7968 55.6571 18.8323 55.8883 19.028C56.1018 19.1703 56.1908 19.3838 56.1552 19.6151H58.2188C58.3611 17.676 56.511 17.3736 55.3724 17.3736C53.9314 17.3736 52.1524 18.014 51.85 19.8108C51.6187 21.2162 52.8285 21.5542 54.0026 21.8922L54.1271 21.9278C55.4436 22.3014 55.8883 22.4437 55.7994 22.9774C55.6926 23.6178 55.0522 23.8313 54.4829 23.8313C53.7713 23.8313 53.3681 23.6119 53.2732 23.1731C53.2376 23.0486 53.2376 22.9062 53.2554 22.7461H51.0495C50.8004 25.13 53.4867 25.2545 54.0382 25.2545C54.8743 25.2545 57.6495 25.0766 58.0409 22.7283C58.2722 21.3763 57.2582 20.896 56.2263 20.6113Z" fill="white"/>
    8 <path d="M9.13772 15.8258C7.80348 17.9251 8.01696 22.8173 8.30159 23.1375C9.06656 24.0092 17.3567 24.6852 20.3988 23.6712C21.0392 23.3866 22.6225 17.6938 21.9287 17.2668C21.5551 17.0533 16.9475 19.7752 15.293 19.8997C13.8521 20.0243 12.2332 17.9428 10.045 17.4269C9.72479 17.3558 9.60026 17.0711 9.72479 16.8932C9.84932 16.6975 10.2763 16.5552 10.6677 16.7153C12.3399 17.4447 13.6386 18.9213 14.5637 18.9035C16.396 18.8679 20.1319 17.1601 22.16 16.6264C22.3023 16.5908 22.5158 16.5196 22.5335 16.6442C23.2451 20.2733 21.5195 24.0982 21.306 24.2939C21.1459 24.4184 20.2386 24.9699 14.1545 25.0054C12.7491 25.0232 8.79971 24.6852 7.55442 24.1337C7.26978 24.0092 7.10967 22.675 7.37652 20.3089C7.59 18.352 8.4795 15.3099 8.87088 15.2388C13.3006 14.4204 24.0101 14.8118 23.939 14.7584C22.6403 13.7266 8.26601 13.8156 7.91021 14.6161C5.9889 18.9035 5.70426 24.8631 6.23796 25.0944C9.22667 26.4286 21.6085 26.2507 22.3734 24.8098C22.836 23.9558 24.0279 18.5655 23.9567 15.897C17.0365 14.8474 9.38678 15.4345 9.13772 15.8258Z" fill="#FFA300"/>
    9 <path d="M26.3929 14.7585L26.0549 16.7153H27.1401L27.0867 17.0534H25.6279L26.0193 14.7585H26.3929Z" fill="#FFA300"/>
    10 <path d="M31.2857 14.7585L31.7126 17.0534H31.3212L31.2145 16.4485H30.3606L30.0582 17.0534H29.6846L30.8765 14.7585H31.2857ZM31.1789 16.1461L31.0366 15.1498H31.0188L30.5385 16.1461H31.1789Z" fill="#FFA300"/>
    11 <path d="M36.6579 14.7585L36.6045 15.1143H35.9107L35.5905 17.0534H35.2169L35.5549 15.1143H34.8789L34.9323 14.7585H36.6579Z" fill="#FFA300"/>
    12 <path d="M39.8777 14.7585L40.109 16.573L40.9629 14.7585H41.3365L40.2335 17.0534H39.8243L39.4863 14.7585H39.8777Z" fill="#FFA300"/>
    13 <path d="M44.7708 14.7585L44.3794 17.0534H44.0059L44.3972 14.7585H44.7708Z" fill="#FFA300"/>
    14 <path d="M48.0979 17.1067C47.6531 17.1067 47.5286 16.7865 47.5998 16.3773L47.6176 16.2528H47.9912L47.9734 16.3773C47.92 16.6264 47.9556 16.7865 48.1868 16.7865C48.4359 16.7865 48.5071 16.6264 48.5604 16.3418L48.8273 14.7585H49.2009L48.934 16.324C48.8807 16.7154 48.7205 17.1067 48.0979 17.1067Z" fill="#FFA300"/>
    15 <path d="M53.4527 14.7585L53.8796 17.0534H53.4882L53.3815 16.4485H52.5454L52.2429 17.0534H51.8516L53.0613 14.7585H53.4527ZM53.3281 16.1461L53.1858 15.1498H53.168L52.6877 16.1461H53.3281Z" fill="#FFA300"/>
    16 <path d="M57.758 16.7865C58.0782 16.7865 58.2383 16.6086 58.2561 16.4307C58.2917 16.2528 58.2205 16.1816 58.1316 16.1461C57.9893 16.0927 57.8114 16.0571 57.5267 15.9682C57.1887 15.8614 57.1176 15.6124 57.1532 15.3811C57.2421 14.9186 57.6691 14.7051 58.0426 14.7051C58.4874 14.7051 58.8254 14.9541 58.7365 15.4345H58.3629C58.3985 15.1498 58.2383 15.0431 57.9715 15.0431C57.8114 15.0431 57.5801 15.0965 57.5445 15.3277C57.509 15.4878 57.5979 15.5768 57.7402 15.6302C57.7758 15.6479 58.2206 15.7725 58.3273 15.8081C58.5941 15.897 58.6831 16.1461 58.6475 16.3951C58.5586 16.911 58.096 17.1067 57.6691 17.1067C57.1887 17.1067 56.8329 16.8577 56.9219 16.2884H57.2955C57.2421 16.6442 57.4556 16.7865 57.758 16.7865Z" fill="#FFA300"/>
     2<rect width="64" height="40" rx="6" fill="#005792"/>
     3<g clip-path="url(#clip0_5225_282)">
     4<path d="M13.6592 14.1549H7V25.7688H12.4114V22.4472H13.6592C16.8332 22.4472 18.8324 20.8141 18.8324 18.301C18.8324 15.7879 16.8332 14.1549 13.6592 14.1549ZM12.6322 20.6314H12.4122V15.9714H12.6322C13.5496 15.9714 14.1001 16.5949 14.1001 18.3018C14.1001 20.0087 13.5496 20.6314 12.6322 20.6314ZM24.556 15.8618C21.6394 15.8618 19.5298 17.3114 19.2542 20.0453C20.0429 19.1096 21.1072 18.7792 22.2994 18.7792C23.4916 18.7792 24.2256 19.3296 24.3542 20.2653L22.9047 20.394C20.5568 20.614 18.9237 21.7148 18.9237 23.5314C18.9237 24.9809 20.0246 26.1366 21.7307 26.1366C22.8681 26.1366 23.8403 25.7148 24.3542 24.6322V25.7696H29.4908V20.3391C29.4908 17.5504 27.5647 15.8626 24.556 15.8626V15.8618ZM24.3542 23.6775C24.2629 23.7506 24.0977 23.8062 23.9325 23.8062C23.3638 23.8062 22.9785 23.2557 22.9785 22.6688C22.9785 22.0818 23.2168 21.5496 24.1707 21.2375L24.3542 21.2192V23.6775ZM37.2867 19.6044L34.7188 18.394C34.2414 18.1739 34.0397 17.9539 34.0397 17.6235C34.0397 17.3114 34.3145 17.0913 34.7736 17.0913C35.7823 17.0913 37.3971 18.0635 38.7728 19.807V16.8531C37.7641 16.1557 36.3884 15.8626 34.7005 15.8626C32.1874 15.8626 30.4813 17.3852 30.4813 19.3304C30.4813 20.6513 31.1421 21.4956 32.2422 22.0087L34.884 23.2009C35.4344 23.4392 35.6362 23.7148 35.6362 24.0635C35.6362 24.3757 35.3979 24.687 34.8657 24.687C33.8379 24.687 31.8935 23.3479 30.6831 21.807V25.0723C32.0039 25.7879 33.5266 26.1366 35.104 26.1366C37.5806 26.1366 39.2684 24.6322 39.2684 22.5592C39.2684 21 38.6449 20.2295 37.2875 19.6052L37.2867 19.6044ZM45.3216 13L40.185 17.1279V22.467C40.185 24.5949 41.5424 26.1366 43.8538 26.1366C46.5869 26.1366 47.9078 24.3384 47.9451 21.8435C47.6513 22.1374 47.3034 22.3391 46.6243 22.3391C45.8538 22.3391 45.3216 21.9174 45.3216 21.1096V18.1557H47.9634V16.2295H45.3216V13ZM55.4844 19.6044L52.9165 18.394C52.4392 18.1739 52.2374 17.9539 52.2374 17.6235C52.2374 17.3114 52.5123 17.0913 52.9713 17.0913C53.9801 17.0913 55.5949 18.0635 56.9705 19.807V16.8531C55.9618 16.1557 54.5861 15.8626 52.8983 15.8626C50.3852 15.8626 48.6791 17.3852 48.6791 19.3304C48.6791 20.6513 49.3399 21.4956 50.44 22.0087L53.0817 23.2009C53.6322 23.4392 53.8339 23.7148 53.8339 24.0635C53.8339 24.3757 53.5956 24.687 53.0635 24.687C52.0357 24.687 50.0913 23.3479 48.8808 21.807V25.0723C50.2017 25.7879 51.7243 26.1366 53.3018 26.1366C55.7783 26.1366 57.4662 24.6322 57.4662 22.5592C57.4662 21 56.8427 20.2295 55.4852 19.6052L55.4844 19.6044Z" fill="white"/>
     5</g>
     6<defs>
     7<clipPath id="clip0_5225_282">
     8<rect width="50.4654" height="13.1366" fill="white" transform="translate(7 13)"/>
     9</clipPath>
     10</defs>
    1711</svg>
  • montonio-for-woocommerce/tags/9.1.1/blocks/build/wc-montonio-shipping-dropdown/view.asset.php

    r3351222 r3366299  
    1 <?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'c8cd3af9e2225bcc5e49');
     1<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'd47161f0eaa2817bd468');
  • montonio-for-woocommerce/tags/9.1.1/blocks/build/wc-montonio-shipping-dropdown/view.js

    r3351222 r3366299  
    1 (()=>{"use strict";const e=window.React,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"montonio-for-woocommerce/wc-montonio-shipping-dropdown","version":"0.1.0","title":"Montonio Shipping Pickup Point Dropdown Block","category":"woocommerce","description":"Adds a Montonio Shipping Pickup Point Dropdown to the checkout page.","supports":{"html":false,"align":false,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-shipping-methods-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}}},"textdomain":"montonio-for-woocommerce","editorScript":"file:./index.js","viewScript":"file:./view.js"}'),t=window.wp.element,n=window.wp.i18n,i=window.wc.blocksCheckout,a=window.wp.data,c=window.lodash,{getSetting:s}=wc.wcSettings,r=s("wc-montonio-shipping-dropdown_data",{}),p={metadata:o,component:({checkoutExtensionData:o})=>{const[i,s]=(0,t.useState)(""),[p,l]=(0,t.useState)([]),[d,u]=(0,t.useState)(!1),[m,w]=(0,t.useState)(!1),[h,g]=(0,t.useState)(!1),{setExtensionData:k}=o,f=(0,t.useRef)(null),b=(0,t.useRef)(null),S="montonio-pickup-point",{setValidationErrors:y,clearValidationError:E}=(0,a.useDispatch)("wc/store/validation"),v=(0,a.useSelect)((e=>e("wc/store/validation").getValidationError(S))),{selectedShippingRate:C,shippingAddress:_,isCustomerDataUpdating:D}=(0,a.useSelect)((e=>{const o=e("wc/store/cart"),t=o.getCartData();return{selectedShippingRate:t.shippingRates?.[0]?.shipping_rates?.find((e=>e.selected))?.rate_id||null,shippingAddress:t.shippingAddress||{},isCustomerDataUpdating:o.isCustomerDataUpdating()}})),M=(0,t.useCallback)((0,c.debounce)(((e,o,t)=>{k(e,o,t)}),1e3),[k]),j=(0,t.useCallback)((e=>{const o=e.target.value;s(o),M("montonio-for-woocommerce","selected_pickup_point",o),g(!0)}),[M]),A=(0,t.useCallback)((async(e,o)=>{f.current&&f.current.abort();const t=new AbortController;f.current=t,u(!0);try{const n=await fetch(`${r.getShippingMethodItemsUrl}?shipping_method=${e}&country=${o}`,{headers:{"Content-Type":"application/json","X-WP-Nonce":r.nonce},signal:t.signal});if(!n.ok)throw new Error("Network response was not ok");return await n.json()}catch(e){return"AbortError"===e.name?console.log("Fetch aborted"):console.error("Error fetching pickup points:",e),{}}finally{u(!1),f.current=null}}),[]),N=(0,t.useCallback)((e=>Object.entries(e).map((([e,o])=>({label:e,options:o.map((o=>({value:o.id,label:`${o.name}${"yes"===r.includeAddress&&o.address?.trim()?` - ${o.address}, ${e}`:""}`})))})))),[]),$=(0,t.useCallback)((0,c.debounce)((async(e,o,t)=>{const n=await A(o,t),i=N(n);l(i),s(""),g(!1),u(!1)}),400),[A,N,j]),P=(0,t.useCallback)(((e,o)=>{const[t]=(e||":").split(":"),n=t.startsWith("montonio_")&&(t.endsWith("parcel_machines")||t.endsWith("post_offices"));w(n),n?(u(!0),$(e,t,o)):(l([]),s(""))}),[$]);(0,t.useEffect)((()=>{(C!==b.current||D)&&(P(C,_.country),b.current=C)}),[D,C,_.country,P]);const L=(0,t.useCallback)((()=>{if(!m)return;const e=document.getElementById("montonio-shipping-pickup-point-dropdown");e&&("undefined"!=typeof MontonioLegacy&&MontonioLegacy.Checkout&&MontonioLegacy.Checkout.ShippingDropdown?(window.montonioShippingDropdown&&window.montonioShippingDropdown.destroy(),window.montonioShippingDropdown=new MontonioLegacy.Checkout.ShippingDropdown({shippingMethod:C,accessKey:r.accessKey,targetId:"montonio-shipping-pickup-point-dropdown",shouldInjectCSS:!0,onLoaded:function(){const o=e.value;o&&j({target:{value:o}})}}),window.montonioShippingDropdown.init()):console.warn("Montonio SDK not available"))}),[m,C,j]);(0,t.useEffect)((()=>{p.length>0&&m&&requestAnimationFrame((()=>{L()}))}),[p,m,L]),(0,t.useEffect)((()=>{m&&""===i?y({[S]:{message:(0,n.__)("Please select a pickup point","montonio-for-woocommerce"),hidden:!h}}):v&&E(S)}),[m,i,y,E,S,h,v]);const R=(0,t.useCallback)((o=>[(0,e.createElement)("option",{key:"default",value:""},(0,n.__)("Select a pickup point","montonio-for-woocommerce")),...o.map(((o,t)=>(0,e.createElement)("optgroup",{key:t,label:o.label},o.options.map((o=>(0,e.createElement)("option",{key:o.value,value:o.value},o.label))))))]),[]);return(0,e.createElement)("div",{id:"montonio-shipping-pickup-point-dropdown-wrapper"},m&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",{className:"wc-block-components-title wc-block-components-checkout-step__title"},(0,n.__)("Pickup point","montonio-for-woocommerce")),d?(0,e.createElement)("p",null,(0,n.__)("Loading pickup points...","montonio-for-woocommerce")):(0,e.createElement)("div",{className:!1===v?.hidden?"has-error":""},(0,e.createElement)("input",{type:"text",className:"montonio-pickup-point-id",name:"montonio-pickup-point-id",value:i}),(0,e.createElement)("select",{id:"montonio-shipping-pickup-point-dropdown",onChange:j,value:i,className:!1===v?.hidden?"has-error":""},R(p)),!1===v?.hidden&&(0,e.createElement)("div",{className:"wc-block-components-validation-error"},(0,e.createElement)("p",null,v.message)))))}};(0,i.registerCheckoutBlock)(p)})();
     1(()=>{"use strict";const e=window.React,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"montonio-for-woocommerce/wc-montonio-shipping-dropdown","version":"0.1.0","title":"Montonio Shipping Pickup Point Dropdown Block","category":"woocommerce","description":"Adds a Montonio Shipping Pickup Point Dropdown to the checkout page.","supports":{"html":false,"align":false,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-shipping-methods-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}}},"textdomain":"montonio-for-woocommerce","editorScript":"file:./index.js","viewScript":"file:./view.js"}'),t=window.wp.element,n=window.wp.i18n,i=window.wc.blocksCheckout,c=window.wp.data,s=window.lodash,{getSetting:r}=wc.wcSettings,a=(r("wc-montonio-shipping-dropdown_data",{}),{metadata:o,component:({checkoutExtensionData:o})=>{const[i,r]=(0,t.useState)(""),[a,p]=(0,t.useState)(!1),[l,m]=(0,t.useState)(!1),{setExtensionData:d}=o,u=(0,t.useRef)(null),h=(0,t.useRef)(null),w=(0,t.useRef)(!1),k="montonio-pickup-point",{setValidationErrors:_,clearValidationError:g}=(0,c.useDispatch)("wc/store/validation"),f=(0,c.useSelect)((e=>e("wc/store/validation").getValidationError(k))),{shippingMethodId:E,shippingCarrier:v,shippingAddress:P,isCustomerDataUpdating:S}=(0,c.useSelect)((e=>{const o=e("wc/store/cart"),t=o.getCartData(),n=t.shippingRates?.[0]?.shipping_rates?.find((e=>e.selected)),i=n?.meta_data?.find((e=>"provider_name"===e.key));return{shippingMethodId:n?.method_id||null,shippingCarrier:i?.value||null,shippingAddress:t.shippingAddress||{},isCustomerDataUpdating:o.isCustomerDataUpdating()}})),{isProcessing:b}=(0,c.useSelect)((e=>({isProcessing:e("wc/store/checkout").isProcessing()}))),C=(0,t.useCallback)((0,s.debounce)(((e,o,t)=>{d(e,o,t)}),1e3),[d]),y=(0,t.useCallback)((e=>{const o=e.detail;r(o.id),C("montonio-for-woocommerce","selected_pickup_point",o.id),m(!0),f&&g(k)}),[C,f,g,k]);(0,t.useEffect)((()=>{const e=h.current;if(e&&a)return e.addEventListener("montonio-pickup-point-selected",y),()=>{e.removeEventListener("montonio-pickup-point-selected",y)}}),[a,y]);const N=(0,t.useCallback)((e=>{const o=e.startsWith("montonio_")&&(e.endsWith("parcel_machines")||e.endsWith("parcel_shops")||e.endsWith("post_offices"));window.montonioPickupPointSelector&&(window.montonioPickupPointSelector.clearSelection(),window.montonioPickupPointSelector.destroy()),r(""),w.current=o,p(o)}),[]);(0,t.useEffect)((()=>{(E!==u.current||S)&&(N(E),u.current=E)}),[S,E,P,N]);const D=(0,t.useCallback)((()=>{document.getElementById("montonio-pickup-point__search")&&(window.montonioPickupPointSelector=new MontonioPickupPointSelector)}),[]);return(0,t.useEffect)((()=>{a&&w.current&&(w.current=!1,requestAnimationFrame((()=>{D()})))}),[a,E,D]),(0,t.useEffect)((()=>{a&&""===i?_({[k]:{message:(0,n.__)("Please select a pickup point","montonio-for-woocommerce"),hidden:!l}}):f&&g(k)}),[a,i,_,g,k,l,f]),(0,e.createElement)("div",{id:"montonio-pickup-point-block",className:"montonio-pickup-point "+(!1===f?.hidden?"has-error":"")},a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wc-block-components-checkout-step__heading"},(0,e.createElement)("h2",{className:"wc-block-components-title wc-block-components-checkout-step__title"},(0,n.__)("Pickup point","montonio-for-woocommerce"))),(0,e.createElement)("div",{className:"montonio-pickup-point__container"},(0,e.createElement)("input",{ref:h,type:"text",id:"montonio-pickup-point__search",className:`montonio-pickup-point__search montonio-pickup-point__search--${v||""}`,placeholder:(0,n.__)("Type at least 3 characters to search...","montonio-for-woocommerce"),autoComplete:"off","data-carrier":v||"","data-country":P.country||""}),(0,e.createElement)("div",{className:"montonio-pickup-point__dropdown",id:"montonio-pickup-point__dropdown"}),(0,e.createElement)("div",{className:"montonio-pickup-point__error montonio-pickup-point__error--hidden",id:"montonio-pickup-point__error"})),(0,e.createElement)("input",{type:"hidden",id:"montonio_pickup_point",className:"montonio-pickup-point__selected",name:"montonio-pickup-point"}),!1===f?.hidden&&(0,e.createElement)("div",{className:"wc-block-components-validation-error"},(0,e.createElement)("p",{id:"validate-error-montonio_pickup_point"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})),(0,e.createElement)("span",null,f.message)))))}});(0,i.registerCheckoutBlock)(a)})();
  • montonio-for-woocommerce/tags/9.1.1/blocks/class-wc-montonio-shipping-dropdown-block.php

    r3351222 r3366299  
    6464            );
    6565       
    66         $script_asset['dependencies'][] = 'montonio-js-legacy';
    67 
    68         wp_register_script( 'montonio-js-legacy', 'https://public.montonio.com/assets/montonio-js/3.x/montonio.bundle.js', array(), WC_MONTONIO_PLUGIN_VERSION, true );
     66        $script_asset['dependencies'][] = 'montonio-shipping-pickup-points-search';
    6967
    7068        wp_register_script(
  • montonio-for-woocommerce/tags/9.1.1/includes/admin/class-wc-montonio-banners.php

    r3323482 r3366299  
    4444        $id = $_POST['id'];
    4545        check_ajax_referer( $id . '_nonce' );
    46 
    47         if ( ! current_user_can( 'edit_theme_options' ) ) {
    48             wp_die( -1 );
    49         }
    5046
    5147        // Get existing banner settings or initialize empty array
  • montonio-for-woocommerce/tags/9.1.1/includes/class-wc-montonio-helper.php

    r3270541 r3366299  
    311311        );
    312312
    313         // Return the mapped message if we have one for this message
    314         if ( ! empty( $message ) && isset( $error_translations[$message] ) ) {
    315             return $error_translations[$message];
    316         }
    317 
    318         // First fallback: Use the decoded message if it exists
     313        // Handle the message
    319314        if ( ! empty( $message ) ) {
    320 
    321315            if ( is_array( $message ) ) {
    322                 $message = implode( '; ', $message );
     316                // Arrays won't match translations, so just convert and return
     317                return implode( '; ', $message );
    323318            }
    324 
     319           
     320            // Check if we have a translation for this string message
     321            if ( isset( $error_translations[$message] ) ) {
     322                return $error_translations[$message];
     323            }
     324           
     325            // Return the original string message if no translation found
    325326            return $message;
    326327        }
    327328
    328         // Second fallback: Return the original error
     329        // Fallback: Return the original error
    329330        return $raw_error;
    330331    }
  • montonio-for-woocommerce/tags/9.1.1/includes/payment/payment-methods/class-wc-montonio-blik.php

    r3351222 r3366299  
    5555        $this->description      = $this->get_option( 'description' );
    5656        $this->enabled          = $this->get_option( 'enabled' );
    57         $this->test_mode     = $this->get_option( 'test_mode' );
     57        $this->test_mode        = $this->get_option( 'test_mode' );
    5858        $this->blik_in_checkout = $this->get_option( 'blik_in_checkout' );
    5959        $this->processor        = $this->get_option( 'processor', 'stripe' );
     
    105105                'default'     => 'no'
    106106            ),
    107             'test_mode'     => array(
     107            'test_mode'        => array(
    108108                'title'       => 'Test mode',
    109109                'label'       => 'Enable Test Mode',
     
    179179
    180180            // Disable the payment gateway if API keys are not provided
    181             if ( $settings['test_mode'] === 'yes' ) {
     181            if ( isset( $settings['test_mode'] ) && $settings['test_mode'] === 'yes' ) {
    182182                if ( empty( $api_settings['sandbox_access_key'] ) || empty( $api_settings['sandbox_secret_key'] ) ) {
    183183                    /* translators: API Settings page url */
     
    202202
    203203            try {
    204                 $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     204                $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    205205                $response     = json_decode( $montonio_api->fetch_payment_methods() );
    206206
     
    394394        }
    395395
    396         if ( $this->blik_in_checkout === 'yes' && ! WC_Montonio_Helper::is_checkout_block() ) {
    397             $embedded_blik_params = array(
    398                 'test_mode' => $this->test_mode,
    399                 'return_url'   => (string) apply_filters( 'wc_montonio_return_url', add_query_arg( 'wc-api', $this->id, trailingslashit( get_home_url() ) ), $this->id ),
    400                 'locale'       => WC_Montonio_Helper::get_locale( apply_filters( 'wpml_current_language', get_locale() ) ),
    401                 'nonce'        => wp_create_nonce( 'montonio_embedded_checkout_nonce' )
    402             );
    403             if ( $this->processor === 'blik' ) {
    404                 wp_enqueue_script( 'montonio-embedded-blik' );
    405                 wp_localize_script( 'montonio-embedded-blik', 'wc_montonio_embedded_blik', $embedded_blik_params );
    406             } else {
    407                 wp_enqueue_script( 'montonio-embedded-blik-legacy' );
    408                 wp_localize_script( 'montonio-embedded-blik-legacy', 'wc_montonio_inline_blik', $embedded_blik_params );
    409             }
     396        $embedded_blik_params = array(
     397            'test_mode'  => $this->test_mode,
     398            'return_url' => (string) apply_filters( 'wc_montonio_return_url', add_query_arg( 'wc-api', $this->id, trailingslashit( get_home_url() ) ), $this->id ),
     399            'locale'     => WC_Montonio_Helper::get_locale( apply_filters( 'wpml_current_language', get_locale() ) ),
     400            'nonce'      => wp_create_nonce( 'montonio_embedded_checkout_nonce' )
     401        );
     402
     403        if ( $this->processor === 'blik' ) {
     404            wp_enqueue_script( 'montonio-embedded-blik' );
     405            wp_localize_script( 'montonio-embedded-blik', 'wc_montonio_embedded_blik', $embedded_blik_params );
     406        } else {
     407            wp_enqueue_script( 'montonio-embedded-blik-legacy' );
     408            wp_localize_script( 'montonio-embedded-blik-legacy', 'wc_montonio_inline_blik', $embedded_blik_params );
    410409        }
    411410    }
  • montonio-for-woocommerce/tags/9.1.1/includes/payment/payment-methods/class-wc-montonio-card.php

    r3351222 r3366299  
    183183
    184184            // Disable the payment gateway if API keys are not provided
    185             if ( $settings['test_mode'] === 'yes' ) {
     185            if ( isset( $settings['test_mode'] ) && $settings['test_mode'] === 'yes' ) {
    186186                if ( empty( $api_settings['sandbox_access_key'] ) || empty( $api_settings['sandbox_secret_key'] ) ) {
    187187                    /* translators: API Settings page url */
     
    206206
    207207            try {
    208                 $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     208                $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    209209                $response     = json_decode( $montonio_api->fetch_payment_methods() );
    210210
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php

    r3283410 r3366299  
    11<?php
    2 
    32defined( 'ABSPATH' ) || exit;
    43
     
    1514     */
    1615    protected function __construct() {
    17         add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 20 );
    1816        add_filter( 'woocommerce_cart_shipping_method_full_label', array( $this, 'update_shipping_method_label' ), 10, 2 );
    1917        add_action( 'woocommerce_review_order_after_shipping', array( $this, 'render_shipping_method_items_dropdown' ) );
    2018        add_filter( 'woocommerce_order_shipping_to_display', array( $this, 'add_details_to_shipping_label_ordered' ), 10, 2 );
    2119        add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_pickup_point' ) );
    22     }
    23 
    24     /**
    25      * Enqueues the Montonio SDK script.
    26      *
    27      * @since 7.0.1 - Removed sync of shipping method items in here
    28      * @since 7.0.0
    29      * @return null
    30      */
    31     public function enqueue_scripts() {
    32         if ( ! is_checkout() ) {
    33             return;
    34         }
    35 
    36         if ( get_option( 'montonio_shipping_dropdown_type' ) === 'select2' ) {
    37             wp_enqueue_style( 'montonio-pickup-points' );
    38 
    39             if ( ! wp_script_is( 'selectWoo', 'registered' ) ) {
    40                 wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), false, true );
    41             }
    42 
    43             wp_enqueue_script( 'montonio-shipping-pickup-points-legacy' );
    44         } else {
    45             wp_enqueue_script( 'montonio-shipping-pickup-points' );
    46         }
    4720    }
    4821
     
    7952
    8053    /**
    81      * Will render the shipping method items dropdown using the montonio-js sdk.
     54     * Will render the shipping method items dropdown or search element.
    8255     *
    8356     * @since 7.0.0
     57     * @since 9.1.1 Added support for pickup point search element
    8458     * @return void
    8559     */
    8660    public function render_shipping_method_items_dropdown() {
    8761        $montonio_shipping_method = WC_Montonio_Shipping_Helper::get_chosen_montonio_shipping_method_at_checkout();
     62        if ( ! is_a( $montonio_shipping_method, 'Montonio_Shipping_Method' ) ) {
     63            return;
     64        }
    8865
    89         if ( ! is_a( $montonio_shipping_method, 'Montonio_Shipping_Method' ) ) {
     66        if ( is_a( $montonio_shipping_method, 'Montonio_Inpost_Parcel_Machines' ) ) {
     67            wc_get_template(
     68                'shipping-pickup-points-search.php',
     69                array(
     70                    'carrier' => $montonio_shipping_method->provider_name,
     71                    'country' => WC_Montonio_Shipping_Helper::get_customer_shipping_country()
     72                ),
     73                '',
     74                WC_MONTONIO_PLUGIN_PATH . '/templates/'
     75            );
     76
    9077            return;
    9178        }
     
    9986        wc_get_template(
    10087            'shipping-pickup-points-dropdown.php',
    101             [
     88            array(
    10289                'shipping_method'       => $montonio_shipping_method->id,
    10390                'shipping_method_items' => $shipping_method_items
    104             ],
     91            ),
    10592            '',
    10693            WC_MONTONIO_PLUGIN_PATH . '/templates/'
     
    125112        }
    126113
    127         $carrier = $shipping_method->provider_name;
     114        $carrier     = $shipping_method->provider_name;
    128115        $method_type = $shipping_method->type_v2;
    129116
    130         if ( in_array( $method_type, ['parcelMachine', 'postOffice', 'parcelShop'] ) ) {
     117        if ( in_array( $method_type, array( 'parcelMachine', 'postOffice', 'parcelShop' ) ) ) {
    131118            $shipping_method_item_id = isset( $_POST['montonio_pickup_point'] ) ? sanitize_text_field( wp_unslash( $_POST['montonio_pickup_point'] ) ) : null;
    132119
     
    137124
    138125            $shipping_method_item = WC_Montonio_Shipping_Item_Manager::get_shipping_method_item( $shipping_method_item_id );
    139            
     126
    140127            if ( $carrier != $shipping_method_item->carrier_code ) {
    141128                wc_add_notice( __( 'Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again.', 'montonio-for-woocommerce' ), 'error' );
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/class-wc-montonio-shipping-api.php

    r3247083 r3366299  
    6565     * @return string The body of the response. Empty string if no body or incorrect parameter given. as a JSON string
    6666     */
    67     public function get_pickup_points( $carrier = null, $country = null ) {
     67    public function get_pickup_points( $carrier = null, $country = null, $search = null ) {
    6868        $path = '/v3/shipping-methods/pickup-points';
    6969        $query_params = array();
     
    7575        if ( $country !== null ) {
    7676            $query_params['countryCode'] = $country;
     77        }
     78
     79        if ( $search !== null ) {
     80            $query_params['search'] = $search;
    7781        }
    7882       
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/class-wc-montonio-shipping-settings.php

    r3270541 r3366299  
    113113                'desc'    => __( 'Enable', 'montonio-for-woocommerce' ),
    114114                'type'    => 'checkbox',
    115                 'default' => 'no',
     115                'default' => 'yes',
    116116                'id'      => 'montonio_shipping_show_address'
    117117            ),
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/class-wc-montonio-shipping-shipment-manager.php

    r3283410 r3366299  
    223223            $quantity   = $item->get_quantity();
    224224            $weight     = WC_Montonio_Helper::convert_to_kg( $product->get_weight() );
     225            $length     = WC_Montonio_Helper::convert_to_meters( $product->get_length() );
     226            $width      = WC_Montonio_Helper::convert_to_meters( $product->get_width() );
     227            $height     = WC_Montonio_Helper::convert_to_meters( $product->get_height() );
    225228
    226229            if ( $product->get_meta( '_montonio_separate_label' ) == 'yes' ) {
     
    228231                    $parcels[] = array(
    229232                        'weight' => $weight > 0 ? $weight : 1,
    230                         'length' => WC_Montonio_Helper::convert_to_meters( $product->get_length() ),
    231                         'width'  => WC_Montonio_Helper::convert_to_meters( $product->get_width() ),
    232                         'height' => WC_Montonio_Helper::convert_to_meters( $product->get_height() )
     233                        'length' => $length,
     234                        'width'  => $width,
     235                        'height' => $height
    233236                    );
    234237                }
     
    236239                if ( array_key_exists( 'combined', $parcels ) ) {
    237240                    $parcels['combined']['weight'] += $weight * $quantity;
     241                    $parcels['combined']['length'] = max( $parcels['combined']['length'], $length );
     242                    $parcels['combined']['width']  = max( $parcels['combined']['width'], $width );
     243                    $parcels['combined']['height'] = max( $parcels['combined']['height'], $height );
    238244                } else {
    239                     $parcels['combined']['weight'] = $weight * $quantity;
     245                    $parcels['combined'] = array(
     246                        'weight' => $weight * $quantity,
     247                        'length' => $length,
     248                        'width'  => $width,
     249                        'height' => $height
     250                    );
    240251                }
    241252            }
     
    267278
    268279        // For combined parcel, if it exists and weight is 0, set to 1
    269         if ( array_key_exists( 'combined', $parcels ) && ! $parcels['combined']['weight'] > 0 ) {
     280        if ( array_key_exists( 'combined', $parcels ) && $parcels['combined']['weight'] <= 0 ) {
    270281            $parcels['combined']['weight'] = 1;
    271282        }
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/class-wc-montonio-shipping.php

    r3270541 r3366299  
    3333            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-order.php';
    3434            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-shipment-manager.php';
     35            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-pickup-points-search.php';
    3536            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/label-printing/class-wc-montonio-shipping-label-printing.php';
    3637            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-rest.php';
    3738            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php';
    3839
     40            // Add shipping method items selection scripts
     41            add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 20 );
     42
    3943            // Update order data when order is created
    4044            add_action( 'woocommerce_checkout_create_order', array( $this, 'handle_montonio_shipping_checkout' ), 10, 2 );
     
    5660        add_action( 'admin_notices', array( $this, 'display_admin_notices' ), 999 );
    5761
    58         add_filter( 'montonio_ota_sync', array( $this, 'sync_shipping_methods_ota' ), 20, 1 );
     62        add_filter( 'montonio_ota_sync', array( $this, 'sync_shipping_methods_ota' ), 20, 1 );       
     63    }
     64
     65    /**
     66     * Enqueues the Montonio SDK script.
     67     *
     68     * @since 9.1.1 Added pickup point search script
     69     * @since 7.0.1 - Removed sync of shipping method items in here
     70     * @since 7.0.0
     71     * @return null
     72     */
     73    public function enqueue_scripts() {
     74        if ( ! is_checkout() ) {
     75            return;
     76        }
     77
     78        if ( ! WC_Montonio_Helper::is_checkout_block() ) {
     79            if ( get_option( 'montonio_shipping_dropdown_type' ) === 'select2' ) {
     80                wp_enqueue_style( 'montonio-pickup-points' );
     81
     82                if ( ! wp_script_is( 'selectWoo', 'registered' ) ) {
     83                    wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), false, true );
     84                }
     85
     86                wp_enqueue_script( 'montonio-shipping-pickup-points-legacy' );
     87            } else {
     88                wp_enqueue_script( 'montonio-shipping-pickup-points' );
     89            }
     90        }
     91
     92        wp_enqueue_script( 'montonio-shipping-pickup-points-search' );
     93
     94        wp_localize_script( 'montonio-shipping-pickup-points-search', 'wc_montonio_pickup_points_search', array(
     95            'ajax_url'     => admin_url( 'admin-ajax.php' ),
     96            'nonce'        => wp_create_nonce( 'montonio_pickup_nonce' ),
     97            'show_address' => get_option( 'montonio_shipping_show_address' ),
     98            'loading_text' => __( 'Searching pickup points...', 'montonio-for-woocommerce' ),
     99            'error_text'   => __( 'Failed to load pickup points. Please try again.', 'montonio-for-woocommerce' ),
     100            'no_results'   => __( 'No pickup points found', 'montonio-for-woocommerce' )
     101        ) );
    59102    }
    60103
     
    209252        try {
    210253            $courier_services_synced = false;
    211             $pickup_point_countries  = array();
     254            $pickup_point_carriers  = array();
    212255
    213256            $sandbox_mode     = get_option( 'montonio_shipping_sandbox_mode', 'no' );
     
    220263                }
    221264
    222                 $country_code = $country['countryCode'];
    223 
    224265                foreach ( $country['carriers'] as $carrier ) {
     266                    $carrier_code = $carrier['carrierCode'];
    225267                    foreach ( $carrier['shippingMethods'] as $method ) {
    226268                        if ( 'courier' === $method['type'] ) {
     
    233275                        }
    234276
    235                         if ( in_array( $country_code, $pickup_point_countries ) ) {
     277                        if ( in_array( $carrier_code, $pickup_point_carriers ) ) {
    236278                            continue;
    237279                        }
    238280
    239                         $pickup_point_countries[] = $country_code;
     281                        $pickup_point_carriers[] = $carrier_code;
    240282                        WC_Montonio_Shipping_Item_Manager::sync_method_items(
    241283                            'pickupPoints',
    242                             null,
    243                             $country_code
     284                            $carrier_code,
     285                            null
    244286                        );
    245287                    }
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/dpd/class-montonio-dpd-courier.php

    r3270541 r3366299  
    2626        $this->provider_name = 'dpd';
    2727        $this->type_v2       = 'courier';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'DPD courier', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'dpd';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'DPD parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-shops.php

    r3270541 r3366299  
    2525        $this->provider_name = 'dpd';
    2626        $this->type_v2       = 'parcelShop';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'DPD parcel shops', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php

    r3270541 r3366299  
    2323        $this->provider_name = 'latvian_post';
    2424        $this->type_v2       = 'courier';
    25         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvijas-pasts.svg';
     25        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvian_post-rect.svg';
    2626        $this->title         = $this->get_option( 'title', __( 'Latvijas Pasts courier', 'montonio-for-woocommerce' ) );
    2727
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-parcel-machines.php

    r3270541 r3366299  
    2323        $this->provider_name = 'latvian_post';
    2424        $this->type_v2       = 'parcelMachine';
    25         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvijas-pasts.svg';
     25        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvian_post-rect.svg';
    2626        $this->title         = $this->get_option( 'title', __( 'Latvijas Pasts parcel machines', 'montonio-for-woocommerce' ) );
    2727
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/omniva/class-montonio-omniva-courier.php

    r3270541 r3366299  
    2626        $this->provider_name = 'omniva';
    2727        $this->type_v2       = 'courier';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'Omniva courier', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/omniva/class-montonio-omniva-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'omniva';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Omniva parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/omniva/class-montonio-omniva-post-offices.php

    r3270541 r3366299  
    2626        $this->provider_name = 'omniva';
    2727        $this->type_v2       = 'postOffice';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'Omniva post offices', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-courier.php

    r3270541 r3366299  
    2525        $this->provider_name = 'smartpost';
    2626        $this->type_v2       = 'courier';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'SmartPosti courier', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-parcel-machines.php

    r3270541 r3366299  
    2626
    2727        $this->type_v2 = 'parcelMachine';
    28         $this->logo    = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     28        $this->logo    = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2929        $this->title   = $this->get_option( 'title', __( 'SmartPosti parcel machines', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-post-offices.php

    r3270541 r3366299  
    2525        $this->provider_name = 'smartpost';
    2626        $this->type_v2       = 'postOffice';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'SmartPosti post offices', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/unisend/class-montonio-unisend-parcel-machines.php

    r3270541 r3366299  
    2424        $this->provider_name = 'unisend';
    2525        $this->type_v2       = 'parcelMachine';
    26         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/unisend.png';
     26        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/unisend-rect.svg';
    2727        $this->title         = $this->get_option( 'title', __( 'Unisend parcel machines', 'montonio-for-woocommerce' ) );
    2828
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/venipak/class-montonio-venipak-courier.php

    r3270541 r3366299  
    2424        $this->provider_name = 'venipak';
    2525        $this->type_v2       = 'courier';
    26         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     26        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2727        $this->title         = $this->get_option( 'title', __( 'Venipak courier', 'montonio-for-woocommerce' ) );
    2828
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'venipak';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Venipak parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-shops.php

    r3270541 r3366299  
    2525        $this->provider_name = 'venipak';
    2626        $this->type_v2       = 'parcelShop';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Venipak parcel shops', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-et-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:09+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"et","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakipunkt"],"Select a pickup point":["Palun vali pakipunkt"],"Please select a pickup point":["Palun vali pakiautomaat"],"Loading pickup points...":["Pakiautomaatide laadimine..."]}}}
     1{"translation-revision-date":"2024-07-11 16:09+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"et","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakipunkt"],"Please select a pickup point":["Palun vali pakiautomaat"],"Type at least 3 characters to search...":["Sisesta otsimiseks v\u00e4hemalt 3 t\u00e4hem\u00e4rki..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-et.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr "Jälgi oma saadetist:"
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Palun vali pakipunkt."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Palun vali pakiautomaat"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Alusta Montonio kasutamist"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Sa pole veel sisestanud Montonio makselahenduse API võtmeid"
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sVajuta siia%2$s, et lisada oma API võtmed ja hakata Montoniot kasutama"
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Vajad abi?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kuidas aktiveerida Montonio makselahendust"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analüütika on tagasi!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Vaata oma müügimahtu, enimkasutatavaid makseviise ja palju muud."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Eripakkumine"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Saada Unisendi pakke vaid 1,3 € + KM kuni oktoobrini!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Jälgimisleht"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Loo tasuta jälgimisleht oma logoga, et pakkuda paremat kliendikogemust"
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Kliki siia, et neid uuendusi proovida"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Sisesta otsimiseks vähemalt 3 tähemärki..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Pakiautomaatide otsimine..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Pakiautomaatide laadimine ebaõnnestus. Palun proovi uuesti."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Pakiautomaate ei leitud"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lt_LT-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lt","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pa\u0161tomatas"],"Select a pickup point":["Pasirinkite atsi\u0117mimo b\u016bd\u0105"],"Please select a pickup point":["Pra\u0161ome pasirinkti pa\u0161tomat\u0105"],"Loading pickup points...":["Pa\u0161tomat\u0173 s\u0105ra\u0161as kraunasi..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lt","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pa\u0161tomatas"],"Please select a pickup point":["Pra\u0161ome pasirinkti pa\u0161tomat\u0105"],"Type at least 3 characters to search...":["\u012eveskite bent 3 simbolius, kad prad\u0117tum\u0117te paie\u0161k\u0105..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lt_LT.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Pasirinkite atsiėmimo būdą."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Prašome pasirinkti paštomatą"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Pradėkite naudotis Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs dar neįvedėte Live API raktų Montonio mokėjimų modulio nustatymuose."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sSpauskite čia%2$s, kad įvestumėte Live API raktus ir pradėtumėte naudotis Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Reikia pagalbos?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kaip aktyvuoti Montonio mokėjimo metodus?"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analitika sugrįžo!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Peržiūrėk savo pardavimų apimtis, dažniausiai naudojamus mokėjimo būdus ir dar daugiau."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Riboto laiko pasiūlymas"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Siųsk bet kokio dydžio Unisend siuntas paštomatais tik už 1,3 € + PVM iki spalio!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Siuntos sekimo puslapis"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Susikurk nemokamą sekimo puslapį su savo logotipu ir pagerink klientų patirtį."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Išbandyk šias funkcijas!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Įveskite bent 3 simbolius, kad pradėtumėte paiešką..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Ieškoma atsiėmimo punktų..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Nepavyko įkelti atsiėmimo punktų. Bandykite dar kartą."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Atsiėmimo punktų nerasta"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lv-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Loading pickup points...":["Iel\u0101d\u0113 pakom\u0101tu izv\u0113lni..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Type at least 3 characters to search...":["Ievadiet vismaz 3 simbolus, lai mekl\u0113tu..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lv.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Lūdzu izvēlēties pakomātu"
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Lūdzu izvēlēties pakomātu"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Sāciet lietot Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs neesat ievadījis Live API atslēgas Montonio maksājumu modulī."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sNoklikšķiniet šeit%2$s, lai ievadītu savas Live API atslēgas un sāktu lietot Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Nepieciešama palīdzība?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kā aktivizēt Montonio maksājumu metodes"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analītikas dati ir atgriezušies!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Apskatiet savus pārdošanas rezultātus, visbiežāk izmantotās maksājumu metodes un daudz ko citu."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Īpašais piedāvājums"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Sūtiet Unisend pakas tikai par 1,30 € + PVN līdz oktobrim!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Izsekošanas lapa"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Izveidojiet bezmaksas izsekošanas lapu ar savu logotipu, lai uzlabotu klientu pieredzi."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Izmēģināt šīs funkcijas tagad!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Ievadiet vismaz 3 simbolus, lai meklētu..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Meklē pakomātus..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Neizdevās ielādēt pakomātu sarakstu. Lūdzu, mēģiniet vēlreiz."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Nav atrasti pakomāti"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lv_LV-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Loading pickup points...":["Iel\u0101d\u0113 pakom\u0101tu izv\u0113lni..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Type at least 3 characters to search...":["Ievadiet vismaz 3 simbolus, lai mekl\u0113tu..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-lv_LV.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Lūdzu izvēlēties pakomātu"
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Lūdzu izvēlēties pakomātu"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Sāciet lietot Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs neesat ievadījis Live API atslēgas Montonio maksājumu modulī."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sNoklikšķiniet šeit%2$s, lai ievadītu savas Live API atslēgas un sāktu lietot Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Nepieciešama palīdzība?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kā aktivizēt Montonio maksājumu metodes"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analītikas dati ir atgriezušies!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Apskatiet savus pārdošanas rezultātus, visbiežāk izmantotās maksājumu metodes un daudz ko citu."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Īpašais piedāvājums"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Sūtiet Unisend pakas tikai par 1,30 € + PVN līdz oktobrim!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Izsekošanas lapa"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Izveidojiet bezmaksas izsekošanas lapu ar savu logotipu, lai uzlabotu klientu pieredzi."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Izmēģināt šīs funkcijas tagad!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Ievadiet vismaz 3 simbolus, lai meklētu..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Meklē pakomātus..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Neizdevās ielādēt pakomātu sarakstu. Lūdzu, mēģiniet vēlreiz."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Nav atrasti pakomāti"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-pl_PL-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"pl_PL","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);"},"Pickup point":[""],"Select a pickup point":[""],"Please select a pickup point":["Wybierz punkt odbioru"],"Loading pickup points...":["Wczytywanie punkt\u00f3w odbioru..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"pl_PL","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);"},"Pickup point":[""],"Please select a pickup point":["Wybierz punkt odbioru"],"Type at least 3 characters to search...":["Wpisz co najmniej 3 znaki \u017ceby wyszuka\u0107..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-pl_PL.po

    r3351222 r3366299  
    6767msgstr ""
    6868
    69 #: montonio.php:241
     69#: montonio.php:233
    7070msgid "Settings"
    7171msgstr ""
     
    243243
    244244#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    245 #: includes/shipping/class-wc-montonio-shipping.php:276
     245#: includes/shipping/class-wc-montonio-shipping.php:318
    246246msgid "Track your shipment:"
    247247msgstr ""
     
    297297msgstr ""
    298298
    299 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     299#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    300300msgid "Please select a pickup point."
    301301msgstr ""
    302302
    303 #: includes/shipping/class-wc-montonio-shipping.php:170
     303#: includes/shipping/class-wc-montonio-shipping.php:213
    304304msgid "Please add Montonio API keys!"
    305305msgstr ""
    306306
    307 #: includes/shipping/class-wc-montonio-shipping.php:249
     307#: includes/shipping/class-wc-montonio-shipping.php:291
    308308msgid "Montonio Shipping: Pickup point sync successful!"
    309309msgstr ""
     
    314314#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    315315#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    316 #: includes/shipping/class-wc-montonio-shipping.php:252
     316#: includes/shipping/class-wc-montonio-shipping.php:294
    317317msgid "Montonio API response: "
    318318msgstr ""
     
    480480#: templates/admin-order-shipping-panel.php:43
    481481#: templates/shipping-pickup-points-dropdown.php:11
     482#: templates/shipping-pickup-points-search.php:9
    482483#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    483484#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    865866
    866867#: templates/shipping-pickup-points-dropdown.php:14
    867 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    868868#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    869869msgid "Select a pickup point"
     
    978978msgstr "Wybierz punkt odbioru"
    979979
    980 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    981980#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    982981msgid "Loading pickup points..."
     
    1000999msgstr ""
    10011000
    1002 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     1001#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10031002msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10041003msgstr ""
     
    14751474msgstr ""
    14761475
    1477 #: montonio.php:348
     1476#: montonio.php:341
    14781477msgid "Start using Montonio"
    14791478msgstr "Rozpocznij korzystanie z Montonio"
    14801479
    1481 #: montonio.php:350
     1480#: montonio.php:343
    14821481msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14831482msgstr "Nie wprowadzono jeszcze kluczy API Live dla wtyczki płatności Montonio."
    14841483
    14851484#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1486 #: montonio.php:355
     1485#: montonio.php:348
    14871486msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14881487msgstr "%1$sKliknij tutaj%2$s, aby dodać klucze API live i rozpocząć korzystanie z Montonio."
    14891488
    1490 #: montonio.php:362
     1489#: montonio.php:355
    14911490msgid "Need help?"
    14921491msgstr "Potrzebujesz pomocy?"
     
    15121511msgstr ""
    15131512
    1514 #: montonio.php:364
     1513#: montonio.php:357
    15151514msgid "How to activate Montonio payment methods"
    15161515msgstr ""
     
    15181517""
    15191518
    1520 #: includes/admin/class-wc-montonio-banners.php:134
     1519#: includes/admin/class-wc-montonio-banners.php:130
    15211520msgid "Analytics are back!"
    15221521msgstr ""
    15231522
    1524 #: includes/admin/class-wc-montonio-banners.php:135
     1523#: includes/admin/class-wc-montonio-banners.php:131
    15251524msgid "Check your sales volumes, most used payment methods & more."
    15261525msgstr ""
    15271526
    1528 #: includes/admin/class-wc-montonio-banners.php:143
     1527#: includes/admin/class-wc-montonio-banners.php:139
    15291528msgid "Limited time offer"
    15301529msgstr ""
    15311530
    1532 #: includes/admin/class-wc-montonio-banners.php:144
     1531#: includes/admin/class-wc-montonio-banners.php:140
    15331532msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15341533msgstr ""
    15351534
    1536 #: includes/admin/class-wc-montonio-banners.php:150
     1535#: includes/admin/class-wc-montonio-banners.php:146
    15371536msgid "Tracking page"
    15381537msgstr ""
    15391538
    1540 #: includes/admin/class-wc-montonio-banners.php:151
     1539#: includes/admin/class-wc-montonio-banners.php:147
    15411540msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15421541msgstr ""
    15431542
    1544 #: includes/admin/class-wc-montonio-banners.php:156
     1543#: includes/admin/class-wc-montonio-banners.php:152
    15451544msgid "Try these features out"
    15461545msgstr ""
     
    16061605msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16071606msgstr ""
     1607
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1609msgid "Montonio Inpost parcel machines"
     1610msgstr ""
     1611
     1612#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1613#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1614#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1615msgid "Inpost parcel machines"
     1616msgstr ""
     1617
     1618#: templates/shipping-pickup-points-search.php:17
     1619#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1620msgid "Type at least 3 characters to search..."
     1621msgstr "Wpisz co najmniej 3 znaki żeby wyszukać..."
     1622
     1623#: includes/shipping/class-wc-montonio-shipping.php:98
     1624msgid "Searching pickup points..."
     1625msgstr "Wyszukiwanie punktów odbioru..."
     1626
     1627#: includes/shipping/class-wc-montonio-shipping.php:99
     1628msgid "Failed to load pickup points. Please try again."
     1629msgstr "Nie udało się wyświetlić punktów odbioru. Spróbuj jeszcze raz."
     1630
     1631#: includes/shipping/class-wc-montonio-shipping.php:100
     1632msgid "No pickup points found"
     1633msgstr "Nie znaleziono punktów odbioru"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-ru_RU-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ru","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["\u041f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Please select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Loading pickup points...":["\u041f\u0443\u043d\u043a\u0442\u044b \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ru","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["\u041f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Please select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Type at least 3 characters to search...":["\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 3 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430..."]}}}
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce-ru_RU.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr "Отслеживай доставку:"
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Пожалуйста выберите способ доставки."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Пожалуйста, выберите пункт доставки"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
     1473#: montonio.php:341
     1474msgid "Start using Montonio"
     1475msgstr ""
     1476
     1477#: montonio.php:343
     1478msgid "You haven't entered the Live API keys for the Montonio Payments module."
     1479msgstr ""
     1480
     1481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    14741482#: montonio.php:348
    1475 msgid "Start using Montonio"
    1476 msgstr ""
    1477 
    1478 #: montonio.php:350
    1479 msgid "You haven't entered the Live API keys for the Montonio Payments module."
    1480 msgstr ""
    1481 
    1482 #. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
     1483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
     1484msgstr ""
     1485
    14831486#: montonio.php:355
    1484 msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    1485 msgstr ""
    1486 
    1487 #: montonio.php:362
    14881487msgid "Need help?"
    14891488msgstr ""
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr ""
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr ""
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr ""
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr ""
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr ""
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr ""
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr ""
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr ""
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Введите минимум 3 символа для поиска..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Поиск пунктов доставки..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Не удалось загрузить пункты доставки. Пожалуйста, попробуйте ещё раз."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Пункты доставки не найдены"
  • montonio-for-woocommerce/tags/9.1.1/languages/montonio-for-woocommerce.pot

    r3351222 r3366299  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Montonio for WooCommerce 9.1.0\n"
     5"Project-Id-Version: Montonio for WooCommerce 9.1.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/montonio-for-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-08-27T11:58:29+00:00\n"
     12"POT-Creation-Date: 2025-09-23T08:10:52+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    238238msgstr ""
    239239
    240 #: includes/admin/class-wc-montonio-banners.php:134
     240#: includes/admin/class-wc-montonio-banners.php:130
    241241msgid "Analytics are back!"
    242242msgstr ""
    243243
    244 #: includes/admin/class-wc-montonio-banners.php:135
     244#: includes/admin/class-wc-montonio-banners.php:131
    245245msgid "Check your sales volumes, most used payment methods & more."
    246246msgstr ""
    247247
    248 #: includes/admin/class-wc-montonio-banners.php:143
     248#: includes/admin/class-wc-montonio-banners.php:139
    249249msgid "Limited time offer"
    250250msgstr ""
    251251
    252 #: includes/admin/class-wc-montonio-banners.php:144
     252#: includes/admin/class-wc-montonio-banners.php:140
    253253msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    254254msgstr ""
    255255
    256 #: includes/admin/class-wc-montonio-banners.php:150
     256#: includes/admin/class-wc-montonio-banners.php:146
    257257msgid "Tracking page"
    258258msgstr ""
    259259
    260 #: includes/admin/class-wc-montonio-banners.php:151
     260#: includes/admin/class-wc-montonio-banners.php:147
    261261msgid "Set up a free tracking page with your logo to enrich your customer experience."
    262262msgstr ""
    263263
    264 #: includes/admin/class-wc-montonio-banners.php:156
     264#: includes/admin/class-wc-montonio-banners.php:152
    265265msgid "Try these features out"
    266266msgstr ""
     
    574574#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    575575#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    576 #: includes/shipping/class-wc-montonio-shipping.php:252
     576#: includes/shipping/class-wc-montonio-shipping.php:294
    577577msgid "Montonio API response: "
    578578msgstr ""
     
    851851msgstr ""
    852852
    853 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     853#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    854854msgid "Please select a pickup point."
    855855msgstr ""
    856856
    857 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     857#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    858858msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    859859msgstr ""
     
    10381038
    10391039#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    1040 #: includes/shipping/class-wc-montonio-shipping.php:276
     1040#: includes/shipping/class-wc-montonio-shipping.php:318
    10411041msgid "Track your shipment:"
    10421042msgstr ""
     
    10781078msgstr ""
    10791079
    1080 #: includes/shipping/class-wc-montonio-shipping.php:170
     1080#: includes/shipping/class-wc-montonio-shipping.php:98
     1081msgid "Searching pickup points..."
     1082msgstr ""
     1083
     1084#: includes/shipping/class-wc-montonio-shipping.php:99
     1085msgid "Failed to load pickup points. Please try again."
     1086msgstr ""
     1087
     1088#: includes/shipping/class-wc-montonio-shipping.php:100
     1089msgid "No pickup points found"
     1090msgstr ""
     1091
     1092#: includes/shipping/class-wc-montonio-shipping.php:213
    10811093msgid "Please add Montonio API keys!"
    10821094msgstr ""
    10831095
    1084 #: includes/shipping/class-wc-montonio-shipping.php:249
     1096#: includes/shipping/class-wc-montonio-shipping.php:291
    10851097msgid "Montonio Shipping: Pickup point sync successful!"
    10861098msgstr ""
     
    11281140msgstr ""
    11291141
     1142#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1143msgid "Montonio Inpost parcel machines"
     1144msgstr ""
     1145
     1146#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1147#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1148#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1149msgid "Inpost parcel machines"
     1150msgstr ""
     1151
    11301152#: includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php:15
    11311153msgid "Montonio Latvijas Pasts courier"
     
    14211443msgstr ""
    14221444
    1423 #: montonio.php:241
     1445#: montonio.php:233
    14241446msgid "Settings"
    14251447msgstr ""
    14261448
     1449#: montonio.php:341
     1450msgid "Start using Montonio"
     1451msgstr ""
     1452
     1453#: montonio.php:343
     1454msgid "You haven't entered the Live API keys for the Montonio Payments module."
     1455msgstr ""
     1456
     1457#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    14271458#: montonio.php:348
    1428 msgid "Start using Montonio"
    1429 msgstr ""
    1430 
    1431 #: montonio.php:350
    1432 msgid "You haven't entered the Live API keys for the Montonio Payments module."
    1433 msgstr ""
    1434 
    1435 #. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
     1459msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
     1460msgstr ""
     1461
    14361462#: montonio.php:355
    1437 msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    1438 msgstr ""
    1439 
    1440 #: montonio.php:362
    14411463msgid "Need help?"
    14421464msgstr ""
    14431465
    1444 #: montonio.php:364
     1466#: montonio.php:357
    14451467msgid "How to activate Montonio payment methods"
    14461468msgstr ""
     
    14481470#: templates/admin-order-shipping-panel.php:43
    14491471#: templates/shipping-pickup-points-dropdown.php:11
     1472#: templates/shipping-pickup-points-search.php:9
    14501473#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    14511474#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    14981521
    14991522#: templates/shipping-pickup-points-dropdown.php:14
    1500 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    15011523#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    15021524msgid "Select a pickup point"
     1525msgstr ""
     1526
     1527#: templates/shipping-pickup-points-search.php:17
     1528#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1529msgid "Type at least 3 characters to search..."
    15031530msgstr ""
    15041531
     
    15901617msgstr ""
    15911618
    1592 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    15931619#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    15941620msgid "Loading pickup points..."
  • montonio-for-woocommerce/tags/9.1.1/montonio.php

    r3351222 r3366299  
    44 * Plugin URI:        https://www.montonio.com
    55 * Description:       All-in-one plug & play checkout solution
    6  * Version:           9.1.0
     6 * Version:           9.1.1
    77 * Author:            Montonio
    88 * Author URI:        https://www.montonio.com
     
    2121}
    2222
    23 define( 'WC_MONTONIO_PLUGIN_VERSION', '9.1.0' );
     23define( 'WC_MONTONIO_PLUGIN_VERSION', '9.1.1' );
    2424define( 'WC_MONTONIO_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    2525define( 'WC_MONTONIO_PLUGIN_PATH', dirname( __FILE__ ) );
     
    128128                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-shops.php';
    129129                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/dpd/class-montonio-dpd-courier.php';
    130 
    131130                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-parcel-machines.php';
    132131                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-post-offices.php';
    133132                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-courier.php';
    134 
    135133                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-parcel-machines.php';
    136134                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-post-offices.php';
    137135                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-courier.php';
    138 
    139136                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-machines.php';
    140137                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-shops.php';
    141138                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-courier.php';
    142 
    143139                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/unisend/class-montonio-unisend-parcel-machines.php';
    144 
    145140                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-parcel-machines.php';
    146141                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php';
     142                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php';
    147143
    148144                add_filter( 'woocommerce_shipping_methods', array( $this, 'add_shipping_methods' ) );
     
    205201         */
    206202        public function add_shipping_methods( $methods ) {
    207             $methods['montonio_omniva_parcel_machines'] = 'Montonio_Omniva_Parcel_Machines';
    208             $methods['montonio_omniva_post_offices']    = 'Montonio_Omniva_Post_Offices';
    209             $methods['montonio_omniva_courier']         = 'Montonio_Omniva_Courier';
    210 
    211             $methods['montonio_dpd_parcel_machines'] = 'Montonio_DPD_Parcel_Machines';
    212             $methods['montonio_dpd_parcel_shops']    = 'Montonio_DPD_Parcel_Shops';
    213             $methods['montonio_dpd_courier']         = 'Montonio_DPD_Courier';
    214 
    215             $methods['montonio_venipak_parcel_machines'] = 'Montonio_Venipak_Parcel_Machines';
    216             $methods['montonio_venipak_post_offices']    = 'Montonio_Venipak_Parcel_Shops';
    217             $methods['montonio_venipak_courier']         = 'Montonio_Venipak_Courier';
    218 
    219             $methods['montonio_itella_parcel_machines'] = 'Montonio_Smartpost_Parcel_Machines';
    220             $methods['montonio_itella_post_offices']    = 'Montonio_Smartpost_Post_Offices';
    221             $methods['montonio_itella_courier']         = 'Montonio_Smartpost_Courier';
    222 
    223             $methods['montonio_unisend_parcel_machines'] = 'Montonio_Unisend_Parcel_Machines';
    224 
     203            $methods['montonio_omniva_parcel_machines']       = 'Montonio_Omniva_Parcel_Machines';
     204            $methods['montonio_omniva_post_offices']          = 'Montonio_Omniva_Post_Offices';
     205            $methods['montonio_omniva_courier']               = 'Montonio_Omniva_Courier';
     206            $methods['montonio_dpd_parcel_machines']          = 'Montonio_DPD_Parcel_Machines';
     207            $methods['montonio_dpd_parcel_shops']             = 'Montonio_DPD_Parcel_Shops';
     208            $methods['montonio_dpd_courier']                  = 'Montonio_DPD_Courier';
     209            $methods['montonio_venipak_parcel_machines']      = 'Montonio_Venipak_Parcel_Machines';
     210            $methods['montonio_venipak_post_offices']         = 'Montonio_Venipak_Parcel_Shops';
     211            $methods['montonio_venipak_courier']              = 'Montonio_Venipak_Courier';
     212            $methods['montonio_itella_parcel_machines']       = 'Montonio_Smartpost_Parcel_Machines';
     213            $methods['montonio_itella_post_offices']          = 'Montonio_Smartpost_Post_Offices';
     214            $methods['montonio_itella_courier']               = 'Montonio_Smartpost_Courier';
     215            $methods['montonio_unisend_parcel_machines']      = 'Montonio_Unisend_Parcel_Machines';
    225216            $methods['montonio_latvian_post_parcel_machines'] = 'Montonio_Latvian_Post_Parcel_Machines';
    226217            $methods['montonio_latvian_post_courier']         = 'Montonio_Latvian_Post_Courier';
     218            $methods['montonio_inpost_parcel_machines']       = 'Montonio_Inpost_Parcel_Machines';
    227219
    228220            return $methods;
     
    276268            wp_register_script( 'montonio-embedded-card', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-embedded-card.js', array( 'jquery', 'montonio-js' ), WC_MONTONIO_PLUGIN_VERSION, true );
    277269            wp_register_script( 'montonio-shipping-pickup-points', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points.js', array( 'jquery', 'montonio-js-legacy' ), WC_MONTONIO_PLUGIN_VERSION, true );
     270            wp_register_script( 'montonio-shipping-pickup-points-search', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points-search.js', array( 'jquery' ), WC_MONTONIO_PLUGIN_VERSION, true );
    278271            wp_register_script( 'montonio-shipping-pickup-points-legacy', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points-legacy.js', array( 'selectWoo' ), WC_MONTONIO_PLUGIN_VERSION, true );
    279272
     
    351344                            <br>
    352345                            <?php
    353                                 printf(
    354                                     /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
    355                                     esc_html__( '%1$sClick here%2$s to enter your Live API keys and start using Montonio.', 'montonio-for-woocommerce' ),
    356                                     '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=checkout&section=wc_montonio_api' ) ) . '">',
    357                                     '</a>'
    358                                 );
    359                             ?>
     346printf(
     347                /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
     348                esc_html__( '%1$sClick here%2$s to enter your Live API keys and start using Montonio.', 'montonio-for-woocommerce' ),
     349                '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=checkout&section=wc_montonio_api' ) ) . '">',
     350                '</a>'
     351            );
     352            ?>
    360353                        </p>
    361354
     
    367360                </div>
    368361            <?php
    369             endif;
     362endif;
    370363        }
    371364    }
  • montonio-for-woocommerce/tags/9.1.1/readme.txt

    r3351222 r3366299  
    11=== Montonio for WooCommerce ===
    2 Version: 9.1.0
     2Version: 9.1.1
    33Date: 2019-09-04
    44Contributors: Montonio
     
    66Requires at least: 5.0
    77Tested up to: 6.8
    8 Stable tag: 9.1.0
     8Stable tag: 9.1.1
    99Requires PHP: 7.0
    1010Minimum requirements: WooCommerce 3.2 or greater
     
    137137
    138138== Changelog ==
     139= 9.1.1 =
     140* Added – InPost shipping method
     141* Added – New pickup-point search and selection dropdown
     142* Tweak – Sync pickup-points by carrier instead of country for better performance
     143* Fix – Users without certain admin permissions could not dismiss the info banner
     144
    139145= 9.1.0 =
    140146* Added – Integration of new card payment processor flow
  • montonio-for-woocommerce/tags/9.1.1/templates/shipping-pickup-points-dropdown.php

    r3270541 r3366299  
    1919                        <?php echo esc_html( $item['name'] ); ?>
    2020
    21                         <?php if ( $include_address === 'yes' && ! empty( trim( $item['address'] ) ) ) {
     21                        <?php if ( $include_address !== 'no' && ! empty( trim( $item['address'] ) ) ) {
    2222                            echo ' - ' . esc_html( $item['address'] ) . ', ' . esc_attr( $locality );
    2323                        } ?>
  • montonio-for-woocommerce/trunk/assets/css/montonio-admin-style.css

    r3351222 r3366299  
    443443}
    444444.montonio-shipping-panel__logo {
    445   max-height: 30px !important;
    446   max-width: 80px !important;
     445  max-height: 32px !important;
     446  max-width: 60px !important;
    447447  display: inline-block !important;
    448448}
  • montonio-for-woocommerce/trunk/assets/css/montonio-admin-style.scss

    r3351222 r3366299  
    525525
    526526        &__logo {
    527             max-height: 30px !important;
    528             max-width: 80px !important;
     527            max-height: 32px !important;
     528            max-width: 60px !important;
    529529            display: inline-block !important;
    530530        }
  • montonio-for-woocommerce/trunk/assets/css/montonio-style.css

    r3351222 r3366299  
    126126
    127127.montonio-shipping-provider-logo {
    128   max-height: 50px !important;
    129   max-width: 80px !important;
     128  max-height: 33px !important;
     129  max-width: 50px !important;
    130130  display: block !important;
    131131}
     
    223223  transform: translate(-50%, -50%);
    224224}
     225.montonio-spinner--xs::before {
     226  width: 16px;
     227  height: 16px;
     228  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path opacity="0.16" d="M15 8C15 8.91925 14.8189 9.82951 14.4672 10.6788C14.1154 11.5281 13.5998 12.2997 12.9497 12.9497C12.2997 13.5998 11.5281 14.1154 10.6788 14.4672C9.82951 14.8189 8.91925 15 8 15C7.08075 15 6.17049 14.8189 5.32122 14.4672C4.47194 14.1154 3.70026 13.5998 3.05025 12.9497C2.40024 12.2997 1.88463 11.5281 1.53284 10.6788C1.18106 9.8295 1 8.91925 1 8C1 7.08074 1.18106 6.17049 1.53284 5.32121C1.88463 4.47193 2.40024 3.70026 3.05025 3.05025C3.70027 2.40024 4.47194 1.88462 5.32122 1.53284C6.1705 1.18106 7.08075 1 8 1C8.91926 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9498 3.05026C13.5998 3.70027 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8L15 8Z" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 1C8.91925 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9497 3.05025C13.5998 3.70026 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     229}
    225230
    226231@keyframes montonio-spinner {
     
    235240  margin: 10px 0;
    236241}
     242
     243@keyframes montonio-spin {
     244  to {
     245    transform: rotate(360deg);
     246  }
     247}
     248.montonio-pickup-point {
     249  overflow: visible !important;
     250}
     251.montonio-pickup-point td {
     252  width: 100%;
     253  overflow: visible !important;
     254}
     255.montonio-pickup-point label {
     256  text-align: left;
     257}
     258.montonio-pickup-point__container {
     259  position: relative;
     260  width: 100%;
     261}
     262.montonio-pickup-point__search {
     263  width: 100%;
     264  background-color: #fff !important;
     265  border: 1px solid #d8d8d8 !important;
     266  background-image: url(../images/default-carrier-logo.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     267  background-repeat: no-repeat;
     268  background-size: auto 28px, 16px 16px;
     269  background-position: 10px center, right 11px center;
     270  border-radius: 2.5px;
     271  font-size: 14px;
     272  min-height: 48px;
     273  transition: border-color 0.2s ease, box-shadow 0.2s ease;
     274  box-sizing: border-box;
     275  box-shadow: none !important;
     276  padding: 10px 33px 10px 62px !important;
     277}
     278.montonio-pickup-point__search:focus {
     279  outline: none;
     280}
     281.montonio-pickup-point__search::-moz-placeholder {
     282  color: #7C7C7B;
     283}
     284.montonio-pickup-point__search::placeholder {
     285  color: #7C7C7B;
     286}
     287.montonio-pickup-point__search--omniva {
     288  background-image: url(../images/omniva-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     289}
     290.montonio-pickup-point__search--dpd {
     291  background-image: url(../images/dpd-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     292}
     293.montonio-pickup-point__search--latvian_post {
     294  background-image: url(../images/latvian_post-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     295}
     296.montonio-pickup-point__search--smartposti {
     297  background-image: url(../images/smartposti-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     298}
     299.montonio-pickup-point__search--unisend {
     300  background-image: url(../images/unisend-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     301}
     302.montonio-pickup-point__search--venipak {
     303  background-image: url(../images/venipak-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     304}
     305.montonio-pickup-point__search--inpost {
     306  background-image: url(../images/inpost-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     307}
     308.montonio-pickup-point__dropdown {
     309  position: absolute;
     310  top: 100%;
     311  left: 0;
     312  right: 0;
     313  margin-top: -1px;
     314  background: white;
     315  border: 1px solid #d8d8d8;
     316  border-radius: 0 0 3px 3px;
     317  max-height: 300px;
     318  overflow-y: auto;
     319  z-index: 1000;
     320  display: none;
     321  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     322}
     323.montonio-pickup-point__dropdown--show {
     324  display: block;
     325}
     326.montonio-pickup-point__option {
     327  padding: 12px 16px;
     328  cursor: pointer;
     329  border-bottom: 1px solid #f3f4f6;
     330  transition: background-color 0.15s ease;
     331}
     332.montonio-pickup-point__option:hover {
     333  background-color: rgba(242, 242, 242, 0.9490196078);
     334}
     335.montonio-pickup-point__option:last-child {
     336  border-bottom: none;
     337}
     338.montonio-pickup-point__option-name {
     339  font-size: 14px;
     340  font-weight: 500;
     341  color: #3C3C3C;
     342  margin-bottom: 0px;
     343}
     344.montonio-pickup-point__option-address {
     345  font-size: 13px;
     346  color: #7C7C7B;
     347  line-height: 1.4;
     348  margin-bottom: 4px;
     349}
     350.montonio-pickup-point__loading {
     351  display: flex;
     352  align-items: center;
     353  justify-content: center;
     354  gap: 5px;
     355  padding: 16px;
     356  text-align: center;
     357  color: #6b7280;
     358  font-size: 14px;
     359}
     360.montonio-pickup-point__no-results {
     361  padding: 16px;
     362  text-align: center;
     363  color: #9ca3af;
     364  font-size: 14px;
     365}
     366.montonio-pickup-point__error {
     367  background: #ffebeb;
     368  color: #ce0920;
     369  font-size: 12px;
     370  padding: 9px 12px;
     371  margin-top: 5px;
     372  overflow-wrap: break-word;
     373  border-radius: 6px;
     374}
     375.montonio-pickup-point__error--hidden {
     376  display: none;
     377}
  • montonio-for-woocommerce/trunk/assets/css/montonio-style.scss

    r3351222 r3366299  
    151151
    152152.montonio-shipping-provider-logo {
    153     max-height: 50px !important;
    154     max-width: 80px !important;
     153    max-height: 33px !important;
     154    max-width: 50px !important;
    155155    display: block !important;
    156156}
     
    267267        transform: translate(-50%, -50%);
    268268    }
     269
     270    &--xs {
     271        &::before {
     272            width: 16px;
     273            height: 16px;
     274            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path opacity="0.16" d="M15 8C15 8.91925 14.8189 9.82951 14.4672 10.6788C14.1154 11.5281 13.5998 12.2997 12.9497 12.9497C12.2997 13.5998 11.5281 14.1154 10.6788 14.4672C9.82951 14.8189 8.91925 15 8 15C7.08075 15 6.17049 14.8189 5.32122 14.4672C4.47194 14.1154 3.70026 13.5998 3.05025 12.9497C2.40024 12.2997 1.88463 11.5281 1.53284 10.6788C1.18106 9.8295 1 8.91925 1 8C1 7.08074 1.18106 6.17049 1.53284 5.32121C1.88463 4.47193 2.40024 3.70026 3.05025 3.05025C3.70027 2.40024 4.47194 1.88462 5.32122 1.53284C6.1705 1.18106 7.08075 1 8 1C8.91926 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9498 3.05026C13.5998 3.70027 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8L15 8Z" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 1C8.91925 1 9.82951 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9497 3.05025C13.5998 3.70026 14.1154 4.47194 14.4672 5.32122C14.8189 6.1705 15 7.08075 15 8" stroke="%23260071" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     275        }
     276    }
    269277}
    270278
     
    282290    margin: 10px 0;
    283291}
     292
     293
     294
     295@keyframes montonio-spin {
     296  to {
     297    transform: rotate(360deg);
     298  }
     299}
     300
     301.montonio-pickup-point {
     302    overflow: visible !important;
     303
     304    td {
     305        width: 100%;
     306        overflow: visible !important;
     307    }
     308
     309    label {
     310        text-align: left;
     311    }
     312   
     313    &__container {
     314        position: relative;
     315        width: 100%;
     316    }
     317
     318    &__search {
     319        width: 100%;
     320        background-color: #fff !important;
     321        border: 1px solid #d8d8d8 !important;
     322        background-image: url(../images/default-carrier-logo.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     323        background-repeat: no-repeat;
     324        background-size: auto 28px, 16px 16px;
     325        background-position: 10px center, right 11px center;
     326        border-radius: 2.5px;
     327        font-size: 14px;
     328        min-height: 48px;
     329        transition: border-color 0.2s ease, box-shadow 0.2s ease;
     330        box-sizing: border-box;
     331        box-shadow: none !important;
     332        padding: 10px 33px 10px 62px !important;
     333
     334        &:focus {
     335            outline: none;
     336        }
     337
     338        &::placeholder {
     339            color: #7C7C7B;
     340        }
     341
     342        &--omniva {
     343            background-image: url(../images/omniva-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');;
     344        }       
     345
     346        &--dpd {
     347            background-image: url(../images/dpd-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     348        }
     349
     350        &--latvian_post {
     351            background-image: url(../images/latvian_post-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     352        }
     353
     354        &--smartposti {
     355            background-image: url(../images/smartposti-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     356        }
     357
     358        &--unisend {
     359            background-image: url(../images/unisend-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     360        }
     361
     362        &--venipak {
     363            background-image: url(../images/venipak-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     364        }
     365
     366        &--inpost {
     367            background-image: url(../images/inpost-rect.svg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z" stroke="%2327364B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
     368        } 
     369
     370    }
     371
     372    &__dropdown {
     373        position: absolute;
     374        top: 100%;
     375        left: 0;
     376        right: 0;
     377        margin-top: -1px;
     378        background: white;
     379        border: 1px solid #d8d8d8;
     380        border-radius: 0 0 3px 3px;
     381        max-height: 300px;
     382        overflow-y: auto;
     383        z-index: 1000;
     384        display: none;
     385        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     386
     387        &--show {
     388            display: block;
     389        }
     390    }
     391
     392    &__option {
     393        padding: 12px 16px;
     394        cursor: pointer;
     395        border-bottom: 1px solid #f3f4f6;
     396        transition: background-color 0.15s ease;
     397
     398        &:hover {
     399            background-color: #f2f2f2f2;
     400        }
     401
     402        &:last-child {
     403            border-bottom: none;
     404        }
     405    }
     406
     407    &__option-name {
     408        font-size: 14px;
     409        font-weight: 500;
     410        color: #3C3C3C;
     411        margin-bottom: 0px;
     412    }
     413
     414    &__option-address {
     415        font-size: 13px;
     416        color: #7C7C7B;
     417        line-height: 1.4;
     418        margin-bottom: 4px;
     419    }
     420
     421    &__loading {
     422        display: flex;
     423        align-items: center;
     424        justify-content: center;
     425        gap: 5px;
     426        padding: 16px;
     427        text-align: center;
     428        color: #6b7280;
     429        font-size: 14px;
     430    }
     431
     432    &__no-results {
     433        padding: 16px;
     434        text-align: center;
     435        color: #9ca3af;
     436        font-size: 14px;
     437    }
     438
     439    &__error {
     440        background: #ffebeb;
     441        color: #ce0920;
     442        font-size: 12px;
     443        padding: 9px 12px;
     444        margin-top: 5px;
     445        overflow-wrap: break-word;
     446        border-radius: 6px;
     447
     448        &--hidden {
     449            display: none;
     450        }
     451    }
     452}
  • montonio-for-woocommerce/trunk/assets/images/latvian_post-rect.svg

    r3315103 r3366299  
    11<svg width="64" height="40" viewBox="0 0 64 40" fill="none" xmlns="http://www.w3.org/2000/svg">
    2 <rect width="64" height="40" rx="6" fill="#002F6C"/>
    3 <path d="M29.5434 17.5693H25.5051C25.4695 17.8539 24.3131 24.792 24.2598 25.0766H26.4657C26.5191 24.8098 26.8571 22.7106 26.8571 22.7106H28.476C30.3973 22.7106 31.6604 21.7499 31.945 20.0777C32.0873 19.206 31.7671 17.5693 29.5434 17.5693ZM28.2269 21.1451H27.1239L27.4442 19.2593H28.6895C29.1876 19.2593 30.0059 19.2593 29.8636 20.1666C29.6857 21.1451 28.7784 21.1451 28.2269 21.1451Z" fill="white"/>
    4 <path d="M33.9552 17.5693C33.8662 17.7472 30.0592 24.6852 29.8457 25.0766H32.0339C32.1228 24.8987 32.5854 23.9559 32.5854 23.9559H35.3606C35.3606 23.9559 35.4851 24.8987 35.5207 25.0766H37.78C37.7089 24.6852 36.2501 17.7472 36.1967 17.5693H33.9552ZM33.2614 22.586L34.5422 19.9709L34.7735 19.544L35.1827 22.586H33.2614Z" fill="white"/>
    5 <path d="M42.3159 20.4334C41.4087 20.22 40.6971 20.0421 40.7326 19.4728C40.8038 19.0636 41.2308 18.7968 41.889 18.7968C42.0669 18.7968 42.4227 18.8323 42.654 19.028C42.8674 19.1703 42.9564 19.3838 42.9208 19.6151H44.9844C45.1268 17.676 43.2766 17.3736 42.138 17.3736C40.6971 17.3736 38.9181 18.014 38.6156 19.8108C38.3844 21.2162 39.5941 21.5542 40.7682 21.8922L40.8928 21.9278C42.2092 22.3014 42.654 22.4437 42.565 22.9774C42.4583 23.6178 41.8178 23.8313 41.2485 23.8313C40.5488 23.8313 40.1456 23.6119 40.0388 23.1731C40.021 23.0486 40.021 22.9062 40.021 22.7461H37.8151C37.566 25.13 40.2523 25.2545 40.8038 25.2545C41.6399 25.2545 44.4329 25.0766 44.8243 22.7283C45.0378 21.3763 44.0238 20.896 42.992 20.6113L42.3159 20.4334Z" fill="white"/>
    6 <path d="M46.4606 25.0766H48.6665C48.7199 24.792 49.645 19.2593 49.645 19.2593H51.9043C51.9399 19.0281 52.1533 17.8005 52.1889 17.5693H45.4465C45.411 17.8005 45.2153 19.0281 45.1797 19.2593H47.439C47.439 19.2593 46.5139 24.792 46.4606 25.0766Z" fill="white"/>
    7 <path d="M56.2263 20.6113L55.5503 20.4334C54.643 20.22 53.9136 20.0421 53.967 19.4728C54.0382 19.0636 54.4651 18.7968 55.1234 18.7968C55.3013 18.7968 55.6571 18.8323 55.8883 19.028C56.1018 19.1703 56.1908 19.3838 56.1552 19.6151H58.2188C58.3611 17.676 56.511 17.3736 55.3724 17.3736C53.9314 17.3736 52.1524 18.014 51.85 19.8108C51.6187 21.2162 52.8285 21.5542 54.0026 21.8922L54.1271 21.9278C55.4436 22.3014 55.8883 22.4437 55.7994 22.9774C55.6926 23.6178 55.0522 23.8313 54.4829 23.8313C53.7713 23.8313 53.3681 23.6119 53.2732 23.1731C53.2376 23.0486 53.2376 22.9062 53.2554 22.7461H51.0495C50.8004 25.13 53.4867 25.2545 54.0382 25.2545C54.8743 25.2545 57.6495 25.0766 58.0409 22.7283C58.2722 21.3763 57.2582 20.896 56.2263 20.6113Z" fill="white"/>
    8 <path d="M9.13772 15.8258C7.80348 17.9251 8.01696 22.8173 8.30159 23.1375C9.06656 24.0092 17.3567 24.6852 20.3988 23.6712C21.0392 23.3866 22.6225 17.6938 21.9287 17.2668C21.5551 17.0533 16.9475 19.7752 15.293 19.8997C13.8521 20.0243 12.2332 17.9428 10.045 17.4269C9.72479 17.3558 9.60026 17.0711 9.72479 16.8932C9.84932 16.6975 10.2763 16.5552 10.6677 16.7153C12.3399 17.4447 13.6386 18.9213 14.5637 18.9035C16.396 18.8679 20.1319 17.1601 22.16 16.6264C22.3023 16.5908 22.5158 16.5196 22.5335 16.6442C23.2451 20.2733 21.5195 24.0982 21.306 24.2939C21.1459 24.4184 20.2386 24.9699 14.1545 25.0054C12.7491 25.0232 8.79971 24.6852 7.55442 24.1337C7.26978 24.0092 7.10967 22.675 7.37652 20.3089C7.59 18.352 8.4795 15.3099 8.87088 15.2388C13.3006 14.4204 24.0101 14.8118 23.939 14.7584C22.6403 13.7266 8.26601 13.8156 7.91021 14.6161C5.9889 18.9035 5.70426 24.8631 6.23796 25.0944C9.22667 26.4286 21.6085 26.2507 22.3734 24.8098C22.836 23.9558 24.0279 18.5655 23.9567 15.897C17.0365 14.8474 9.38678 15.4345 9.13772 15.8258Z" fill="#FFA300"/>
    9 <path d="M26.3929 14.7585L26.0549 16.7153H27.1401L27.0867 17.0534H25.6279L26.0193 14.7585H26.3929Z" fill="#FFA300"/>
    10 <path d="M31.2857 14.7585L31.7126 17.0534H31.3212L31.2145 16.4485H30.3606L30.0582 17.0534H29.6846L30.8765 14.7585H31.2857ZM31.1789 16.1461L31.0366 15.1498H31.0188L30.5385 16.1461H31.1789Z" fill="#FFA300"/>
    11 <path d="M36.6579 14.7585L36.6045 15.1143H35.9107L35.5905 17.0534H35.2169L35.5549 15.1143H34.8789L34.9323 14.7585H36.6579Z" fill="#FFA300"/>
    12 <path d="M39.8777 14.7585L40.109 16.573L40.9629 14.7585H41.3365L40.2335 17.0534H39.8243L39.4863 14.7585H39.8777Z" fill="#FFA300"/>
    13 <path d="M44.7708 14.7585L44.3794 17.0534H44.0059L44.3972 14.7585H44.7708Z" fill="#FFA300"/>
    14 <path d="M48.0979 17.1067C47.6531 17.1067 47.5286 16.7865 47.5998 16.3773L47.6176 16.2528H47.9912L47.9734 16.3773C47.92 16.6264 47.9556 16.7865 48.1868 16.7865C48.4359 16.7865 48.5071 16.6264 48.5604 16.3418L48.8273 14.7585H49.2009L48.934 16.324C48.8807 16.7154 48.7205 17.1067 48.0979 17.1067Z" fill="#FFA300"/>
    15 <path d="M53.4527 14.7585L53.8796 17.0534H53.4882L53.3815 16.4485H52.5454L52.2429 17.0534H51.8516L53.0613 14.7585H53.4527ZM53.3281 16.1461L53.1858 15.1498H53.168L52.6877 16.1461H53.3281Z" fill="#FFA300"/>
    16 <path d="M57.758 16.7865C58.0782 16.7865 58.2383 16.6086 58.2561 16.4307C58.2917 16.2528 58.2205 16.1816 58.1316 16.1461C57.9893 16.0927 57.8114 16.0571 57.5267 15.9682C57.1887 15.8614 57.1176 15.6124 57.1532 15.3811C57.2421 14.9186 57.6691 14.7051 58.0426 14.7051C58.4874 14.7051 58.8254 14.9541 58.7365 15.4345H58.3629C58.3985 15.1498 58.2383 15.0431 57.9715 15.0431C57.8114 15.0431 57.5801 15.0965 57.5445 15.3277C57.509 15.4878 57.5979 15.5768 57.7402 15.6302C57.7758 15.6479 58.2206 15.7725 58.3273 15.8081C58.5941 15.897 58.6831 16.1461 58.6475 16.3951C58.5586 16.911 58.096 17.1067 57.6691 17.1067C57.1887 17.1067 56.8329 16.8577 56.9219 16.2884H57.2955C57.2421 16.6442 57.4556 16.7865 57.758 16.7865Z" fill="#FFA300"/>
     2<rect width="64" height="40" rx="6" fill="#005792"/>
     3<g clip-path="url(#clip0_5225_282)">
     4<path d="M13.6592 14.1549H7V25.7688H12.4114V22.4472H13.6592C16.8332 22.4472 18.8324 20.8141 18.8324 18.301C18.8324 15.7879 16.8332 14.1549 13.6592 14.1549ZM12.6322 20.6314H12.4122V15.9714H12.6322C13.5496 15.9714 14.1001 16.5949 14.1001 18.3018C14.1001 20.0087 13.5496 20.6314 12.6322 20.6314ZM24.556 15.8618C21.6394 15.8618 19.5298 17.3114 19.2542 20.0453C20.0429 19.1096 21.1072 18.7792 22.2994 18.7792C23.4916 18.7792 24.2256 19.3296 24.3542 20.2653L22.9047 20.394C20.5568 20.614 18.9237 21.7148 18.9237 23.5314C18.9237 24.9809 20.0246 26.1366 21.7307 26.1366C22.8681 26.1366 23.8403 25.7148 24.3542 24.6322V25.7696H29.4908V20.3391C29.4908 17.5504 27.5647 15.8626 24.556 15.8626V15.8618ZM24.3542 23.6775C24.2629 23.7506 24.0977 23.8062 23.9325 23.8062C23.3638 23.8062 22.9785 23.2557 22.9785 22.6688C22.9785 22.0818 23.2168 21.5496 24.1707 21.2375L24.3542 21.2192V23.6775ZM37.2867 19.6044L34.7188 18.394C34.2414 18.1739 34.0397 17.9539 34.0397 17.6235C34.0397 17.3114 34.3145 17.0913 34.7736 17.0913C35.7823 17.0913 37.3971 18.0635 38.7728 19.807V16.8531C37.7641 16.1557 36.3884 15.8626 34.7005 15.8626C32.1874 15.8626 30.4813 17.3852 30.4813 19.3304C30.4813 20.6513 31.1421 21.4956 32.2422 22.0087L34.884 23.2009C35.4344 23.4392 35.6362 23.7148 35.6362 24.0635C35.6362 24.3757 35.3979 24.687 34.8657 24.687C33.8379 24.687 31.8935 23.3479 30.6831 21.807V25.0723C32.0039 25.7879 33.5266 26.1366 35.104 26.1366C37.5806 26.1366 39.2684 24.6322 39.2684 22.5592C39.2684 21 38.6449 20.2295 37.2875 19.6052L37.2867 19.6044ZM45.3216 13L40.185 17.1279V22.467C40.185 24.5949 41.5424 26.1366 43.8538 26.1366C46.5869 26.1366 47.9078 24.3384 47.9451 21.8435C47.6513 22.1374 47.3034 22.3391 46.6243 22.3391C45.8538 22.3391 45.3216 21.9174 45.3216 21.1096V18.1557H47.9634V16.2295H45.3216V13ZM55.4844 19.6044L52.9165 18.394C52.4392 18.1739 52.2374 17.9539 52.2374 17.6235C52.2374 17.3114 52.5123 17.0913 52.9713 17.0913C53.9801 17.0913 55.5949 18.0635 56.9705 19.807V16.8531C55.9618 16.1557 54.5861 15.8626 52.8983 15.8626C50.3852 15.8626 48.6791 17.3852 48.6791 19.3304C48.6791 20.6513 49.3399 21.4956 50.44 22.0087L53.0817 23.2009C53.6322 23.4392 53.8339 23.7148 53.8339 24.0635C53.8339 24.3757 53.5956 24.687 53.0635 24.687C52.0357 24.687 50.0913 23.3479 48.8808 21.807V25.0723C50.2017 25.7879 51.7243 26.1366 53.3018 26.1366C55.7783 26.1366 57.4662 24.6322 57.4662 22.5592C57.4662 21 56.8427 20.2295 55.4852 19.6052L55.4844 19.6044Z" fill="white"/>
     5</g>
     6<defs>
     7<clipPath id="clip0_5225_282">
     8<rect width="50.4654" height="13.1366" fill="white" transform="translate(7 13)"/>
     9</clipPath>
     10</defs>
    1711</svg>
  • montonio-for-woocommerce/trunk/blocks/build/wc-montonio-shipping-dropdown/view.asset.php

    r3351222 r3366299  
    1 <?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'c8cd3af9e2225bcc5e49');
     1<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'd47161f0eaa2817bd468');
  • montonio-for-woocommerce/trunk/blocks/build/wc-montonio-shipping-dropdown/view.js

    r3351222 r3366299  
    1 (()=>{"use strict";const e=window.React,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"montonio-for-woocommerce/wc-montonio-shipping-dropdown","version":"0.1.0","title":"Montonio Shipping Pickup Point Dropdown Block","category":"woocommerce","description":"Adds a Montonio Shipping Pickup Point Dropdown to the checkout page.","supports":{"html":false,"align":false,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-shipping-methods-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}}},"textdomain":"montonio-for-woocommerce","editorScript":"file:./index.js","viewScript":"file:./view.js"}'),t=window.wp.element,n=window.wp.i18n,i=window.wc.blocksCheckout,a=window.wp.data,c=window.lodash,{getSetting:s}=wc.wcSettings,r=s("wc-montonio-shipping-dropdown_data",{}),p={metadata:o,component:({checkoutExtensionData:o})=>{const[i,s]=(0,t.useState)(""),[p,l]=(0,t.useState)([]),[d,u]=(0,t.useState)(!1),[m,w]=(0,t.useState)(!1),[h,g]=(0,t.useState)(!1),{setExtensionData:k}=o,f=(0,t.useRef)(null),b=(0,t.useRef)(null),S="montonio-pickup-point",{setValidationErrors:y,clearValidationError:E}=(0,a.useDispatch)("wc/store/validation"),v=(0,a.useSelect)((e=>e("wc/store/validation").getValidationError(S))),{selectedShippingRate:C,shippingAddress:_,isCustomerDataUpdating:D}=(0,a.useSelect)((e=>{const o=e("wc/store/cart"),t=o.getCartData();return{selectedShippingRate:t.shippingRates?.[0]?.shipping_rates?.find((e=>e.selected))?.rate_id||null,shippingAddress:t.shippingAddress||{},isCustomerDataUpdating:o.isCustomerDataUpdating()}})),M=(0,t.useCallback)((0,c.debounce)(((e,o,t)=>{k(e,o,t)}),1e3),[k]),j=(0,t.useCallback)((e=>{const o=e.target.value;s(o),M("montonio-for-woocommerce","selected_pickup_point",o),g(!0)}),[M]),A=(0,t.useCallback)((async(e,o)=>{f.current&&f.current.abort();const t=new AbortController;f.current=t,u(!0);try{const n=await fetch(`${r.getShippingMethodItemsUrl}?shipping_method=${e}&country=${o}`,{headers:{"Content-Type":"application/json","X-WP-Nonce":r.nonce},signal:t.signal});if(!n.ok)throw new Error("Network response was not ok");return await n.json()}catch(e){return"AbortError"===e.name?console.log("Fetch aborted"):console.error("Error fetching pickup points:",e),{}}finally{u(!1),f.current=null}}),[]),N=(0,t.useCallback)((e=>Object.entries(e).map((([e,o])=>({label:e,options:o.map((o=>({value:o.id,label:`${o.name}${"yes"===r.includeAddress&&o.address?.trim()?` - ${o.address}, ${e}`:""}`})))})))),[]),$=(0,t.useCallback)((0,c.debounce)((async(e,o,t)=>{const n=await A(o,t),i=N(n);l(i),s(""),g(!1),u(!1)}),400),[A,N,j]),P=(0,t.useCallback)(((e,o)=>{const[t]=(e||":").split(":"),n=t.startsWith("montonio_")&&(t.endsWith("parcel_machines")||t.endsWith("post_offices"));w(n),n?(u(!0),$(e,t,o)):(l([]),s(""))}),[$]);(0,t.useEffect)((()=>{(C!==b.current||D)&&(P(C,_.country),b.current=C)}),[D,C,_.country,P]);const L=(0,t.useCallback)((()=>{if(!m)return;const e=document.getElementById("montonio-shipping-pickup-point-dropdown");e&&("undefined"!=typeof MontonioLegacy&&MontonioLegacy.Checkout&&MontonioLegacy.Checkout.ShippingDropdown?(window.montonioShippingDropdown&&window.montonioShippingDropdown.destroy(),window.montonioShippingDropdown=new MontonioLegacy.Checkout.ShippingDropdown({shippingMethod:C,accessKey:r.accessKey,targetId:"montonio-shipping-pickup-point-dropdown",shouldInjectCSS:!0,onLoaded:function(){const o=e.value;o&&j({target:{value:o}})}}),window.montonioShippingDropdown.init()):console.warn("Montonio SDK not available"))}),[m,C,j]);(0,t.useEffect)((()=>{p.length>0&&m&&requestAnimationFrame((()=>{L()}))}),[p,m,L]),(0,t.useEffect)((()=>{m&&""===i?y({[S]:{message:(0,n.__)("Please select a pickup point","montonio-for-woocommerce"),hidden:!h}}):v&&E(S)}),[m,i,y,E,S,h,v]);const R=(0,t.useCallback)((o=>[(0,e.createElement)("option",{key:"default",value:""},(0,n.__)("Select a pickup point","montonio-for-woocommerce")),...o.map(((o,t)=>(0,e.createElement)("optgroup",{key:t,label:o.label},o.options.map((o=>(0,e.createElement)("option",{key:o.value,value:o.value},o.label))))))]),[]);return(0,e.createElement)("div",{id:"montonio-shipping-pickup-point-dropdown-wrapper"},m&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",{className:"wc-block-components-title wc-block-components-checkout-step__title"},(0,n.__)("Pickup point","montonio-for-woocommerce")),d?(0,e.createElement)("p",null,(0,n.__)("Loading pickup points...","montonio-for-woocommerce")):(0,e.createElement)("div",{className:!1===v?.hidden?"has-error":""},(0,e.createElement)("input",{type:"text",className:"montonio-pickup-point-id",name:"montonio-pickup-point-id",value:i}),(0,e.createElement)("select",{id:"montonio-shipping-pickup-point-dropdown",onChange:j,value:i,className:!1===v?.hidden?"has-error":""},R(p)),!1===v?.hidden&&(0,e.createElement)("div",{className:"wc-block-components-validation-error"},(0,e.createElement)("p",null,v.message)))))}};(0,i.registerCheckoutBlock)(p)})();
     1(()=>{"use strict";const e=window.React,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"montonio-for-woocommerce/wc-montonio-shipping-dropdown","version":"0.1.0","title":"Montonio Shipping Pickup Point Dropdown Block","category":"woocommerce","description":"Adds a Montonio Shipping Pickup Point Dropdown to the checkout page.","supports":{"html":false,"align":false,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-shipping-methods-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}}},"textdomain":"montonio-for-woocommerce","editorScript":"file:./index.js","viewScript":"file:./view.js"}'),t=window.wp.element,n=window.wp.i18n,i=window.wc.blocksCheckout,c=window.wp.data,s=window.lodash,{getSetting:r}=wc.wcSettings,a=(r("wc-montonio-shipping-dropdown_data",{}),{metadata:o,component:({checkoutExtensionData:o})=>{const[i,r]=(0,t.useState)(""),[a,p]=(0,t.useState)(!1),[l,m]=(0,t.useState)(!1),{setExtensionData:d}=o,u=(0,t.useRef)(null),h=(0,t.useRef)(null),w=(0,t.useRef)(!1),k="montonio-pickup-point",{setValidationErrors:_,clearValidationError:g}=(0,c.useDispatch)("wc/store/validation"),f=(0,c.useSelect)((e=>e("wc/store/validation").getValidationError(k))),{shippingMethodId:E,shippingCarrier:v,shippingAddress:P,isCustomerDataUpdating:S}=(0,c.useSelect)((e=>{const o=e("wc/store/cart"),t=o.getCartData(),n=t.shippingRates?.[0]?.shipping_rates?.find((e=>e.selected)),i=n?.meta_data?.find((e=>"provider_name"===e.key));return{shippingMethodId:n?.method_id||null,shippingCarrier:i?.value||null,shippingAddress:t.shippingAddress||{},isCustomerDataUpdating:o.isCustomerDataUpdating()}})),{isProcessing:b}=(0,c.useSelect)((e=>({isProcessing:e("wc/store/checkout").isProcessing()}))),C=(0,t.useCallback)((0,s.debounce)(((e,o,t)=>{d(e,o,t)}),1e3),[d]),y=(0,t.useCallback)((e=>{const o=e.detail;r(o.id),C("montonio-for-woocommerce","selected_pickup_point",o.id),m(!0),f&&g(k)}),[C,f,g,k]);(0,t.useEffect)((()=>{const e=h.current;if(e&&a)return e.addEventListener("montonio-pickup-point-selected",y),()=>{e.removeEventListener("montonio-pickup-point-selected",y)}}),[a,y]);const N=(0,t.useCallback)((e=>{const o=e.startsWith("montonio_")&&(e.endsWith("parcel_machines")||e.endsWith("parcel_shops")||e.endsWith("post_offices"));window.montonioPickupPointSelector&&(window.montonioPickupPointSelector.clearSelection(),window.montonioPickupPointSelector.destroy()),r(""),w.current=o,p(o)}),[]);(0,t.useEffect)((()=>{(E!==u.current||S)&&(N(E),u.current=E)}),[S,E,P,N]);const D=(0,t.useCallback)((()=>{document.getElementById("montonio-pickup-point__search")&&(window.montonioPickupPointSelector=new MontonioPickupPointSelector)}),[]);return(0,t.useEffect)((()=>{a&&w.current&&(w.current=!1,requestAnimationFrame((()=>{D()})))}),[a,E,D]),(0,t.useEffect)((()=>{a&&""===i?_({[k]:{message:(0,n.__)("Please select a pickup point","montonio-for-woocommerce"),hidden:!l}}):f&&g(k)}),[a,i,_,g,k,l,f]),(0,e.createElement)("div",{id:"montonio-pickup-point-block",className:"montonio-pickup-point "+(!1===f?.hidden?"has-error":"")},a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wc-block-components-checkout-step__heading"},(0,e.createElement)("h2",{className:"wc-block-components-title wc-block-components-checkout-step__title"},(0,n.__)("Pickup point","montonio-for-woocommerce"))),(0,e.createElement)("div",{className:"montonio-pickup-point__container"},(0,e.createElement)("input",{ref:h,type:"text",id:"montonio-pickup-point__search",className:`montonio-pickup-point__search montonio-pickup-point__search--${v||""}`,placeholder:(0,n.__)("Type at least 3 characters to search...","montonio-for-woocommerce"),autoComplete:"off","data-carrier":v||"","data-country":P.country||""}),(0,e.createElement)("div",{className:"montonio-pickup-point__dropdown",id:"montonio-pickup-point__dropdown"}),(0,e.createElement)("div",{className:"montonio-pickup-point__error montonio-pickup-point__error--hidden",id:"montonio-pickup-point__error"})),(0,e.createElement)("input",{type:"hidden",id:"montonio_pickup_point",className:"montonio-pickup-point__selected",name:"montonio-pickup-point"}),!1===f?.hidden&&(0,e.createElement)("div",{className:"wc-block-components-validation-error"},(0,e.createElement)("p",{id:"validate-error-montonio_pickup_point"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})),(0,e.createElement)("span",null,f.message)))))}});(0,i.registerCheckoutBlock)(a)})();
  • montonio-for-woocommerce/trunk/blocks/class-wc-montonio-shipping-dropdown-block.php

    r3351222 r3366299  
    6464            );
    6565       
    66         $script_asset['dependencies'][] = 'montonio-js-legacy';
    67 
    68         wp_register_script( 'montonio-js-legacy', 'https://public.montonio.com/assets/montonio-js/3.x/montonio.bundle.js', array(), WC_MONTONIO_PLUGIN_VERSION, true );
     66        $script_asset['dependencies'][] = 'montonio-shipping-pickup-points-search';
    6967
    7068        wp_register_script(
  • montonio-for-woocommerce/trunk/includes/admin/class-wc-montonio-banners.php

    r3323482 r3366299  
    4444        $id = $_POST['id'];
    4545        check_ajax_referer( $id . '_nonce' );
    46 
    47         if ( ! current_user_can( 'edit_theme_options' ) ) {
    48             wp_die( -1 );
    49         }
    5046
    5147        // Get existing banner settings or initialize empty array
  • montonio-for-woocommerce/trunk/includes/class-wc-montonio-helper.php

    r3270541 r3366299  
    311311        );
    312312
    313         // Return the mapped message if we have one for this message
    314         if ( ! empty( $message ) && isset( $error_translations[$message] ) ) {
    315             return $error_translations[$message];
    316         }
    317 
    318         // First fallback: Use the decoded message if it exists
     313        // Handle the message
    319314        if ( ! empty( $message ) ) {
    320 
    321315            if ( is_array( $message ) ) {
    322                 $message = implode( '; ', $message );
     316                // Arrays won't match translations, so just convert and return
     317                return implode( '; ', $message );
    323318            }
    324 
     319           
     320            // Check if we have a translation for this string message
     321            if ( isset( $error_translations[$message] ) ) {
     322                return $error_translations[$message];
     323            }
     324           
     325            // Return the original string message if no translation found
    325326            return $message;
    326327        }
    327328
    328         // Second fallback: Return the original error
     329        // Fallback: Return the original error
    329330        return $raw_error;
    330331    }
  • montonio-for-woocommerce/trunk/includes/payment/payment-methods/class-wc-montonio-blik.php

    r3351222 r3366299  
    5555        $this->description      = $this->get_option( 'description' );
    5656        $this->enabled          = $this->get_option( 'enabled' );
    57         $this->test_mode     = $this->get_option( 'test_mode' );
     57        $this->test_mode        = $this->get_option( 'test_mode' );
    5858        $this->blik_in_checkout = $this->get_option( 'blik_in_checkout' );
    5959        $this->processor        = $this->get_option( 'processor', 'stripe' );
     
    105105                'default'     => 'no'
    106106            ),
    107             'test_mode'     => array(
     107            'test_mode'        => array(
    108108                'title'       => 'Test mode',
    109109                'label'       => 'Enable Test Mode',
     
    179179
    180180            // Disable the payment gateway if API keys are not provided
    181             if ( $settings['test_mode'] === 'yes' ) {
     181            if ( isset( $settings['test_mode'] ) && $settings['test_mode'] === 'yes' ) {
    182182                if ( empty( $api_settings['sandbox_access_key'] ) || empty( $api_settings['sandbox_secret_key'] ) ) {
    183183                    /* translators: API Settings page url */
     
    202202
    203203            try {
    204                 $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     204                $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    205205                $response     = json_decode( $montonio_api->fetch_payment_methods() );
    206206
     
    394394        }
    395395
    396         if ( $this->blik_in_checkout === 'yes' && ! WC_Montonio_Helper::is_checkout_block() ) {
    397             $embedded_blik_params = array(
    398                 'test_mode' => $this->test_mode,
    399                 'return_url'   => (string) apply_filters( 'wc_montonio_return_url', add_query_arg( 'wc-api', $this->id, trailingslashit( get_home_url() ) ), $this->id ),
    400                 'locale'       => WC_Montonio_Helper::get_locale( apply_filters( 'wpml_current_language', get_locale() ) ),
    401                 'nonce'        => wp_create_nonce( 'montonio_embedded_checkout_nonce' )
    402             );
    403             if ( $this->processor === 'blik' ) {
    404                 wp_enqueue_script( 'montonio-embedded-blik' );
    405                 wp_localize_script( 'montonio-embedded-blik', 'wc_montonio_embedded_blik', $embedded_blik_params );
    406             } else {
    407                 wp_enqueue_script( 'montonio-embedded-blik-legacy' );
    408                 wp_localize_script( 'montonio-embedded-blik-legacy', 'wc_montonio_inline_blik', $embedded_blik_params );
    409             }
     396        $embedded_blik_params = array(
     397            'test_mode'  => $this->test_mode,
     398            'return_url' => (string) apply_filters( 'wc_montonio_return_url', add_query_arg( 'wc-api', $this->id, trailingslashit( get_home_url() ) ), $this->id ),
     399            'locale'     => WC_Montonio_Helper::get_locale( apply_filters( 'wpml_current_language', get_locale() ) ),
     400            'nonce'      => wp_create_nonce( 'montonio_embedded_checkout_nonce' )
     401        );
     402
     403        if ( $this->processor === 'blik' ) {
     404            wp_enqueue_script( 'montonio-embedded-blik' );
     405            wp_localize_script( 'montonio-embedded-blik', 'wc_montonio_embedded_blik', $embedded_blik_params );
     406        } else {
     407            wp_enqueue_script( 'montonio-embedded-blik-legacy' );
     408            wp_localize_script( 'montonio-embedded-blik-legacy', 'wc_montonio_inline_blik', $embedded_blik_params );
    410409        }
    411410    }
  • montonio-for-woocommerce/trunk/includes/payment/payment-methods/class-wc-montonio-card.php

    r3351222 r3366299  
    183183
    184184            // Disable the payment gateway if API keys are not provided
    185             if ( $settings['test_mode'] === 'yes' ) {
     185            if ( isset( $settings['test_mode'] ) && $settings['test_mode'] === 'yes' ) {
    186186                if ( empty( $api_settings['sandbox_access_key'] ) || empty( $api_settings['sandbox_secret_key'] ) ) {
    187187                    /* translators: API Settings page url */
     
    206206
    207207            try {
    208                 $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     208                $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    209209                $response     = json_decode( $montonio_api->fetch_payment_methods() );
    210210
  • montonio-for-woocommerce/trunk/includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php

    r3283410 r3366299  
    11<?php
    2 
    32defined( 'ABSPATH' ) || exit;
    43
     
    1514     */
    1615    protected function __construct() {
    17         add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 20 );
    1816        add_filter( 'woocommerce_cart_shipping_method_full_label', array( $this, 'update_shipping_method_label' ), 10, 2 );
    1917        add_action( 'woocommerce_review_order_after_shipping', array( $this, 'render_shipping_method_items_dropdown' ) );
    2018        add_filter( 'woocommerce_order_shipping_to_display', array( $this, 'add_details_to_shipping_label_ordered' ), 10, 2 );
    2119        add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_pickup_point' ) );
    22     }
    23 
    24     /**
    25      * Enqueues the Montonio SDK script.
    26      *
    27      * @since 7.0.1 - Removed sync of shipping method items in here
    28      * @since 7.0.0
    29      * @return null
    30      */
    31     public function enqueue_scripts() {
    32         if ( ! is_checkout() ) {
    33             return;
    34         }
    35 
    36         if ( get_option( 'montonio_shipping_dropdown_type' ) === 'select2' ) {
    37             wp_enqueue_style( 'montonio-pickup-points' );
    38 
    39             if ( ! wp_script_is( 'selectWoo', 'registered' ) ) {
    40                 wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), false, true );
    41             }
    42 
    43             wp_enqueue_script( 'montonio-shipping-pickup-points-legacy' );
    44         } else {
    45             wp_enqueue_script( 'montonio-shipping-pickup-points' );
    46         }
    4720    }
    4821
     
    7952
    8053    /**
    81      * Will render the shipping method items dropdown using the montonio-js sdk.
     54     * Will render the shipping method items dropdown or search element.
    8255     *
    8356     * @since 7.0.0
     57     * @since 9.1.1 Added support for pickup point search element
    8458     * @return void
    8559     */
    8660    public function render_shipping_method_items_dropdown() {
    8761        $montonio_shipping_method = WC_Montonio_Shipping_Helper::get_chosen_montonio_shipping_method_at_checkout();
     62        if ( ! is_a( $montonio_shipping_method, 'Montonio_Shipping_Method' ) ) {
     63            return;
     64        }
    8865
    89         if ( ! is_a( $montonio_shipping_method, 'Montonio_Shipping_Method' ) ) {
     66        if ( is_a( $montonio_shipping_method, 'Montonio_Inpost_Parcel_Machines' ) ) {
     67            wc_get_template(
     68                'shipping-pickup-points-search.php',
     69                array(
     70                    'carrier' => $montonio_shipping_method->provider_name,
     71                    'country' => WC_Montonio_Shipping_Helper::get_customer_shipping_country()
     72                ),
     73                '',
     74                WC_MONTONIO_PLUGIN_PATH . '/templates/'
     75            );
     76
    9077            return;
    9178        }
     
    9986        wc_get_template(
    10087            'shipping-pickup-points-dropdown.php',
    101             [
     88            array(
    10289                'shipping_method'       => $montonio_shipping_method->id,
    10390                'shipping_method_items' => $shipping_method_items
    104             ],
     91            ),
    10592            '',
    10693            WC_MONTONIO_PLUGIN_PATH . '/templates/'
     
    125112        }
    126113
    127         $carrier = $shipping_method->provider_name;
     114        $carrier     = $shipping_method->provider_name;
    128115        $method_type = $shipping_method->type_v2;
    129116
    130         if ( in_array( $method_type, ['parcelMachine', 'postOffice', 'parcelShop'] ) ) {
     117        if ( in_array( $method_type, array( 'parcelMachine', 'postOffice', 'parcelShop' ) ) ) {
    131118            $shipping_method_item_id = isset( $_POST['montonio_pickup_point'] ) ? sanitize_text_field( wp_unslash( $_POST['montonio_pickup_point'] ) ) : null;
    132119
     
    137124
    138125            $shipping_method_item = WC_Montonio_Shipping_Item_Manager::get_shipping_method_item( $shipping_method_item_id );
    139            
     126
    140127            if ( $carrier != $shipping_method_item->carrier_code ) {
    141128                wc_add_notice( __( 'Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again.', 'montonio-for-woocommerce' ), 'error' );
  • montonio-for-woocommerce/trunk/includes/shipping/class-wc-montonio-shipping-api.php

    r3247083 r3366299  
    6565     * @return string The body of the response. Empty string if no body or incorrect parameter given. as a JSON string
    6666     */
    67     public function get_pickup_points( $carrier = null, $country = null ) {
     67    public function get_pickup_points( $carrier = null, $country = null, $search = null ) {
    6868        $path = '/v3/shipping-methods/pickup-points';
    6969        $query_params = array();
     
    7575        if ( $country !== null ) {
    7676            $query_params['countryCode'] = $country;
     77        }
     78
     79        if ( $search !== null ) {
     80            $query_params['search'] = $search;
    7781        }
    7882       
  • montonio-for-woocommerce/trunk/includes/shipping/class-wc-montonio-shipping-settings.php

    r3270541 r3366299  
    113113                'desc'    => __( 'Enable', 'montonio-for-woocommerce' ),
    114114                'type'    => 'checkbox',
    115                 'default' => 'no',
     115                'default' => 'yes',
    116116                'id'      => 'montonio_shipping_show_address'
    117117            ),
  • montonio-for-woocommerce/trunk/includes/shipping/class-wc-montonio-shipping-shipment-manager.php

    r3283410 r3366299  
    223223            $quantity   = $item->get_quantity();
    224224            $weight     = WC_Montonio_Helper::convert_to_kg( $product->get_weight() );
     225            $length     = WC_Montonio_Helper::convert_to_meters( $product->get_length() );
     226            $width      = WC_Montonio_Helper::convert_to_meters( $product->get_width() );
     227            $height     = WC_Montonio_Helper::convert_to_meters( $product->get_height() );
    225228
    226229            if ( $product->get_meta( '_montonio_separate_label' ) == 'yes' ) {
     
    228231                    $parcels[] = array(
    229232                        'weight' => $weight > 0 ? $weight : 1,
    230                         'length' => WC_Montonio_Helper::convert_to_meters( $product->get_length() ),
    231                         'width'  => WC_Montonio_Helper::convert_to_meters( $product->get_width() ),
    232                         'height' => WC_Montonio_Helper::convert_to_meters( $product->get_height() )
     233                        'length' => $length,
     234                        'width'  => $width,
     235                        'height' => $height
    233236                    );
    234237                }
     
    236239                if ( array_key_exists( 'combined', $parcels ) ) {
    237240                    $parcels['combined']['weight'] += $weight * $quantity;
     241                    $parcels['combined']['length'] = max( $parcels['combined']['length'], $length );
     242                    $parcels['combined']['width']  = max( $parcels['combined']['width'], $width );
     243                    $parcels['combined']['height'] = max( $parcels['combined']['height'], $height );
    238244                } else {
    239                     $parcels['combined']['weight'] = $weight * $quantity;
     245                    $parcels['combined'] = array(
     246                        'weight' => $weight * $quantity,
     247                        'length' => $length,
     248                        'width'  => $width,
     249                        'height' => $height
     250                    );
    240251                }
    241252            }
     
    267278
    268279        // For combined parcel, if it exists and weight is 0, set to 1
    269         if ( array_key_exists( 'combined', $parcels ) && ! $parcels['combined']['weight'] > 0 ) {
     280        if ( array_key_exists( 'combined', $parcels ) && $parcels['combined']['weight'] <= 0 ) {
    270281            $parcels['combined']['weight'] = 1;
    271282        }
  • montonio-for-woocommerce/trunk/includes/shipping/class-wc-montonio-shipping.php

    r3270541 r3366299  
    3333            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-order.php';
    3434            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-shipment-manager.php';
     35            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-pickup-points-search.php';
    3536            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/label-printing/class-wc-montonio-shipping-label-printing.php';
    3637            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/class-wc-montonio-shipping-rest.php';
    3738            require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php';
    3839
     40            // Add shipping method items selection scripts
     41            add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 20 );
     42
    3943            // Update order data when order is created
    4044            add_action( 'woocommerce_checkout_create_order', array( $this, 'handle_montonio_shipping_checkout' ), 10, 2 );
     
    5660        add_action( 'admin_notices', array( $this, 'display_admin_notices' ), 999 );
    5761
    58         add_filter( 'montonio_ota_sync', array( $this, 'sync_shipping_methods_ota' ), 20, 1 );
     62        add_filter( 'montonio_ota_sync', array( $this, 'sync_shipping_methods_ota' ), 20, 1 );       
     63    }
     64
     65    /**
     66     * Enqueues the Montonio SDK script.
     67     *
     68     * @since 9.1.1 Added pickup point search script
     69     * @since 7.0.1 - Removed sync of shipping method items in here
     70     * @since 7.0.0
     71     * @return null
     72     */
     73    public function enqueue_scripts() {
     74        if ( ! is_checkout() ) {
     75            return;
     76        }
     77
     78        if ( ! WC_Montonio_Helper::is_checkout_block() ) {
     79            if ( get_option( 'montonio_shipping_dropdown_type' ) === 'select2' ) {
     80                wp_enqueue_style( 'montonio-pickup-points' );
     81
     82                if ( ! wp_script_is( 'selectWoo', 'registered' ) ) {
     83                    wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), false, true );
     84                }
     85
     86                wp_enqueue_script( 'montonio-shipping-pickup-points-legacy' );
     87            } else {
     88                wp_enqueue_script( 'montonio-shipping-pickup-points' );
     89            }
     90        }
     91
     92        wp_enqueue_script( 'montonio-shipping-pickup-points-search' );
     93
     94        wp_localize_script( 'montonio-shipping-pickup-points-search', 'wc_montonio_pickup_points_search', array(
     95            'ajax_url'     => admin_url( 'admin-ajax.php' ),
     96            'nonce'        => wp_create_nonce( 'montonio_pickup_nonce' ),
     97            'show_address' => get_option( 'montonio_shipping_show_address' ),
     98            'loading_text' => __( 'Searching pickup points...', 'montonio-for-woocommerce' ),
     99            'error_text'   => __( 'Failed to load pickup points. Please try again.', 'montonio-for-woocommerce' ),
     100            'no_results'   => __( 'No pickup points found', 'montonio-for-woocommerce' )
     101        ) );
    59102    }
    60103
     
    209252        try {
    210253            $courier_services_synced = false;
    211             $pickup_point_countries  = array();
     254            $pickup_point_carriers  = array();
    212255
    213256            $sandbox_mode     = get_option( 'montonio_shipping_sandbox_mode', 'no' );
     
    220263                }
    221264
    222                 $country_code = $country['countryCode'];
    223 
    224265                foreach ( $country['carriers'] as $carrier ) {
     266                    $carrier_code = $carrier['carrierCode'];
    225267                    foreach ( $carrier['shippingMethods'] as $method ) {
    226268                        if ( 'courier' === $method['type'] ) {
     
    233275                        }
    234276
    235                         if ( in_array( $country_code, $pickup_point_countries ) ) {
     277                        if ( in_array( $carrier_code, $pickup_point_carriers ) ) {
    236278                            continue;
    237279                        }
    238280
    239                         $pickup_point_countries[] = $country_code;
     281                        $pickup_point_carriers[] = $carrier_code;
    240282                        WC_Montonio_Shipping_Item_Manager::sync_method_items(
    241283                            'pickupPoints',
    242                             null,
    243                             $country_code
     284                            $carrier_code,
     285                            null
    244286                        );
    245287                    }
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/dpd/class-montonio-dpd-courier.php

    r3270541 r3366299  
    2626        $this->provider_name = 'dpd';
    2727        $this->type_v2       = 'courier';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'DPD courier', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'dpd';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'DPD parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-shops.php

    r3270541 r3366299  
    2525        $this->provider_name = 'dpd';
    2626        $this->type_v2       = 'parcelShop';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/dpd-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'DPD parcel shops', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php

    r3270541 r3366299  
    2323        $this->provider_name = 'latvian_post';
    2424        $this->type_v2       = 'courier';
    25         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvijas-pasts.svg';
     25        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvian_post-rect.svg';
    2626        $this->title         = $this->get_option( 'title', __( 'Latvijas Pasts courier', 'montonio-for-woocommerce' ) );
    2727
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-parcel-machines.php

    r3270541 r3366299  
    2323        $this->provider_name = 'latvian_post';
    2424        $this->type_v2       = 'parcelMachine';
    25         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvijas-pasts.svg';
     25        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/latvian_post-rect.svg';
    2626        $this->title         = $this->get_option( 'title', __( 'Latvijas Pasts parcel machines', 'montonio-for-woocommerce' ) );
    2727
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/omniva/class-montonio-omniva-courier.php

    r3270541 r3366299  
    2626        $this->provider_name = 'omniva';
    2727        $this->type_v2       = 'courier';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'Omniva courier', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/omniva/class-montonio-omniva-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'omniva';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Omniva parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/omniva/class-montonio-omniva-post-offices.php

    r3270541 r3366299  
    2626        $this->provider_name = 'omniva';
    2727        $this->type_v2       = 'postOffice';
    28         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva.svg';
     28        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/omniva-rect.svg';
    2929        $this->title         = $this->get_option( 'title', __( 'Omniva post offices', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-courier.php

    r3270541 r3366299  
    2525        $this->provider_name = 'smartpost';
    2626        $this->type_v2       = 'courier';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'SmartPosti courier', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-parcel-machines.php

    r3270541 r3366299  
    2626
    2727        $this->type_v2 = 'parcelMachine';
    28         $this->logo    = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     28        $this->logo    = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2929        $this->title   = $this->get_option( 'title', __( 'SmartPosti parcel machines', 'montonio-for-woocommerce' ) );
    3030
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-post-offices.php

    r3270541 r3366299  
    2525        $this->provider_name = 'smartpost';
    2626        $this->type_v2       = 'postOffice';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/smartposti-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'SmartPosti post offices', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/unisend/class-montonio-unisend-parcel-machines.php

    r3270541 r3366299  
    2424        $this->provider_name = 'unisend';
    2525        $this->type_v2       = 'parcelMachine';
    26         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/unisend.png';
     26        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/unisend-rect.svg';
    2727        $this->title         = $this->get_option( 'title', __( 'Unisend parcel machines', 'montonio-for-woocommerce' ) );
    2828
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/venipak/class-montonio-venipak-courier.php

    r3270541 r3366299  
    2424        $this->provider_name = 'venipak';
    2525        $this->type_v2       = 'courier';
    26         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     26        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2727        $this->title         = $this->get_option( 'title', __( 'Venipak courier', 'montonio-for-woocommerce' ) );
    2828
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-machines.php

    r3270541 r3366299  
    2525        $this->provider_name = 'venipak';
    2626        $this->type_v2       = 'parcelMachine';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Venipak parcel machines', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-shops.php

    r3270541 r3366299  
    2525        $this->provider_name = 'venipak';
    2626        $this->type_v2       = 'parcelShop';
    27         $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak.svg';
     27        $this->logo          = WC_MONTONIO_PLUGIN_URL . '/assets/images/venipak-rect.svg';
    2828        $this->title         = $this->get_option( 'title', __( 'Venipak parcel shops', 'montonio-for-woocommerce' ) );
    2929
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-et-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:09+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"et","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakipunkt"],"Select a pickup point":["Palun vali pakipunkt"],"Please select a pickup point":["Palun vali pakiautomaat"],"Loading pickup points...":["Pakiautomaatide laadimine..."]}}}
     1{"translation-revision-date":"2024-07-11 16:09+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"et","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakipunkt"],"Please select a pickup point":["Palun vali pakiautomaat"],"Type at least 3 characters to search...":["Sisesta otsimiseks v\u00e4hemalt 3 t\u00e4hem\u00e4rki..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-et.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr "Jälgi oma saadetist:"
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Palun vali pakipunkt."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Palun vali pakiautomaat"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Alusta Montonio kasutamist"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Sa pole veel sisestanud Montonio makselahenduse API võtmeid"
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sVajuta siia%2$s, et lisada oma API võtmed ja hakata Montoniot kasutama"
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Vajad abi?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kuidas aktiveerida Montonio makselahendust"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analüütika on tagasi!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Vaata oma müügimahtu, enimkasutatavaid makseviise ja palju muud."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Eripakkumine"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Saada Unisendi pakke vaid 1,3 € + KM kuni oktoobrini!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Jälgimisleht"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Loo tasuta jälgimisleht oma logoga, et pakkuda paremat kliendikogemust"
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Kliki siia, et neid uuendusi proovida"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Sisesta otsimiseks vähemalt 3 tähemärki..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Pakiautomaatide otsimine..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Pakiautomaatide laadimine ebaõnnestus. Palun proovi uuesti."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Pakiautomaate ei leitud"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lt_LT-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lt","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pa\u0161tomatas"],"Select a pickup point":["Pasirinkite atsi\u0117mimo b\u016bd\u0105"],"Please select a pickup point":["Pra\u0161ome pasirinkti pa\u0161tomat\u0105"],"Loading pickup points...":["Pa\u0161tomat\u0173 s\u0105ra\u0161as kraunasi..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lt","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pa\u0161tomatas"],"Please select a pickup point":["Pra\u0161ome pasirinkti pa\u0161tomat\u0105"],"Type at least 3 characters to search...":["\u012eveskite bent 3 simbolius, kad prad\u0117tum\u0117te paie\u0161k\u0105..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lt_LT.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Pasirinkite atsiėmimo būdą."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Prašome pasirinkti paštomatą"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Pradėkite naudotis Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs dar neįvedėte Live API raktų Montonio mokėjimų modulio nustatymuose."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sSpauskite čia%2$s, kad įvestumėte Live API raktus ir pradėtumėte naudotis Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Reikia pagalbos?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kaip aktyvuoti Montonio mokėjimo metodus?"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analitika sugrįžo!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Peržiūrėk savo pardavimų apimtis, dažniausiai naudojamus mokėjimo būdus ir dar daugiau."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Riboto laiko pasiūlymas"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Siųsk bet kokio dydžio Unisend siuntas paštomatais tik už 1,3 € + PVM iki spalio!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Siuntos sekimo puslapis"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Susikurk nemokamą sekimo puslapį su savo logotipu ir pagerink klientų patirtį."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Išbandyk šias funkcijas!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Įveskite bent 3 simbolius, kad pradėtumėte paiešką..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Ieškoma atsiėmimo punktų..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Nepavyko įkelti atsiėmimo punktų. Bandykite dar kartą."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Atsiėmimo punktų nerasta"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lv-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Loading pickup points...":["Iel\u0101d\u0113 pakom\u0101tu izv\u0113lni..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Type at least 3 characters to search...":["Ievadiet vismaz 3 simbolus, lai mekl\u0113tu..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lv.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Lūdzu izvēlēties pakomātu"
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Lūdzu izvēlēties pakomātu"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Sāciet lietot Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs neesat ievadījis Live API atslēgas Montonio maksājumu modulī."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sNoklikšķiniet šeit%2$s, lai ievadītu savas Live API atslēgas un sāktu lietot Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Nepieciešama palīdzība?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kā aktivizēt Montonio maksājumu metodes"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analītikas dati ir atgriezušies!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Apskatiet savus pārdošanas rezultātus, visbiežāk izmantotās maksājumu metodes un daudz ko citu."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Īpašais piedāvājums"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Sūtiet Unisend pakas tikai par 1,30 € + PVN līdz oktobrim!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Izsekošanas lapa"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Izveidojiet bezmaksas izsekošanas lapu ar savu logotipu, lai uzlabotu klientu pieredzi."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Izmēģināt šīs funkcijas tagad!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Ievadiet vismaz 3 simbolus, lai meklētu..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Meklē pakomātus..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Neizdevās ielādēt pakomātu sarakstu. Lūdzu, mēģiniet vēlreiz."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Nav atrasti pakomāti"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lv_LV-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Loading pickup points...":["Iel\u0101d\u0113 pakom\u0101tu izv\u0113lni..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"lv","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["Pakom\u0101ts"],"Please select a pickup point":["L\u016bdzu izv\u0113l\u0113ties pakom\u0101tu"],"Type at least 3 characters to search...":["Ievadiet vismaz 3 simbolus, lai mekl\u0113tu..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-lv_LV.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr ""
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Lūdzu izvēlēties pakomātu"
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Lūdzu izvēlēties pakomātu"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
    1474 #: montonio.php:348
     1473#: montonio.php:341
    14751474msgid "Start using Montonio"
    14761475msgstr "Sāciet lietot Montonio"
    14771476
    1478 #: montonio.php:350
     1477#: montonio.php:343
    14791478msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14801479msgstr "Jūs neesat ievadījis Live API atslēgas Montonio maksājumu modulī."
    14811480
    14821481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1483 #: montonio.php:355
     1482#: montonio.php:348
    14841483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14851484msgstr "%1$sNoklikšķiniet šeit%2$s, lai ievadītu savas Live API atslēgas un sāktu lietot Montonio."
    14861485
    1487 #: montonio.php:362
     1486#: montonio.php:355
    14881487msgid "Need help?"
    14891488msgstr "Nepieciešama palīdzība?"
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr "Kā aktivizēt Montonio maksājumu metodes"
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr "Analītikas dati ir atgriezušies!"
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr "Apskatiet savus pārdošanas rezultātus, visbiežāk izmantotās maksājumu metodes un daudz ko citu."
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr "Īpašais piedāvājums"
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr "Sūtiet Unisend pakas tikai par 1,30 € + PVN līdz oktobrim!"
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr "Izsekošanas lapa"
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr "Izveidojiet bezmaksas izsekošanas lapu ar savu logotipu, lai uzlabotu klientu pieredzi."
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr "Izmēģināt šīs funkcijas tagad!"
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Ievadiet vismaz 3 simbolus, lai meklētu..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Meklē pakomātus..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Neizdevās ielādēt pakomātu sarakstu. Lūdzu, mēģiniet vēlreiz."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Nav atrasti pakomāti"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-pl_PL-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"pl_PL","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);"},"Pickup point":[""],"Select a pickup point":[""],"Please select a pickup point":["Wybierz punkt odbioru"],"Loading pickup points...":["Wczytywanie punkt\u00f3w odbioru..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"pl_PL","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);"},"Pickup point":[""],"Please select a pickup point":["Wybierz punkt odbioru"],"Type at least 3 characters to search...":["Wpisz co najmniej 3 znaki \u017ceby wyszuka\u0107..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-pl_PL.po

    r3351222 r3366299  
    6767msgstr ""
    6868
    69 #: montonio.php:241
     69#: montonio.php:233
    7070msgid "Settings"
    7171msgstr ""
     
    243243
    244244#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    245 #: includes/shipping/class-wc-montonio-shipping.php:276
     245#: includes/shipping/class-wc-montonio-shipping.php:318
    246246msgid "Track your shipment:"
    247247msgstr ""
     
    297297msgstr ""
    298298
    299 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     299#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    300300msgid "Please select a pickup point."
    301301msgstr ""
    302302
    303 #: includes/shipping/class-wc-montonio-shipping.php:170
     303#: includes/shipping/class-wc-montonio-shipping.php:213
    304304msgid "Please add Montonio API keys!"
    305305msgstr ""
    306306
    307 #: includes/shipping/class-wc-montonio-shipping.php:249
     307#: includes/shipping/class-wc-montonio-shipping.php:291
    308308msgid "Montonio Shipping: Pickup point sync successful!"
    309309msgstr ""
     
    314314#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    315315#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    316 #: includes/shipping/class-wc-montonio-shipping.php:252
     316#: includes/shipping/class-wc-montonio-shipping.php:294
    317317msgid "Montonio API response: "
    318318msgstr ""
     
    480480#: templates/admin-order-shipping-panel.php:43
    481481#: templates/shipping-pickup-points-dropdown.php:11
     482#: templates/shipping-pickup-points-search.php:9
    482483#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    483484#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    865866
    866867#: templates/shipping-pickup-points-dropdown.php:14
    867 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    868868#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    869869msgid "Select a pickup point"
     
    978978msgstr "Wybierz punkt odbioru"
    979979
    980 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    981980#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    982981msgid "Loading pickup points..."
     
    1000999msgstr ""
    10011000
    1002 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     1001#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10031002msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10041003msgstr ""
     
    14751474msgstr ""
    14761475
    1477 #: montonio.php:348
     1476#: montonio.php:341
    14781477msgid "Start using Montonio"
    14791478msgstr "Rozpocznij korzystanie z Montonio"
    14801479
    1481 #: montonio.php:350
     1480#: montonio.php:343
    14821481msgid "You haven't entered the Live API keys for the Montonio Payments module."
    14831482msgstr "Nie wprowadzono jeszcze kluczy API Live dla wtyczki płatności Montonio."
    14841483
    14851484#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    1486 #: montonio.php:355
     1485#: montonio.php:348
    14871486msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    14881487msgstr "%1$sKliknij tutaj%2$s, aby dodać klucze API live i rozpocząć korzystanie z Montonio."
    14891488
    1490 #: montonio.php:362
     1489#: montonio.php:355
    14911490msgid "Need help?"
    14921491msgstr "Potrzebujesz pomocy?"
     
    15121511msgstr ""
    15131512
    1514 #: montonio.php:364
     1513#: montonio.php:357
    15151514msgid "How to activate Montonio payment methods"
    15161515msgstr ""
     
    15181517""
    15191518
    1520 #: includes/admin/class-wc-montonio-banners.php:134
     1519#: includes/admin/class-wc-montonio-banners.php:130
    15211520msgid "Analytics are back!"
    15221521msgstr ""
    15231522
    1524 #: includes/admin/class-wc-montonio-banners.php:135
     1523#: includes/admin/class-wc-montonio-banners.php:131
    15251524msgid "Check your sales volumes, most used payment methods & more."
    15261525msgstr ""
    15271526
    1528 #: includes/admin/class-wc-montonio-banners.php:143
     1527#: includes/admin/class-wc-montonio-banners.php:139
    15291528msgid "Limited time offer"
    15301529msgstr ""
    15311530
    1532 #: includes/admin/class-wc-montonio-banners.php:144
     1531#: includes/admin/class-wc-montonio-banners.php:140
    15331532msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15341533msgstr ""
    15351534
    1536 #: includes/admin/class-wc-montonio-banners.php:150
     1535#: includes/admin/class-wc-montonio-banners.php:146
    15371536msgid "Tracking page"
    15381537msgstr ""
    15391538
    1540 #: includes/admin/class-wc-montonio-banners.php:151
     1539#: includes/admin/class-wc-montonio-banners.php:147
    15411540msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15421541msgstr ""
    15431542
    1544 #: includes/admin/class-wc-montonio-banners.php:156
     1543#: includes/admin/class-wc-montonio-banners.php:152
    15451544msgid "Try these features out"
    15461545msgstr ""
     
    16061605msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16071606msgstr ""
     1607
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1609msgid "Montonio Inpost parcel machines"
     1610msgstr ""
     1611
     1612#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1613#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1614#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1615msgid "Inpost parcel machines"
     1616msgstr ""
     1617
     1618#: templates/shipping-pickup-points-search.php:17
     1619#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1620msgid "Type at least 3 characters to search..."
     1621msgstr "Wpisz co najmniej 3 znaki żeby wyszukać..."
     1622
     1623#: includes/shipping/class-wc-montonio-shipping.php:98
     1624msgid "Searching pickup points..."
     1625msgstr "Wyszukiwanie punktów odbioru..."
     1626
     1627#: includes/shipping/class-wc-montonio-shipping.php:99
     1628msgid "Failed to load pickup points. Please try again."
     1629msgstr "Nie udało się wyświetlić punktów odbioru. Spróbuj jeszcze raz."
     1630
     1631#: includes/shipping/class-wc-montonio-shipping.php:100
     1632msgid "No pickup points found"
     1633msgstr "Nie znaleziono punktów odbioru"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-ru_RU-2642245edf79c72357f1be12eb3952ab.json

    r3234027 r3366299  
    1 {"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ru","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["\u041f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Please select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Loading pickup points...":["\u041f\u0443\u043d\u043a\u0442\u044b \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f..."]}}}
     1{"translation-revision-date":"2024-07-11 16:10+0300","generator":"WP-CLI\/2.11.0","source":"blocks\/build\/wc-montonio-shipping-dropdown\/view.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ru","plural-forms":"nplurals=2; plural=(n != 1);"},"Pickup point":["\u041f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Please select a pickup point":["\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438"],"Type at least 3 characters to search...":["\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 3 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430..."]}}}
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce-ru_RU.po

    r3351222 r3366299  
    6666msgstr ""
    6767
    68 #: montonio.php:241
     68#: montonio.php:233
    6969msgid "Settings"
    7070msgstr ""
     
    242242
    243243#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    244 #: includes/shipping/class-wc-montonio-shipping.php:276
     244#: includes/shipping/class-wc-montonio-shipping.php:318
    245245msgid "Track your shipment:"
    246246msgstr "Отслеживай доставку:"
     
    296296msgstr ""
    297297
    298 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     298#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    299299msgid "Please select a pickup point."
    300300msgstr "Пожалуйста выберите способ доставки."
    301301
    302 #: includes/shipping/class-wc-montonio-shipping.php:170
     302#: includes/shipping/class-wc-montonio-shipping.php:213
    303303msgid "Please add Montonio API keys!"
    304304msgstr ""
    305305
    306 #: includes/shipping/class-wc-montonio-shipping.php:249
     306#: includes/shipping/class-wc-montonio-shipping.php:291
    307307msgid "Montonio Shipping: Pickup point sync successful!"
    308308msgstr ""
     
    313313#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    314314#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    315 #: includes/shipping/class-wc-montonio-shipping.php:252
     315#: includes/shipping/class-wc-montonio-shipping.php:294
    316316msgid "Montonio API response: "
    317317msgstr ""
     
    479479#: templates/admin-order-shipping-panel.php:43
    480480#: templates/shipping-pickup-points-dropdown.php:11
     481#: templates/shipping-pickup-points-search.php:9
    481482#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    482483#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    864865
    865866#: templates/shipping-pickup-points-dropdown.php:14
    866 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    867867#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    868868msgid "Select a pickup point"
     
    976976msgstr "Пожалуйста, выберите пункт доставки"
    977977
    978 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    979978#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    980979msgid "Loading pickup points..."
     
    998997msgstr ""
    999998
    1000 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     999#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    10011000msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    10021001msgstr ""
     
    14721471msgstr ""
    14731472
     1473#: montonio.php:341
     1474msgid "Start using Montonio"
     1475msgstr ""
     1476
     1477#: montonio.php:343
     1478msgid "You haven't entered the Live API keys for the Montonio Payments module."
     1479msgstr ""
     1480
     1481#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    14741482#: montonio.php:348
    1475 msgid "Start using Montonio"
    1476 msgstr ""
    1477 
    1478 #: montonio.php:350
    1479 msgid "You haven't entered the Live API keys for the Montonio Payments module."
    1480 msgstr ""
    1481 
    1482 #. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
     1483msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
     1484msgstr ""
     1485
    14831486#: montonio.php:355
    1484 msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    1485 msgstr ""
    1486 
    1487 #: montonio.php:362
    14881487msgid "Need help?"
    14891488msgstr ""
     
    15091508msgstr ""
    15101509
    1511 #: montonio.php:364
     1510#: montonio.php:357
    15121511msgid "How to activate Montonio payment methods"
    15131512msgstr ""
    15141513
    1515 #: includes/admin/class-wc-montonio-banners.php:134
     1514#: includes/admin/class-wc-montonio-banners.php:130
    15161515msgid "Analytics are back!"
    15171516msgstr ""
    15181517
    1519 #: includes/admin/class-wc-montonio-banners.php:135
     1518#: includes/admin/class-wc-montonio-banners.php:131
    15201519msgid "Check your sales volumes, most used payment methods & more."
    15211520msgstr ""
    15221521
    1523 #: includes/admin/class-wc-montonio-banners.php:143
     1522#: includes/admin/class-wc-montonio-banners.php:139
    15241523msgid "Limited time offer"
    15251524msgstr ""
    15261525
    1527 #: includes/admin/class-wc-montonio-banners.php:144
     1526#: includes/admin/class-wc-montonio-banners.php:140
    15281527msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    15291528msgstr ""
    15301529
    1531 #: includes/admin/class-wc-montonio-banners.php:150
     1530#: includes/admin/class-wc-montonio-banners.php:146
    15321531msgid "Tracking page"
    15331532msgstr ""
    15341533
    1535 #: includes/admin/class-wc-montonio-banners.php:151
     1534#: includes/admin/class-wc-montonio-banners.php:147
    15361535msgid "Set up a free tracking page with your logo to enrich your customer experience."
    15371536msgstr ""
    15381537
    1539 #: includes/admin/class-wc-montonio-banners.php:156
     1538#: includes/admin/class-wc-montonio-banners.php:152
    15401539msgid "Try these features out"
    15411540msgstr ""
     
    16011600msgid "Set where the loan calculator appears by entering WooCommerce hooks.<br />Separate multiple hooks with commas (e.g., my_hook_1, my_hook_2).<br />See <a href=\"https://docs.woocommerce.com/wc-apidocs/hook-docs.html\" target=\"_blank\">WooCommerce hook docs</a> for reference.<br /><br />Or use the shortcode <code>[montonio_calculator]</code> with the optional attribute product_id=\"123\" to display the calculator for a specific product."
    16021601msgstr ""
     1602
     1603#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1604msgid "Montonio Inpost parcel machines"
     1605msgstr ""
     1606
     1607#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1608#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1609#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1610msgid "Inpost parcel machines"
     1611msgstr ""
     1612
     1613#: templates/shipping-pickup-points-search.php:17
     1614#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1615msgid "Type at least 3 characters to search..."
     1616msgstr "Введите минимум 3 символа для поиска..."
     1617
     1618#: includes/shipping/class-wc-montonio-shipping.php:98
     1619msgid "Searching pickup points..."
     1620msgstr "Поиск пунктов доставки..."
     1621
     1622#: includes/shipping/class-wc-montonio-shipping.php:99
     1623msgid "Failed to load pickup points. Please try again."
     1624msgstr "Не удалось загрузить пункты доставки. Пожалуйста, попробуйте ещё раз."
     1625
     1626#: includes/shipping/class-wc-montonio-shipping.php:100
     1627msgid "No pickup points found"
     1628msgstr "Пункты доставки не найдены"
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce.pot

    r3351222 r3366299  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Montonio for WooCommerce 9.1.0\n"
     5"Project-Id-Version: Montonio for WooCommerce 9.1.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/montonio-for-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-08-27T11:58:29+00:00\n"
     12"POT-Creation-Date: 2025-09-23T08:10:52+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    238238msgstr ""
    239239
    240 #: includes/admin/class-wc-montonio-banners.php:134
     240#: includes/admin/class-wc-montonio-banners.php:130
    241241msgid "Analytics are back!"
    242242msgstr ""
    243243
    244 #: includes/admin/class-wc-montonio-banners.php:135
     244#: includes/admin/class-wc-montonio-banners.php:131
    245245msgid "Check your sales volumes, most used payment methods & more."
    246246msgstr ""
    247247
    248 #: includes/admin/class-wc-montonio-banners.php:143
     248#: includes/admin/class-wc-montonio-banners.php:139
    249249msgid "Limited time offer"
    250250msgstr ""
    251251
    252 #: includes/admin/class-wc-montonio-banners.php:144
     252#: includes/admin/class-wc-montonio-banners.php:140
    253253msgid "Send Unisend parcels with only 1.3€ + VAT until October!"
    254254msgstr ""
    255255
    256 #: includes/admin/class-wc-montonio-banners.php:150
     256#: includes/admin/class-wc-montonio-banners.php:146
    257257msgid "Tracking page"
    258258msgstr ""
    259259
    260 #: includes/admin/class-wc-montonio-banners.php:151
     260#: includes/admin/class-wc-montonio-banners.php:147
    261261msgid "Set up a free tracking page with your logo to enrich your customer experience."
    262262msgstr ""
    263263
    264 #: includes/admin/class-wc-montonio-banners.php:156
     264#: includes/admin/class-wc-montonio-banners.php:152
    265265msgid "Try these features out"
    266266msgstr ""
     
    574574#: includes/payment/payment-methods/class-wc-montonio-hire-purchase.php:256
    575575#: includes/payment/payment-methods/class-wc-montonio-payments.php:313
    576 #: includes/shipping/class-wc-montonio-shipping.php:252
     576#: includes/shipping/class-wc-montonio-shipping.php:294
    577577msgid "Montonio API response: "
    578578msgstr ""
     
    851851msgstr ""
    852852
    853 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:134
     853#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:121
    854854msgid "Please select a pickup point."
    855855msgstr ""
    856856
    857 #: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:141
     857#: includes/shipping/checkout/class-wc-montonio-shipping-classic-checkout.php:128
    858858msgid "Selected pickup point carrier does not match the selected shipping method. Please refresh the page and try again."
    859859msgstr ""
     
    10381038
    10391039#: includes/shipping/class-wc-montonio-shipping-settings.php:108
    1040 #: includes/shipping/class-wc-montonio-shipping.php:276
     1040#: includes/shipping/class-wc-montonio-shipping.php:318
    10411041msgid "Track your shipment:"
    10421042msgstr ""
     
    10781078msgstr ""
    10791079
    1080 #: includes/shipping/class-wc-montonio-shipping.php:170
     1080#: includes/shipping/class-wc-montonio-shipping.php:98
     1081msgid "Searching pickup points..."
     1082msgstr ""
     1083
     1084#: includes/shipping/class-wc-montonio-shipping.php:99
     1085msgid "Failed to load pickup points. Please try again."
     1086msgstr ""
     1087
     1088#: includes/shipping/class-wc-montonio-shipping.php:100
     1089msgid "No pickup points found"
     1090msgstr ""
     1091
     1092#: includes/shipping/class-wc-montonio-shipping.php:213
    10811093msgid "Please add Montonio API keys!"
    10821094msgstr ""
    10831095
    1084 #: includes/shipping/class-wc-montonio-shipping.php:249
     1096#: includes/shipping/class-wc-montonio-shipping.php:291
    10851097msgid "Montonio Shipping: Pickup point sync successful!"
    10861098msgstr ""
     
    11281140msgstr ""
    11291141
     1142#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:17
     1143msgid "Montonio Inpost parcel machines"
     1144msgstr ""
     1145
     1146#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:18
     1147#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:28
     1148#: includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php:31
     1149msgid "Inpost parcel machines"
     1150msgstr ""
     1151
    11301152#: includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php:15
    11311153msgid "Montonio Latvijas Pasts courier"
     
    14211443msgstr ""
    14221444
    1423 #: montonio.php:241
     1445#: montonio.php:233
    14241446msgid "Settings"
    14251447msgstr ""
    14261448
     1449#: montonio.php:341
     1450msgid "Start using Montonio"
     1451msgstr ""
     1452
     1453#: montonio.php:343
     1454msgid "You haven't entered the Live API keys for the Montonio Payments module."
     1455msgstr ""
     1456
     1457#. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
    14271458#: montonio.php:348
    1428 msgid "Start using Montonio"
    1429 msgstr ""
    1430 
    1431 #: montonio.php:350
    1432 msgid "You haven't entered the Live API keys for the Montonio Payments module."
    1433 msgstr ""
    1434 
    1435 #. translators: 1) HTML anchor open tag 2) HTML anchor closing tag
     1459msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
     1460msgstr ""
     1461
    14361462#: montonio.php:355
    1437 msgid "%1$sClick here%2$s to enter your Live API keys and start using Montonio."
    1438 msgstr ""
    1439 
    1440 #: montonio.php:362
    14411463msgid "Need help?"
    14421464msgstr ""
    14431465
    1444 #: montonio.php:364
     1466#: montonio.php:357
    14451467msgid "How to activate Montonio payment methods"
    14461468msgstr ""
     
    14481470#: templates/admin-order-shipping-panel.php:43
    14491471#: templates/shipping-pickup-points-dropdown.php:11
     1472#: templates/shipping-pickup-points-search.php:9
    14501473#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    14511474#: blocks/src/wc-montonio-shipping-dropdown/view.js:217
     
    14981521
    14991522#: templates/shipping-pickup-points-dropdown.php:14
    1500 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    15011523#: blocks/src/wc-montonio-shipping-dropdown/view.js:198
    15021524msgid "Select a pickup point"
     1525msgstr ""
     1526
     1527#: templates/shipping-pickup-points-search.php:17
     1528#: blocks/build/wc-montonio-shipping-dropdown/view.js:1
     1529msgid "Type at least 3 characters to search..."
    15031530msgstr ""
    15041531
     
    15901617msgstr ""
    15911618
    1592 #: blocks/build/wc-montonio-shipping-dropdown/view.js:1
    15931619#: blocks/src/wc-montonio-shipping-dropdown/view.js:220
    15941620msgid "Loading pickup points..."
  • montonio-for-woocommerce/trunk/montonio.php

    r3351222 r3366299  
    44 * Plugin URI:        https://www.montonio.com
    55 * Description:       All-in-one plug & play checkout solution
    6  * Version:           9.1.0
     6 * Version:           9.1.1
    77 * Author:            Montonio
    88 * Author URI:        https://www.montonio.com
     
    2121}
    2222
    23 define( 'WC_MONTONIO_PLUGIN_VERSION', '9.1.0' );
     23define( 'WC_MONTONIO_PLUGIN_VERSION', '9.1.1' );
    2424define( 'WC_MONTONIO_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    2525define( 'WC_MONTONIO_PLUGIN_PATH', dirname( __FILE__ ) );
     
    128128                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/dpd/class-montonio-dpd-parcel-shops.php';
    129129                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/dpd/class-montonio-dpd-courier.php';
    130 
    131130                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-parcel-machines.php';
    132131                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-post-offices.php';
    133132                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/smartpost/class-montonio-smartpost-courier.php';
    134 
    135133                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-parcel-machines.php';
    136134                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-post-offices.php';
    137135                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/omniva/class-montonio-omniva-courier.php';
    138 
    139136                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-machines.php';
    140137                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-parcel-shops.php';
    141138                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/venipak/class-montonio-venipak-courier.php';
    142 
    143139                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/unisend/class-montonio-unisend-parcel-machines.php';
    144 
    145140                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-parcel-machines.php';
    146141                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/latvian-post/class-montonio-latvian-post-courier.php';
     142                require_once WC_MONTONIO_PLUGIN_PATH . '/includes/shipping/shipping-methods/inpost/class-montonio-inpost-parcel-machines.php';
    147143
    148144                add_filter( 'woocommerce_shipping_methods', array( $this, 'add_shipping_methods' ) );
     
    205201         */
    206202        public function add_shipping_methods( $methods ) {
    207             $methods['montonio_omniva_parcel_machines'] = 'Montonio_Omniva_Parcel_Machines';
    208             $methods['montonio_omniva_post_offices']    = 'Montonio_Omniva_Post_Offices';
    209             $methods['montonio_omniva_courier']         = 'Montonio_Omniva_Courier';
    210 
    211             $methods['montonio_dpd_parcel_machines'] = 'Montonio_DPD_Parcel_Machines';
    212             $methods['montonio_dpd_parcel_shops']    = 'Montonio_DPD_Parcel_Shops';
    213             $methods['montonio_dpd_courier']         = 'Montonio_DPD_Courier';
    214 
    215             $methods['montonio_venipak_parcel_machines'] = 'Montonio_Venipak_Parcel_Machines';
    216             $methods['montonio_venipak_post_offices']    = 'Montonio_Venipak_Parcel_Shops';
    217             $methods['montonio_venipak_courier']         = 'Montonio_Venipak_Courier';
    218 
    219             $methods['montonio_itella_parcel_machines'] = 'Montonio_Smartpost_Parcel_Machines';
    220             $methods['montonio_itella_post_offices']    = 'Montonio_Smartpost_Post_Offices';
    221             $methods['montonio_itella_courier']         = 'Montonio_Smartpost_Courier';
    222 
    223             $methods['montonio_unisend_parcel_machines'] = 'Montonio_Unisend_Parcel_Machines';
    224 
     203            $methods['montonio_omniva_parcel_machines']       = 'Montonio_Omniva_Parcel_Machines';
     204            $methods['montonio_omniva_post_offices']          = 'Montonio_Omniva_Post_Offices';
     205            $methods['montonio_omniva_courier']               = 'Montonio_Omniva_Courier';
     206            $methods['montonio_dpd_parcel_machines']          = 'Montonio_DPD_Parcel_Machines';
     207            $methods['montonio_dpd_parcel_shops']             = 'Montonio_DPD_Parcel_Shops';
     208            $methods['montonio_dpd_courier']                  = 'Montonio_DPD_Courier';
     209            $methods['montonio_venipak_parcel_machines']      = 'Montonio_Venipak_Parcel_Machines';
     210            $methods['montonio_venipak_post_offices']         = 'Montonio_Venipak_Parcel_Shops';
     211            $methods['montonio_venipak_courier']              = 'Montonio_Venipak_Courier';
     212            $methods['montonio_itella_parcel_machines']       = 'Montonio_Smartpost_Parcel_Machines';
     213            $methods['montonio_itella_post_offices']          = 'Montonio_Smartpost_Post_Offices';
     214            $methods['montonio_itella_courier']               = 'Montonio_Smartpost_Courier';
     215            $methods['montonio_unisend_parcel_machines']      = 'Montonio_Unisend_Parcel_Machines';
    225216            $methods['montonio_latvian_post_parcel_machines'] = 'Montonio_Latvian_Post_Parcel_Machines';
    226217            $methods['montonio_latvian_post_courier']         = 'Montonio_Latvian_Post_Courier';
     218            $methods['montonio_inpost_parcel_machines']       = 'Montonio_Inpost_Parcel_Machines';
    227219
    228220            return $methods;
     
    276268            wp_register_script( 'montonio-embedded-card', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-embedded-card.js', array( 'jquery', 'montonio-js' ), WC_MONTONIO_PLUGIN_VERSION, true );
    277269            wp_register_script( 'montonio-shipping-pickup-points', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points.js', array( 'jquery', 'montonio-js-legacy' ), WC_MONTONIO_PLUGIN_VERSION, true );
     270            wp_register_script( 'montonio-shipping-pickup-points-search', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points-search.js', array( 'jquery' ), WC_MONTONIO_PLUGIN_VERSION, true );
    278271            wp_register_script( 'montonio-shipping-pickup-points-legacy', WC_MONTONIO_PLUGIN_URL . '/assets/js/montonio-shipping-pickup-points-legacy.js', array( 'selectWoo' ), WC_MONTONIO_PLUGIN_VERSION, true );
    279272
     
    351344                            <br>
    352345                            <?php
    353                                 printf(
    354                                     /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
    355                                     esc_html__( '%1$sClick here%2$s to enter your Live API keys and start using Montonio.', 'montonio-for-woocommerce' ),
    356                                     '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=checkout&section=wc_montonio_api' ) ) . '">',
    357                                     '</a>'
    358                                 );
    359                             ?>
     346printf(
     347                /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
     348                esc_html__( '%1$sClick here%2$s to enter your Live API keys and start using Montonio.', 'montonio-for-woocommerce' ),
     349                '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=checkout&section=wc_montonio_api' ) ) . '">',
     350                '</a>'
     351            );
     352            ?>
    360353                        </p>
    361354
     
    367360                </div>
    368361            <?php
    369             endif;
     362endif;
    370363        }
    371364    }
  • montonio-for-woocommerce/trunk/readme.txt

    r3351222 r3366299  
    11=== Montonio for WooCommerce ===
    2 Version: 9.1.0
     2Version: 9.1.1
    33Date: 2019-09-04
    44Contributors: Montonio
     
    66Requires at least: 5.0
    77Tested up to: 6.8
    8 Stable tag: 9.1.0
     8Stable tag: 9.1.1
    99Requires PHP: 7.0
    1010Minimum requirements: WooCommerce 3.2 or greater
     
    137137
    138138== Changelog ==
     139= 9.1.1 =
     140* Added – InPost shipping method
     141* Added – New pickup-point search and selection dropdown
     142* Tweak – Sync pickup-points by carrier instead of country for better performance
     143* Fix – Users without certain admin permissions could not dismiss the info banner
     144
    139145= 9.1.0 =
    140146* Added – Integration of new card payment processor flow
  • montonio-for-woocommerce/trunk/templates/shipping-pickup-points-dropdown.php

    r3270541 r3366299  
    1919                        <?php echo esc_html( $item['name'] ); ?>
    2020
    21                         <?php if ( $include_address === 'yes' && ! empty( trim( $item['address'] ) ) ) {
     21                        <?php if ( $include_address !== 'no' && ! empty( trim( $item['address'] ) ) ) {
    2222                            echo ' - ' . esc_html( $item['address'] ) . ', ' . esc_attr( $locality );
    2323                        } ?>
Note: See TracChangeset for help on using the changeset viewer.