feature #5157 clean code
feature #5157 check basket media type and display warning message in basket view
fixing merge conflict about MediaMimeType