Wartin Posted June 13, 2020 Share Posted June 13, 2020 Hello. Is it normal that every time I change some configuration in one carrier it changes its ID?. I've just edited one to change it's title and now its ID is 41, not 40 as before editing. TB 1.1.x here. Thanks Link to comment Share on other sites More sharing options...
0 yaniv14 Posted June 14, 2020 Share Posted June 14, 2020 It is normal tb/ps behavior because orders are tied to carrier_id and if you change carrier info (like tracking link) and want to look at old order than you can get the carrier info from that time. I really ate this behavior because I believe that the only thing matters in orders are the shipping price and this part already being saved in the order table. 3 Link to comment Share on other sites More sharing options...
0 toplakd Posted March 28, 2021 Share Posted March 28, 2021 Pushing up old thread. Is there a way to make override for this, so after editing the current carrier would be updated and preserving same ID. Link to comment Share on other sites More sharing options...
0 datakick Posted March 28, 2021 Share Posted March 28, 2021 Why? Really, I mean why are you bother with something like this? 1 Link to comment Share on other sites More sharing options...
0 toplakd Posted March 28, 2021 Share Posted March 28, 2021 Well, it might be my OCD maybe 😂 🤣 2 Link to comment Share on other sites More sharing options...
0 datakick Posted March 28, 2021 Share Posted March 28, 2021 3 hours ago, toplakd said: Well, it might be my OCD maybe 😂 🤣 I thought so 🙂 Yeah, it is irritating. But it does not hurt that much, database can take it. If we "fixed" this, who knows what would break. @yaniv14 is right -- the most important information is stored inside order/invoice tables anyway, so it would probably work fine. But there might be some corner cases when it would break things -- refunds, third party modules, etc... 1 Link to comment Share on other sites More sharing options...
Question
Wartin
Hello.
Is it normal that every time I change some configuration in one carrier it changes its ID?. I've just edited one to change it's title and now its ID is 41, not 40 as before editing.
TB 1.1.x here.
Thanks
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now