added total price function on stacks page
fix price calculator bug on stacks page