update ellipsis for product grid and list view