Manipulations with total in checkout

Solved
New Member
3 0 0

Hello,

 

Wanted to ask if there is any way to manipulate with a total block in checkout using API? For example, changing total cost? 

Thank you!

0 Likes
Shopify Expert
9938 80 1450

The total cost of an order is based on the line items, shipping, taxes, and any discounts applied.
What's the need for changing the price outside of those?

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
New Member
3 0 0

Hi @Jason,

 

Thanks for the reply.

I need to make changes for Tax in case if custom cookie was set (will be done by another js).

0 Likes
New Member
3 0 0

Hi @Jason,

 

Do you have any ideas regarding my previous comment? Please let me know.


Thank you!

0 Likes

Success.

Shopify Expert
9938 80 1450

You can't alter tax settings in that way. I'm still not sure what your specific use case is but if this is to set tax exemption you're able to set that on a customer level. Pinging another service and having the calculated tax change with the standard online checkout isn't going to possible.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes