Xen Product Manager: Dupe License Hint

Unmaintained Xen Product Manager: Dupe License Hint 1.0.1

No permission to download
Compatible XF 1.x versions
  1. 1.3
  2. 1.4
  3. 1.5
Additional requirements
Xen Product Manager
License
BSD
Visible branding
No
This add-on shows a hint in the cart if the cart contains a free product for which the user already has a license.

ViewCartWithHint.webp


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
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 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“.
Author
Thomas.B
Downloads
27
Views
502
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Thomas.B

Latest updates

  1. Better compatibility

    better compatibility with other add-ons that also extend the actionCart() method of the Product...
Back
Top Bottom