Updated shoppingcart and platformdata function