fix modal show up isse using third party code
update
add calculate function in checkout page