ajax for shop and item create pages