Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
1

You cannot directly manipulate the order total like this, as it gets recalculated based on its line items' prices each cart refresh. (That happens on every pageload in checkout and however you've configured it for other routes.) You should look into the Commerce Multicurrency module instead or else configure your pricing rules / otherwise hook into product ...


Only top voted, non community-wiki answers of a minimum length are eligible