I have the same problem. It’s really bad. Is there a fix for it?
I made a workaround (really bad but it works).
Add this code to your function.php and add a line for each product and it will forcibly set these values every time.
<?php
add_action("admin_footer", function() {
foreach([
//[product_id, tarif number, country of origin],
[1000, "AAAAAAAAAAA", "DE"], // Produkt 1
[1001, "AAAAAAAAAAA", "DE"], // Produkt 2
[1002, "AAAAAAAAAAA", "DE"], // Produkt 3
[1003, "AAAAAAAAAAA", "DE"], // Produkt 4
[1004, "AAAAAAAAAAA", "DE"], // Produkt 5
[1005, "AAAAAAAAAAA", "DE"], // Produkt 6
] as $produkt) {
$produkt_id = $produkt[0];
$zoll = $produkt[1];
$land = $produkt[2];
foreach(["_dhl_hs_code", "_hs_code"] as $feld) {
update_post_meta( $produkt_id , $feld, $zoll);
}
foreach(["_dhl_manufacture_country", "_manufacture_country"] as $feld) {
update_post_meta( $produkt_id , $feld, $land);
}
}
});