# Country is reset after order is placed

**URL:** <https://forum.litium.com/t/country-is-reset-after-order-is-placed/3156>\
**Category:** Questions\
**Created:** [December 4, 2023, 8:05am UTC](https://forum.litium.com/t/country-is-reset-after-order-is-placed/3156 "2023-12-04T08:05:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.clettborn](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/adam.clettborn/32/956_2.png) [@adam.clettborn](https://forum.litium.com/u/adam.clettborn)\
**Post date:** [December 4, 2023, 8:05am UTC](https://forum.litium.com/t/country-is-reset-after-order-is-placed/3156/1 "2023-12-04T08:05:11Z")

</div>

After placing an order, the country that is selected for the cart context is reset to the first country for that channel. Where is this logic, and can we override it?

The same happens when restarting the server, the country is reset.  
Does **not** seem to be ControllerBase.

Litium version: 8.11.2

---

<div class="post-metadata">

**Author:** ![Martin.Brandt](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/martin.brandt/32/974_2.png) [@Martin.Brandt](https://forum.litium.com/u/Martin.Brandt)\
**Post date:** [December 5, 2023, 4:18pm UTC](https://forum.litium.com/t/country-is-reset-after-order-is-placed/3156/2 "2023-12-05T16:18:23Z")

</div>

Check if it might be CartContextDefaultFactoryDecorator that you are after. I’ve had to make my own decorator of that one to adjust certain things along those lines.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [January 2, 2024, 4:18pm UTC](https://forum.litium.com/t/country-is-reset-after-order-is-placed/3156/3 "2024-01-02T16:18:40Z")

</div>

Closed on January 2, 2024, 4:18pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
