Resource icon

xF1 Add-on Xen Product Manager: Dupe License Hint 1.0.1

No permission to download
Compatible XF Versions
  1. 1.3
  2. 1.4
  3. 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.

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
AnimeHaxor
Size
4.4 KB
Extension
zip
Downloads
6
Views
1,435
First release
Last update

More resources from AnimeHaxor

Similar resources

0.00 star(s) 0 ratings
Downloads
2
Updated
0.00 star(s) 0 ratings
Downloads
10
Updated
Tool to quickly create an addon XenForo
0.00 star(s) 0 ratings
Downloads
4
Updated
Easy way to optimize your forum. Extremely useful for big board.
0.00 star(s) 0 ratings
Downloads
4
Updated
Xen-TR Banlist AnimeHaxor
As its name, this add-on is listing banned users on a specific page
0.00 star(s) 0 ratings
Downloads
13
Updated