Xen Product Manager: Dupe License Hint

XF 1 Xen Product Manager: Dupe License Hint MOVED

This add-on shows a hint in the cart if the cart contains a free product for which the user already has a license.

xenforo_com_community_attachments_viewcartwithhint_png_123139__.png


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
Wifi
Downloads
32
Views
522
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Wifi

Share this resource

Latest updates

  1. MOVED

    MOVED
Top