- Compatible XF Versions
- 1.3
- 1.4
- 1.5
- Additional Requirements
- Xen Product Manager
This add-on shows a hint in the cart if the cart contains a free product for which the user already has a license.
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:
There is a phrase prefixed 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“.
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:
- there is exactly one free item in the cart
- the user has an (in)active license for the corresponding product
There is a phrase prefixed 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“.