This add-on shows a hint in the cart if the cart contains a free product for which the user already has a license.
- Compatible XF Versions:
- Additional Requirements:
- Xen Product Manager
- Visible Branding:
I developed this add-on for my webshop as I noticed that about 1/4 of the users of one of my free products have more than one license for this product. Now the vast majority of these users have an active and an inactive license for this product and the others have stated the same URL for both licenses. That means 25% of the licenses are actually redundant.
To help to prevent such dupe licenses the add-on shows a hint on the cart page if the following two conditions are met:
The hint contains a link to (one of) the corresponding (active) licenses or to the „Inactive Licenses“ tab if there are only inactive licenses.
- there is exactly one free item in the cart
- the user has an (in)active license for the corresponding product
There is an phrase prefived with „awedo“ that contains the content of the hint. You can also style the hint with CSS. The id for div that includes the hint is „dupeLicenseHint“.