As title.
This criteria returns false if the user bought any physical products that didn't require a license.
I'd really appreciate if the fix could be hot-patched into the current build, as I would rather not wait until v4 (I'm using this criteria for onboarding) :s
This criteria returns false if the user bought any physical products that didn't require a license.
PHP:
if (isset($user->dbtech_ecommerce_license_count)
&& $user->dbtech_ecommerce_license_count >= 1
&& !empty($data['product_ids'])
&& $licenseRepo->findLicensesByUserAndProduct($user->user_id, $data['product_ids'])->total() >= 1
) {
$returnValue = true;
}
I'd really appreciate if the fix could be hot-patched into the current build, as I would rather not wait until v4 (I'm using this criteria for onboarding) :s