Skip to content

Commit 9cd3fe5

Browse files
committed
upd
1 parent 991e2c6 commit 9cd3fe5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Components/ChronopostLimpet.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public void UpdateShippingCost()
3434
if (ChronofreshOnly)
3535
{
3636
SelectedProductCode = "2R";
37+
CartInfo.SetXmlProperty("genxml/pickuppointref", "");
38+
CartInfo.SetXmlProperty("genxml/pickuppointaddr", "");
3739
}
3840
else
3941
{
@@ -44,6 +46,11 @@ public void UpdateShippingCost()
4446
SelectedProductCode = ProductCodeList().First().Key;
4547
}
4648
}
49+
if (SelectedProductCode != "86") // if not Relais, clear previous value.
50+
{
51+
CartInfo.SetXmlProperty("genxml/pickuppointref", "");
52+
CartInfo.SetXmlProperty("genxml/pickuppointaddr", "");
53+
}
4754
}
4855

4956

0 commit comments

Comments
 (0)