Wishlist Member

Top  Previous  Next

Wishlist Member is an addon for Wordpress which lets you sell access to restricted areas of your Wordpress site. AShop can sign customers up with a Wishlist Member site, but only the initial signup is automated, the customer will still need to complete the last step manually: selecting a username and password for their account. When a customer buys a product that is integrated with Wishlist Member they will receive an email with a link that takes them to that last step.

 

The Wishlist Member integration is done through the automation fulfilment feature. The first thing you need to do is to edit the wlmember.php script, which you can find in your automation directory. Change the following variables at the top of the script:

 

$ashoppath - set this to the full filesystem path to your AShop
$wlmemberurl - set this to the URL where external programs can register new accounts with your Wishlist Member. This URL can be found in your Wishlist Member administration panel.
$level - set this to the Wishlist Member membership level SKU you want to use.
$secretkey - set this to the Wishlist Member secret key, required for integration with external program. You will find this in your Wishlist Member administration panel.
$password - set this to a personal password, to make sure no one else can run your wlmember.php script without knowing the password.

 

Save the modified wlmember.php script and upload it to your AShop. Then login to your AShop admin panel and open the page Configuration->Fulfilment. Create a new fulfilment option with the Automation fulfilment method. Enter a descriptive name for your new fulfilment option, for example: "Wishlist Member". Set the URL to where your wlmember.php script can be found, for example: http://www.yourdomain.com/ashop/automation/wlmember.php. Activate the "Include returned data in receipt" option and set the "Run once" option to "Per associated product". Leave all other fields with their default values, except the "Other fields+values" box at the bottom of the page, which should be set to "password=yourpasswordhere", where "yourpasswordhere" should be replaced with the personal password you entered into your wlmember.php script. Click "Update" to save the changes.

 

Now you need to associate the new fulfilment option with the products you want to use to sell access to your Wishlist Member site. Open the page Edit Catalog and locate the product(s). Click "Fulfilment" and select the fulfilment option you just created in the box "Select option". Click "Submit" to save the changes. When a customer buys this product he/she will now be automatically signed up with your Wishlist Member site.

 

To sell access to several membership areas, just create copies of the wlmember.php script and change them accordingly. Then create a new fulfilment option for each of your copies.