We are currently checking if all the
selected packages and bundles added to cart are in “published”
status along with “Show in website” turned on. So, with the addition of a new flag
“Enable Online Sales”, we should also consider this flag while
doing this check.
For the package/bundle to eligible for
purchase from the marketplace it must be in “Published” state and
both “Show in Website” and “Enable Online Sales” should be
turned on. If the above condition is “Yes”
then continue checking for other server-side validation that already
in place. If “No” then alert the user with the below message
against the respective package / bundle as it currently works.