Skip to content

Commit

Permalink
fix: clarify texts regarding mailbox settings (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen authored and EdieLemoine committed Feb 2, 2023
1 parent e6a4cc1 commit 8d33bd9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,15 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
$this->replaceDisableCheckout->writeNewAttributeEntity();
}

if (version_compare($context->getVersion(), '4.8.2', '<')) {
$eavSetup->updateAttribute(
Product::ENTITY,
'myparcel_fit_in_mailbox',
'note',
'Fill in the amount of products that fit in a mailbox package. Set to 0 to automatically calculate based on weight. Regardless of this setting, the product will always be sent as a package if the weight is too high.'
);
}

$setup->endSetup();
}
}
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
</field>
<field id="weight" translate="label comment" type="text" sortOrder="360" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Mailbox weight</label>
<tooltip>Besides assigning weights to all products, you can also specify a volume of each product.</tooltip>
<tooltip>To use this optimally, set a weight or 'Fit in mailbox' volume of each product. Regardless, shipments heavier than the weight specified here will not be mailbox.</tooltip>
<depends>
<field id="active">1</field>
</depends>
Expand Down
2 changes: 1 addition & 1 deletion i18n/fr_FR.csv
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Signature on receipt title, Signature pour réception - titre
Signature on receipt fee, Signature pour réception - prix
This will be added to the regular shipping price, Ceci sera ajouté aux frais d'expédition standards
If both have been selected this price will be added to the regular shipping price. Leave empty for not using it.,Si les deux éléments sont sélectionnés, ce prix sera ajouté aux frais d'expédition standards. Laissez vide pour ignorer cette option.
"Besides assigning weights to all products, you can also specify a volume of each product.","Pour utiliser cette fonction de manière optimale, spécifiez d'abord le poids ou le volume de vos produits."
"To use this optimally, set a weight or 'Fit in mailbox' volume of each product. Regardless, shipments heavier than the weight specified here will not be mailbox.","Pour utiliser cette fonction de manière optimale, spécifiez d'abord le poids ou le volume de vos produits. Les envois plus lourds que le poids spécifié ici ne seront pas considérés comme des envois pour Boîte aux lettres."
This will be added to the regular shipping price,Ceci sera ajouté aux frais d'expédition standards
Pickup at PostNL location,Collecte dans un point postnl
Pickup active,Collecte active
Expand Down
4 changes: 3 additions & 1 deletion i18n/nl_NL.csv
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ Dropoff-delay,Vertraging
No delay,Geen vertraging
"This options allows you to set the number of days it takes you to pick, pack and hand in your parcels at PostNL when ordered before the cutoff time.","Stel hier het aantal dagen in die je nodig hebt om het product (te ontvangen,) te verpakken en aan te bieden bij PostNL, vanaf het moment dat de bestelling is geplaatst".
The age check is intended for parcel shipments for which the recipient must show 18+ by means of a proof of identity. This option can't be combined with morning or evening delivery., De leeftijdscheck is bedoeld voor pakketzendingen waarbij de ontvanger moet kunnen aantonen dat hij/zij 18+ is. Deze optie kan niet worden gecombineerd met ochtend- of avondlevering.
HS Codes are used for MyParcel world shipments, you can find the appropriate code on the site of the Dutch Customs,HS Codes worden gebruikt voor MyParcel wereldzendingen, je kunt de juiste code vinden op de site van de Douane.
Fill in the amount of products that fit in a mailbox package. Set to 0 to automatically calculate based on weight. Regardless of this setting, the product will always be sent as a package if the weight is too high.,Vul het aantal producten in dat in een brievenbuspakket past. Stel in op 0 om automatisch te berekenen op basis van gewicht. Ongeacht deze instelling wordt het product altijd als pakket verzonden als het gewicht te hoog is.
Methods,Verzendmethode
The extra myparcel options are added to this shipping method,De extra myparcel opties worden bij deze verzendmethode toegevoegd.
Delivery title,Bezorg titel
Expand All @@ -177,7 +179,7 @@ Signature on receipt title, Handtekening voor ontvangst titel
Signature on receipt fee, Handtekening voor ontvangst prijs
This will be added to the regular shipping price, Dit zal bij de normale verzendkosten worden opgeteld
If both have been selected this price will be added to the regular shipping price. Leave empty for not using it.,Als beide geselecteerd zijn zal deze prijs bij de normale verzendkosten worden opgeteld. Laat leeg om dit niet te gebruiken.
"Besides assigning weights to all products, you can also specify a volume of each product.","Om deze functie optimaal te gebruiken, stel je eerst het gewicht of volume in van jouw producten."
"To use this optimally, set a weight or 'Fit in mailbox' volume of each product. Regardless, shipments heavier than the weight specified here will not be mailbox.","Om deze functie optimaal te gebruiken, stel je eerst het gewicht of volume in van jouw producten. Ongeacht deze instelling, zendingen zwaarder dan het hier opgegeven gewicht zullen niet als brievenbuspakket worden verzonden."
This will be added to the regular shipping price,Dit zal bij de normale verzendkosten worden opgeteld
Pickup at PostNL location,Ophalen bij een PostNL locatie
List,Lijst
Expand Down

0 comments on commit 8d33bd9

Please sign in to comment.