A Duplicates are allowed? B Duplicates are not allowed?

Problem modified from UNL Math Day with help from friedlinguini

(ii) If duplicates are not allowed, the required greatest possible product is 1008.

blackjack

flooble's webmaster puzzle