Examples of Working With Custom Carts

Example 1

Allowing a user to purchase an item that does not exist in Moltin

Example item:

"name": "Black t-shirt with dragon","sku": "123029123","description": "This is a custom made t-shirt","quantity": 1,"price": "amount": 10000




Example 2

User is in Newcastle, UK and wishes to buy a shirt from Boston, US. This is going to cost more than what was originally accounted for in shipping fees.

Example item:

"name": "Black t-shirt with dragon","sku": "123029123","description": "This is a custom made t-shirt","quantity": 1,"price": "amount": 10000




Example 3

User is in Boston wants to buy a bottle of wine from your California vineyard. You need to collect 7.25% tax on the order.

Example item:

"name": "CA Tax","sku": "9238091","description": "TAX from CA to ship out of state.","quantity": 1,"price": "amount": 152500




Try your own item

This can be used when the product does not exsist in Moltin





Add Tax

test taxes service