Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How CustomShippingCalculator and all other custom calculators invoked in which all actions. It's always hitting on every TC API Methods .Any way to change that? For my scenario in need, it only when a form submit of delivery information
I'm not quite sure what you are asking, but I'm guessing you are only wanting to run a custom shipping calculator when you get to the shipping method stage?
Currently, all these events trigger when the order is saved so the whole order is recalculated again. If you need to know the stage of the order checkout, the best I could suggest would be to maybe store a "checkoutStage" property to your order so you know at what stage your checkout process it at and then only run your shipping calculator if you are on / after your checkout phase.
Hope that helps
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted