ESDEV-1532 bugfix for #5424 Product over the URL is accessible even if product is not assigned to the shop. Changed the behaviour so that the product would only be accessible from subshop when it does not have it assign is when shared basket is enabled. In other cases it acts as it was before #4536 fix.