changes made to shopitems extend function