<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Usage - CODIBU</title>
	<atom:link href="https://help.codibu.com/kbtopic/usage/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.codibu.com</link>
	<description>Hosting &#38; Domain,  Development &#38; Design, SEO &#38; Marketing, 2300+ Themes &#38; Plugins, Free SEO analysis &#38; tools</description>
	<lastBuildDate>Wed, 25 Jan 2023 19:50:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://help.codibu.com/wp-content/uploads/2022/07/favicon.png</url>
	<title>Usage - CODIBU</title>
	<link>https://help.codibu.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WooCommerce Memberships Profile Fields</title>
		<link>https://help.codibu.com/blog/woocommerce-memberships-profile-fields/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-memberships-profile-fields</link>
					<comments>https://help.codibu.com/blog/woocommerce-memberships-profile-fields/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 13:43:37 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-memberships-profile-fields/</guid>

					<description><![CDATA[<p>Memberships has a native CSV import / export that will allow you to: import a CSV of your members to update or merge membership data import<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-profile-fields/">WooCommerce Memberships Profile Fields</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Memberships has a native CSV import / export that will allow you to:</p>
<ul>
<li>import a CSV of your members to update or merge membership data</li>
<li>import a CSV of members to create new memberships (and even create new user accounts if needed)</li>
<li>export all members, or export members based on status, plan, start date, or expiration date</li>
<li>export selected members to CSV using a bulk action</li>
</ul>
<p>This document will show you how to import or export members using the native Memberships import and export capabilities, along with creating memberships for existing users.</p>
<p>If you want to export members to&nbsp;<strong>move them to MailChimp</strong>, check out&nbsp;<a href="https://help.codibu.com/blog/kb/mailchimp-for-woocommerce-memberships/">MailChimp for Memberships</a>, which will automatically sync your member list with a MailChimp list and keep it updated as members change status.</p>
<div class="woo-sc-box normal   ">Before importing members, please read the&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#grant-access">“Grant Access” section first</a>, as this may apply to you.</div>
<div class="woo-sc-box note   "><strong>Note that</strong>&nbsp;the import / export methods outlined here will only apply to user memberships; they will not create or export subscription / recurring billing.&nbsp;</p>
<p>Importing can be seen as a bulk create / edit for members, while exporting can help you get member data for your email service or other services connected to your site.</p>
</div>
<p><strong>Developers:</strong>&nbsp;You may also want to check out&nbsp;this community plugin&nbsp;to add CLI support for imports, which imports via command line for large data sets, and our&nbsp;REST API documentation, which lets you read user membership data.</p>
<h2 id="section-1">Exporting members</h2>
<p>You may want to export members to an external service, such as an email service, to segment your newsletters by status or plan type (MailChimp users may be interested in&nbsp;<a href="https://help.codibu.com/blog/kb/mailchimp-for-woocommerce-memberships/">MailChimp for Memberships</a>&nbsp;instead). You may also use a member CSV to export members, make changes, then re-import / update memberships. These are possible with the native exporter.</p>
<p>The exporter will provide several columns, such as the user membership ID; membership plan ID, slug, and name; member email; member name; and membership start date. You can view&nbsp;<a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files in this Google Sheet</a>&nbsp;— note that there are several sheets that you can choose from at the bottom.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png"><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-161692" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png?w=950" alt="WooCommerce Memberships export example" width="950" height="78"></a></p>
<p>A quick note: when members are exported, the&nbsp;<code>member_since</code>&nbsp;and&nbsp;<code>membership_expiration</code>&nbsp;columns will show the member start and end dates (respectively) in&nbsp;<strong>the site’s selected timezone</strong>. You can import these members later, just be sure to select the site timezone for the import file as well.</p>
<p>If you would like to export in UTC time instead, you can add this small code snippet&nbsp;wherever you keep custom code &nbsp;to change the exported time:</p>
<pre>add_filter( 'wc_memberships_csv_export_user_memberships_dates_in_utc', '__return_true' );</pre>
<p>To export members, go to&nbsp;<strong>WooCommerce &gt; Memberships &gt; Import / Export</strong>, and ensure you’re on the “Export to CSV” tab. Here you can configure export options to export all members or groups of members.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png"><img decoding="async" class="aligncenter size-large wp-image-967375" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png?w=870" alt="WooCommerce Memberships: Export settings" width="870" height="698"></a></p>
<p>Combinations of these settings can be used to get a customized list of members.</p>
<ul>
<li><strong>Plan</strong>&nbsp;– Select plans if you’d like to export only members belonging to certain plans. Leave this blank to export members of any plan.</li>
<li><strong>Status</strong>&nbsp;– Select membership statuses if you’d like to export only members who have certain statuses (ie only “active” and “complimentary” members). Leave this blank to export members with any status.</li>
<li><strong>Start Date</strong>&nbsp;– You can optionally restrict the export based on the member’s start date. Add a range to export members who signed up during that date range; you can also leave ranges open ended, such as “From ___ to 2016-05-01”, which will give you any member who signed up before May 1, 2016. Leave this blank to ignore start date in the export.</li>
<li><strong>End Date</strong>&nbsp;– You can optionally restrict the export based on the member’s expiration date. Add a range to export memberships that expire during that date range; you can also leave ranges open ended, such as “From ___ to 2016-05-01”, which will give you any member whose membership expired before May 1, 2016. (This would also exclude open-ended / unlimited memberships!) Leave this blank to ignore expiration date in the export.</li>
<li><strong>Meta Data</strong>&nbsp;– Enable this to include all meta data for a membership, such as paused date, or data added by other plugins</li>
<li><strong>Separate fields by</strong>&nbsp;– Changes the CSV delimiter, and defaults to comma; only change this if you know what you’re doing.</li>
</ul>
<p>Click “Export” to generate your CSV file. Note that you&nbsp;<strong>must keep your browser window open</strong>&nbsp;until the export completes; closing the browser window will abort the export.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png"><img decoding="async" class="aligncenter size-large wp-image-967376" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png?w=950" alt="WooCommerce Memberships: export in progress" width="950" height="666"></a></p>
<h3 id="section-2">Bulk exporting members</h3>
<p>You can also export a selected group of members from the “Members” list. Click the checkmarks next to the desired members, then select the “Export to CSV” bulk action. When you click “Apply”, a CSV export of the selected members is generated.</p>
<figure id="attachment_161688" class="wp-caption aligncenter" aria-describedby="caption-attachment-161688"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-bulk-export-action.png"><img loading="lazy" decoding="async" class="size-large wp-image-161688" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-bulk-export-action.png?w=465" alt="WooCommerce Memberships Export Bulk Action" width="465" height="161"></a><figcaption id="caption-attachment-161688" class="wp-caption-text">Export selected members</figcaption></figure>
<h3 id="section-3">Troubleshooting exports</h3>
<ul>
<li>If your CSV file isn’t generated, please double-check any export options you’ve set. You may be using option to limit the member list that do not correspond to any memberships on your site.</li>
</ul>
<p>If these troubleshooting steps do not help you, please&nbsp;<a href="https://woocommerce.com/my-account/create-a-ticket/">submit a help request</a>&nbsp;and we’d be happy to assist.</p>
<h2 id="section-4">Import via grant access action</h2>
<p>Before you decide that you need to import members, you should consider using the “Grant access” action for your plans to programmatically create memberships. Here’s a good set of questions to ask yourself before determining whether you should use this or an import:</p>
<ul>
<li>Do you already have existing orders for purchases of your membership product? Use “Grant access” — this will create new memberships and tie them to the order record the membership was purchased in.</li>
<li>Do you already have existing subscriptions? If yes, do they include the product that grants access to the membership as a line item? If so, you can use “Grant Access” to create your memberships, as both orders and subscriptions assigned to users are checked.</li>
</ul>
<p>You can read more about how the “Grant access” action works&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-memberships-user-memberships/#previous-purchase">in our user memberships document</a>.</p>
<h2 id="section-5">Requirements for import</h2>
<div class="woo-sc-box normal   "><strong>Developers:</strong>&nbsp;You may also want to check out&nbsp;this community plugin&nbsp;to add CLI support for imports, which imports via command line.</div>
<p>In order to bulk create or update user memberships, you must already have the following:</p>
<ul>
<li><strong>Membership Plans</strong>: You must already create your membership plans under WooCommerce &gt; Memberships &gt; Membership Plans. You may want to optionally create rules and other settings for your plan, but only the plan itself needs to exist to import.</li>
<li><strong>Membership Plan IDs or slugs</strong>: You want to note the ID (post ID) or the slug for each membership plan; this will be used within the import to designate which membership plan the user will be assigned to (users can be assigned to multiple plans if desired). If you do not know how to get user or post IDs from WordPress, we&nbsp;<a href="http://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/">recommend this tutorial</a>.</li>
<li><strong>User identifer</strong>: When updating existing user memberships, you will need a way to identify the user you want to modify. You can use the&nbsp;<code>user_membership_ID</code>&nbsp;to identify an existing user and their membership plan. If you include&nbsp;<code>membership_plan_ID</code>&nbsp;or&nbsp;<code>membership_plan_slug</code>, you can instead use&nbsp;<code>user_ID</code>,&nbsp;<code>user_name</code>, or&nbsp;<code>member_email</code>&nbsp;to identify an existing member.</li>
</ul>
<h2 id="section-6">Formatting import CSVs</h2>
<p>While you may be used to creating your CSVs in Microsoft Excel, we recommend against this, as Excel can add extra markup. Instead, we recommend using&nbsp;<strong>Google Drive / Google Sheets</strong>&nbsp;to create your spreadsheet, and export this as a CSV file. If you have an existing CSV, you can import it to Google Drive by creating a sheet, then going to&nbsp;<strong>File &gt; Import &gt; Upload</strong>&nbsp;to add your existing spreadsheet.</p>
<p>Once your spreadsheet has been created, you can export it by downloading as a CSV, which will let you then import into WordPress with this CSV:</p>
<figure id="attachment_159099" class="wp-caption aligncenter" aria-describedby="caption-attachment-159099"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png"><img loading="lazy" decoding="async" class="size-medium wp-image-159099" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png?w=550" alt="WooCommerce Memberships Import get csv" width="550" height="363"></a>&nbsp;<figcaption id="caption-attachment-159099" class="wp-caption-text">Get CSV from Google Docs</figcaption></figure>
<p>If you would like an example to work from, you can check out our&nbsp;<a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files</a>&nbsp;and save these to work from. You can either click File &gt; Download as &gt; CSV as outlined above, or right-click on a specific sheet and use “Copy to” to move this to your own Google Sheet.</p>
<p>If you absolutely must use Excel, the “Window Comma Separated (csv)” format should be used, not “MS-DOS Comma Separated (csv)”.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-161686" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png?w=596" alt="WooCommerce Memberships: Import - Excel CSV Format" width="596" height="147"></a></p>
<p>Set up your CSV with&nbsp;<strong>one row per user membership</strong>. If a customer / member has more than one membership, you will need a row for each membership that should be added.</p>
<h3 id="section-7">Import: column names</h3>
<p>Your&nbsp;<strong>column names</strong>&nbsp;must exactly match the column names in this list for a successful import.</p>
<table>
<thead>
<tr>
<th>COLUMN NAME</th>
<th>REQUIRED?</th>
<th>COLUMN DATA</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>user_membership_id</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>user membership ID</strong>&nbsp;can be used to identify existing user memberships, but should be left blank to create new memberships.</td>
</tr>
<tr>
<td><code>user_id</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>WordPress user ID</strong>&nbsp;for the member / customer. Can be used to identify existing user memberships if used with the&nbsp;<code>membership_plan_id</code>&nbsp;or&nbsp;<code>membership_plan_slug</code>.</td>
</tr>
<tr>
<td><code>user_name</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>WordPress username / login name</strong>&nbsp;for the member. Can be used to identify existing user memberships if used with the&nbsp;<code>membership_plan_id</code>&nbsp;or&nbsp;<code>membership_plan_slug</code>, if&nbsp;<code>user_ID</code>&nbsp;isn’t available. If creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>member_email</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>email address</strong>&nbsp;for the member. Required when creating new users. Can be used to identify existing user memberships if used with the&nbsp;<code>membership_plan_id</code>&nbsp;or&nbsp;<code>membership_plan_slug</code>, if&nbsp;<code>user_ID</code>&nbsp;and&nbsp;<code>user_name</code>&nbsp;aren’t available.</td>
</tr>
<tr>
<td><code>member_first_name</code></td>
<td>No</td>
<td>The member’s first name; if creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>member_last_name</code></td>
<td>No</td>
<td>The member’s surname; if creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>membership_plan_id</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>ID of the membership plan</strong>&nbsp;for this membership (i.e., the ID for “Gold Membership” plan). Either this column (recommended) or&nbsp;<code>membership_plan_slug</code>&nbsp;is required for imports to process.</td>
</tr>
<tr>
<td><code>membership_plan_slug</code></td>
<td><strong>Maybe</strong></td>
<td>The&nbsp;<strong>slug of the membership plan</strong>&nbsp;for this membership (i.e., the slug for “Gold Membership” plan). Either this column or&nbsp;<code>membership_plan_id</code>&nbsp;(recommended) is required for imports to process.</td>
</tr>
<tr>
<td><code>membership_status</code></td>
<td>No</td>
<td>* The&nbsp;<strong>membership status</strong>&nbsp;for the membership — if empty, defaults to&nbsp;<code>active</code></td>
</tr>
<tr>
<td><code>subscription_id</code></td>
<td>No</td>
<td>Include the&nbsp;<strong>subscription ID</strong>&nbsp;if this membership should be tied to the billing of an existing subscription record (requires Memberships 1.7+).</td>
</tr>
<tr>
<td><code>member_since</code></td>
<td>No</td>
<td>** The date membership access&nbsp;<strong>should start / started</strong>&nbsp;— if creating new memberships, you can set a default start date to be used when this is blank.</td>
</tr>
<tr>
<td><code>membership_expiration</code></td>
<td>No</td>
<td>** The date membership access&nbsp;<strong>expires</strong>; leave blank for unlimited memberships</td>
</tr>
<tr>
<td><code>order_id</code></td>
<td>No</td>
<td>The ID of the order in which the membership was purchased, if you’d like to link to an existing order.</td>
</tr>
<tr>
<td><code>product_id</code></td>
<td>No</td>
<td>The ID of the product used to purchase the membership.</td>
</tr>
</tbody>
</table>
<p><span id="status-list">*The available user membership statuses are:</span></p>
<div class="twocol-one"><strong>active</strong>&nbsp;– Active<br />
<strong>complimentary</strong>&nbsp;– Complimentary<br />
<strong>delayed</strong>&nbsp;– Delayed<br />
<strong>paused</strong>&nbsp;– Paused<br />
<strong>expired</strong>&nbsp;– Expired<br />
<strong>cancelled</strong>&nbsp;– Cancelled</div>
<div class="twocol-one last clearfix"><strong>Membership Statuses Used with Subscriptions</strong>&nbsp;</p>
<p><strong>pending</strong>&nbsp;– Pending Cancellation<br />
<strong>free_trial</strong>&nbsp;– Free Trial</p>
<div class="clear clearfix">&nbsp;</div>
</div>
<p>** You will be able to select whether your dates and times are in UTC or in your site’s timezone while importing.</p>
<h2 id="section-8">Importing members</h2>
<p>To import members, first be sure that you have a&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#csv-format">properly formatted CSV file</a>&nbsp;ready to go. If you like some examples, check out our&nbsp;<a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files</a>&nbsp;(there are multiple sheets you can choose from at the bottom).</p>
<p>Navigate to&nbsp;<strong>WooCommerce &gt; Memberships &gt; Import / Export</strong>&nbsp;and click on the “Import from CSV” section. This will allow you to select your import options and upload your CSV file to process.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967396" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png?w=802" alt="WooCommerce Memberships Import Settings" width="802" height="935"></a></p>
<ul>
<li><strong>Choose a file from your computer</strong>&nbsp;– Upload your properly-formatted CSV file of memberships here.</li>
<li><strong>Import Options</strong>
<ul>
<li><em>Update existing records if a matching user membership is found</em>&nbsp;– Enable this if you’d like to merge or update memberships from the uploaded CSV. If enabled, when the user membership ID column matches an existing membership, that membership will be updated with your uploaded data. When this setting is disabled, rows with matching user membership IDs are skipped.</li>
<li><em>Allow membership transfer between users…</em>&nbsp;(only shown if “Update existing records… is enabled) – If enabled, when a user membership is matched, but the&nbsp;<strong>user ID</strong>&nbsp;doesn’t match the current member, the membership will be transferred to the new user in the CSV. When disabled, rows that have mismatched user membership IDs / users will be skipped.</li>
<li><em>Create new user memberships if a matching user membership ID isn’t found</em>&nbsp;– If enabled, when an existing user membership can’t be located from the CSV data, a new one will be created. When disabled, rows with user memberships that can’t be matched will be skipped.</li>
<li><em>Create a new user if no matching user is found</em>&nbsp;– When enabled, if an imported row contains data that doesn’t match an existing user (user ID, username, and email are checked in order), then a new user is created and this membership is assigned to the new user. When disabled, rows without matching users are skipped.</li>
<li><em>Send new account notification emails when creating new users during an import</em>&nbsp;– When enabled, if a new user is created, they’ll be sent the default WooCommerce “New Account” email.</li>
</ul>
</li>
<li><strong>Default Start Date</strong>&nbsp;– When “Create new user memberships…” is enabled, this field is shown. Select a default starting date for any memberships that are created via import; this default is used when the&nbsp;<code>member_since</code>&nbsp;column is blank.</li>
<li><strong>Dates timezone</strong>&nbsp;– Select whether the&nbsp;<code>member_since</code>&nbsp;and&nbsp;<code>membership_expiration</code>&nbsp;dates in your file are in your site’s timezone or in UTC. The export default is the site timezone.</li>
<li><strong>Fields are separated by</strong>&nbsp;– Select the delimiter for your CSV file. Defaults to comma — only change this if you know what you’re doing.</li>
</ul>
<p>When you’ve added your CSV file and selected your import options, you can click “Upload File and Import”. The file will be analyzed, and members will be imported or updated based on your settings. The plugin will then display a summary of the import for you.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-161691" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png?w=949" alt="WooCommerce Memberships successful import" width="949" height="727"></a></p>
<h3 id="section-9">Troubleshooting imports</h3>
<ul>
<li>You see a “Could not find User Memberships to import from uploaded file.” error: This means your CSV is either missing required information, or is unreadable. Please&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#csv-format">check your CSV format</a>&nbsp;to ensure the required information is present and all column headers are named&nbsp;<strong>exactly</strong>&nbsp;as they are in our table. If this is correct, please upload your CSV file to Google Sheets and re-download it, as its format is probably at fault.</li>
<li>Your import dies in the middle of the process without importing all members: This most likely indicates that you’re importing a larger number of members than your server can handle. Please break your CSV file up and re-try the import, as you can import multiple times. First try breaking the import into half, then in half again, etc, until your import completes successfully. Typically you should be able to import a few thousand rows without issue, but this depends on your hosting environment.</li>
</ul>
<p>If these troubleshooting steps do not help you, please&nbsp;<a href="https://woocommerce.com/my-account/create-a-ticket/">submit a help request</a>&nbsp;and we’d be happy to assist.</p>
<h2 id="section-10">Frequently asked questions</h2>
<p><strong>Q: Can I set passwords for members on import?</strong><br />
<strong>A:</strong>&nbsp;Setting passwords if you create new users is not possible via an import file; the new user will have a password generated by WordPress.</p>
<p>If you’d like to notify new users to allow them to set their password after the account has been created, please enable “Send new account notification emails when creating new users during an import”.</p>
<hr>
<p><strong>Q: Can I add the customer’s data like the phone number to the export file?</strong><br />
<strong>A:</strong>&nbsp;The export only currently includes data related to the user membership itself. If you wanted to add additional customer data to this export file, you would need the help of a developer to modify the export file. You could consider 2 options:</p>
<ul>
<li>Use the&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-customer-order-coupon-export-developer-documentation/">Customer / Order CSV Export</a>&nbsp;as a starting point, and modify the customer export query to only include users with memberships (this would give you an export of members only with all customer data, but not membership-specific data, but this could be added).</li>
<li>Modify the Memberships export file via custom code to add additional columns as needed to the member export. You can find ample filters in the&nbsp;<code>/includes/utilities/class-wc-memberships-csv-export-user-memberships.php</code>&nbsp;file to modify the export output as needed.</li>
</ul><p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-profile-fields/">WooCommerce Memberships Profile Fields</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-memberships-profile-fields/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Memberships Import and Export</title>
		<link>https://help.codibu.com/blog/woocommerce-memberships-import-and-export/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-memberships-import-and-export</link>
					<comments>https://help.codibu.com/blog/woocommerce-memberships-import-and-export/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 13:42:58 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-memberships-import-and-export/</guid>

					<description><![CDATA[<p>Memberships has a native CSV import / export that will allow you to: import a CSV of your members to update or merge membership data import<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-import-and-export/">WooCommerce Memberships Import and Export</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Memberships has a native CSV import / export that will allow you to:</p>
<ul>
<li>import a CSV of your members to update or merge membership data</li>
<li>import a CSV of members to create new memberships (and even create new user accounts if needed)</li>
<li>export all members, or export members based on status, plan, start date, or expiration date</li>
<li>export selected members to CSV using a bulk action</li>
</ul>
<p>This document will show you how to import or export members using the native Memberships import and export capabilities, along with creating memberships for existing users.</p>
<p>If you want to export members to <strong>move them to MailChimp</strong>, check out <a href="https://help.codibu.com/blog/kb/mailchimp-for-woocommerce-memberships/">MailChimp for Memberships</a>, which will automatically sync your member list with a MailChimp list and keep it updated as members change status.</p>
<div class="woo-sc-box normal   ">Before importing members, please read the <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#grant-access">“Grant Access” section first</a>, as this may apply to you.</div>
<div class="woo-sc-box note   "><strong>Note that</strong> the import / export methods outlined here will only apply to user memberships; they will not create or export subscription / recurring billing.</p>
<p>&nbsp;</p>
<p>Importing can be seen as a bulk create / edit for members, while exporting can help you get member data for your email service or other services connected to your site.</p>
</div>
<p><strong>Developers:</strong> You may also want to check out this community plugin to add CLI support for imports, which imports via command line for large data sets, and our REST API documentation, which lets you read user membership data.</p>
<p>&nbsp;</p>
<h2 id="section-1">Exporting members</h2>
<p>You may want to export members to an external service, such as an email service, to segment your newsletters by status or plan type (MailChimp users may be interested in <a href="https://help.codibu.com/blog/kb/mailchimp-for-woocommerce-memberships/">MailChimp for Memberships</a> instead). You may also use a member CSV to export members, make changes, then re-import / update memberships. These are possible with the native exporter.</p>
<p>The exporter will provide several columns, such as the user membership ID; membership plan ID, slug, and name; member email; member name; and membership start date. You can view <a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files in this Google Sheet</a> — note that there are several sheets that you can choose from at the bottom.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-161692" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png 1460w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png?resize=550,45 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png?resize=768,63 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-screenshot.png?resize=950,78 950w" alt="WooCommerce Memberships export example" width="950" height="78" /></a></p>
<p>A quick note: when members are exported, the <code>member_since</code> and <code>membership_expiration</code> columns will show the member start and end dates (respectively) in <strong>the site’s selected timezone</strong>. You can import these members later, just be sure to select the site timezone for the import file as well.</p>
<p>If you would like to export in UTC time instead, you can add this small code snippet <a href="https://www.skyverge.com/blog/add-custom-code-to-wordpress">wherever you keep custom code</a> to change the exported time:</p>
<pre>add_filter( 'wc_memberships_csv_export_user_memberships_dates_in_utc', '__return_true' );</pre>
<p>To export members, go to <strong>WooCommerce &gt; Memberships &gt; Import / Export</strong>, and ensure you’re on the “Export to CSV” tab. Here you can configure export options to export all members or groups of members.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967375" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png?w=870" sizes="(max-width: 870px) 100vw, 870px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png 870w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png?resize=550,441 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-settings.png?resize=768,616 768w" alt="WooCommerce Memberships: Export settings" width="870" height="698" /></a></p>
<p>Combinations of these settings can be used to get a customized list of members.</p>
<ul>
<li><strong>Plan</strong> – Select plans if you’d like to export only members belonging to certain plans. Leave this blank to export members of any plan.</li>
<li><strong>Status</strong> – Select membership statuses if you’d like to export only members who have certain statuses (ie only “active” and “complimentary” members). Leave this blank to export members with any status.</li>
<li><strong>Start Date</strong> – You can optionally restrict the export based on the member’s start date. Add a range to export members who signed up during that date range; you can also leave ranges open ended, such as “From ___ to 2016-05-01”, which will give you any member who signed up before May 1, 2016. Leave this blank to ignore start date in the export.</li>
<li><strong>End Date</strong> – You can optionally restrict the export based on the member’s expiration date. Add a range to export memberships that expire during that date range; you can also leave ranges open ended, such as “From ___ to 2016-05-01”, which will give you any member whose membership expired before May 1, 2016. (This would also exclude open-ended / unlimited memberships!) Leave this blank to ignore expiration date in the export.</li>
<li><strong>Meta Data</strong> – Enable this to include all meta data for a membership, such as paused date, or data added by other plugins</li>
<li><strong>Separate fields by</strong> – Changes the CSV delimiter, and defaults to comma; only change this if you know what you’re doing.</li>
</ul>
<p>Click “Export” to generate your CSV file. Note that you <strong>must keep your browser window open</strong> until the export completes; closing the browser window will abort the export.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967376" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png 1029w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png?resize=550,385 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png?resize=768,538 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-export-members.png?resize=950,666 950w" alt="WooCommerce Memberships: export in progress" width="950" height="666" /></a></p>
<h3 id="section-2">Bulk exporting members</h3>
<p>You can also export a selected group of members from the “Members” list. Click the checkmarks next to the desired members, then select the “Export to CSV” bulk action. When you click “Apply”, a CSV export of the selected members is generated.</p>
<figure id="attachment_161688" class="wp-caption aligncenter" aria-describedby="caption-attachment-161688"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-bulk-export-action.png"><img loading="lazy" decoding="async" class="size-large wp-image-161688" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-bulk-export-action.png?w=465" alt="WooCommerce Memberships Export Bulk Action" width="465" height="161" /></a><figcaption id="caption-attachment-161688" class="wp-caption-text">Export selected members</figcaption></figure>
<h3 id="section-3">Troubleshooting exports</h3>
<ul>
<li>If your CSV file isn’t generated, please double-check any export options you’ve set. You may be using option to limit the member list that do not correspond to any memberships on your site.</li>
</ul>
<p>If these troubleshooting steps do not help you, please <a href="https://woocommerce.com/my-account/create-a-ticket/">submit a help request</a> and we’d be happy to assist.</p>
<p>&nbsp;</p>
<h2 id="section-4">Import via grant access action</h2>
<p>Before you decide that you need to import members, you should consider using the “Grant access” action for your plans to programmatically create memberships. Here’s a good set of questions to ask yourself before determining whether you should use this or an import:</p>
<ul>
<li>Do you already have existing orders for purchases of your membership product? Use “Grant access” — this will create new memberships and tie them to the order record the membership was purchased in.</li>
<li>Do you already have existing subscriptions? If yes, do they include the product that grants access to the membership as a line item? If so, you can use “Grant Access” to create your memberships, as both orders and subscriptions assigned to users are checked.</li>
</ul>
<p>You can read more about how the “Grant access” action works <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-user-memberships/#previous-purchase">in our user memberships document</a>.</p>
<p>&nbsp;</p>
<h2 id="section-5">Requirements for import</h2>
<div class="woo-sc-box normal   "><strong>Developers:</strong> You may also want to check out this community plugin to add CLI support for imports, which imports via command line.</div>
<p>In order to bulk create or update user memberships, you must already have the following:</p>
<ul>
<li><strong>Membership Plans</strong>: You must already create your membership plans under WooCommerce &gt; Memberships &gt; Membership Plans. You may want to optionally create rules and other settings for your plan, but only the plan itself needs to exist to import.</li>
<li><strong>Membership Plan IDs or slugs</strong>: You want to note the ID (post ID) or the slug for each membership plan; this will be used within the import to designate which membership plan the user will be assigned to (users can be assigned to multiple plans if desired). If you do not know how to get user or post IDs from WordPress, we <a href="http://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/">recommend this tutorial</a>.</li>
<li><strong>User identifer</strong>: When updating existing user memberships, you will need a way to identify the user you want to modify. You can use the <code>user_membership_ID</code> to identify an existing user and their membership plan. If you include <code>membership_plan_ID</code> or <code>membership_plan_slug</code>, you can instead use <code>user_ID</code>, <code>user_name</code>, or <code>member_email</code> to identify an existing member.</li>
</ul>
<p>&nbsp;</p>
<h2 id="section-6">Formatting import CSVs</h2>
<p>While you may be used to creating your CSVs in Microsoft Excel, we recommend against this, as Excel can add extra markup. Instead, we recommend using <strong>Google Drive / Google Sheets</strong> to create your spreadsheet, and export this as a CSV file. If you have an existing CSV, you can import it to Google Drive by creating a sheet, then going to <strong>File &gt; Import &gt; Upload</strong> to add your existing spreadsheet.</p>
<p>Once your spreadsheet has been created, you can export it by downloading as a CSV, which will let you then import into WordPress with this CSV:</p>
<figure id="attachment_159099" class="wp-caption aligncenter" aria-describedby="caption-attachment-159099"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png"><img loading="lazy" decoding="async" class="size-medium wp-image-159099" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png?w=550" sizes="(max-width: 550px) 100vw, 550px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png 843w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png?resize=550,363 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-import-get-csv.png?resize=768,507 768w" alt="WooCommerce Memberships Import get csv" width="550" height="363" /></a><figcaption id="caption-attachment-159099" class="wp-caption-text">Get CSV from Google Docs</figcaption></figure>
<p>If you would like an example to work from, you can check out our <a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files</a> and save these to work from. You can either click File &gt; Download as &gt; CSV as outlined above, or right-click on a specific sheet and use “Copy to” to move this to your own Google Sheet.</p>
<p>If you absolutely must use Excel, the “Window Comma Separated (csv)” format should be used, not “MS-DOS Comma Separated (csv)”.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-161686" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png?w=596" sizes="(max-width: 596px) 100vw, 596px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png 596w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-excel-csv-format.png?resize=550,136 550w" alt="WooCommerce Memberships: Import - Excel CSV Format" width="596" height="147" /></a></p>
<p>Set up your CSV with <strong>one row per user membership</strong>. If a customer / member has more than one membership, you will need a row for each membership that should be added.</p>
<h3 id="section-7">Import: column names</h3>
<p>Your <strong>column names</strong> must exactly match the column names in this list for a successful import.</p>
<table>
<thead>
<tr>
<th>COLUMN NAME</th>
<th>REQUIRED?</th>
<th>COLUMN DATA</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>user_membership_id</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>user membership ID</strong> can be used to identify existing user memberships, but should be left blank to create new memberships.</td>
</tr>
<tr>
<td><code>user_id</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>WordPress user ID</strong> for the member / customer. Can be used to identify existing user memberships if used with the <code>membership_plan_id</code> or <code>membership_plan_slug</code>.</td>
</tr>
<tr>
<td><code>user_name</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>WordPress username / login name</strong> for the member. Can be used to identify existing user memberships if used with the <code>membership_plan_id</code> or <code>membership_plan_slug</code>, if <code>user_ID</code> isn’t available. If creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>member_email</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>email address</strong> for the member. Required when creating new users. Can be used to identify existing user memberships if used with the <code>membership_plan_id</code> or <code>membership_plan_slug</code>, if <code>user_ID</code> and <code>user_name</code> aren’t available.</td>
</tr>
<tr>
<td><code>member_first_name</code></td>
<td>No</td>
<td>The member’s first name; if creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>member_last_name</code></td>
<td>No</td>
<td>The member’s surname; if creating users, this will be added to the user account.</td>
</tr>
<tr>
<td><code>membership_plan_id</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>ID of the membership plan</strong> for this membership (i.e., the ID for “Gold Membership” plan). Either this column (recommended) or <code>membership_plan_slug</code> is required for imports to process.</td>
</tr>
<tr>
<td><code>membership_plan_slug</code></td>
<td><strong>Maybe</strong></td>
<td>The <strong>slug of the membership plan</strong> for this membership (i.e., the slug for “Gold Membership” plan). Either this column or <code>membership_plan_id</code> (recommended) is required for imports to process.</td>
</tr>
<tr>
<td><code>membership_status</code></td>
<td>No</td>
<td>* The <strong>membership status</strong> for the membership — if empty, defaults to <code>active</code></td>
</tr>
<tr>
<td><code>subscription_id</code></td>
<td>No</td>
<td>Include the <strong>subscription ID</strong> if this membership should be tied to the billing of an existing subscription record (requires Memberships 1.7+).</td>
</tr>
<tr>
<td><code>member_since</code></td>
<td>No</td>
<td>** The date membership access <strong>should start / started</strong> — if creating new memberships, you can set a default start date to be used when this is blank.</td>
</tr>
<tr>
<td><code>membership_expiration</code></td>
<td>No</td>
<td>** The date membership access <strong>expires</strong>; leave blank for unlimited memberships</td>
</tr>
<tr>
<td><code>order_id</code></td>
<td>No</td>
<td>The ID of the order in which the membership was purchased, if you’d like to link to an existing order.</td>
</tr>
<tr>
<td><code>product_id</code></td>
<td>No</td>
<td>The ID of the product used to purchase the membership.</td>
</tr>
</tbody>
</table>
<p><span id="status-list">*The available user membership statuses are:</span></p>
<p>&nbsp;</p>
<div class="twocol-one">
<strong>active</strong> – Active<br />
<strong>complimentary</strong> – Complimentary<br />
<strong>delayed</strong> – Delayed<br />
<strong>paused</strong> – Paused<br />
<strong>expired</strong> – Expired<br />
<strong>cancelled</strong> – Cancelled</div>
<div class="twocol-one last clearfix">
<strong>Membership Statuses Used with Subscriptions</strong></p>
<p><strong>pending</strong> – Pending Cancellation<br />
<strong>free_trial</strong> – Free Trial</p>
<p>&nbsp;</p>
<div class="clear clearfix"> </div>
<p>&nbsp;</p>
</div>
<p>&nbsp;</p>
<p>** You will be able to select whether your dates and times are in UTC or in your site’s timezone while importing.</p>
<p>&nbsp;</p>
<h2 id="section-8">Importing members</h2>
<p>To import members, first be sure that you have a <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#csv-format">properly formatted CSV file</a> ready to go. If you like some examples, check out our <a href="https://docs.google.com/spreadsheets/d/1CKiywPKno1F2VwAr_IOLtWkf9JahQ8ghxXmtWgS0I-A/edit?usp=sharing">example import and export CSV files</a> (there are multiple sheets you can choose from at the bottom).</p>
<p>Navigate to <strong>WooCommerce &gt; Memberships &gt; Import / Export</strong> and click on the “Import from CSV” section. This will allow you to select your import options and upload your CSV file to process.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967396" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png?w=802" sizes="(max-width: 802px) 100vw, 802px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png 802w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png?resize=472,550 472w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-import-settings.png?resize=768,895 768w" alt="WooCommerce Memberships Import Settings" width="802" height="935" /></a></p>
<ul>
<li><strong>Choose a file from your computer</strong> – Upload your properly-formatted CSV file of memberships here.</li>
<li><strong>Import Options</strong>
<ul>
<li><em>Update existing records if a matching user membership is found</em> – Enable this if you’d like to merge or update memberships from the uploaded CSV. If enabled, when the user membership ID column matches an existing membership, that membership will be updated with your uploaded data. When this setting is disabled, rows with matching user membership IDs are skipped.</li>
<li><em>Allow membership transfer between users…</em> (only shown if “Update existing records… is enabled) – If enabled, when a user membership is matched, but the <strong>user ID</strong> doesn’t match the current member, the membership will be transferred to the new user in the CSV. When disabled, rows that have mismatched user membership IDs / users will be skipped.</li>
<li><em>Create new user memberships if a matching user membership ID isn’t found</em> – If enabled, when an existing user membership can’t be located from the CSV data, a new one will be created. When disabled, rows with user memberships that can’t be matched will be skipped.</li>
<li><em>Create a new user if no matching user is found</em> – When enabled, if an imported row contains data that doesn’t match an existing user (user ID, username, and email are checked in order), then a new user is created and this membership is assigned to the new user. When disabled, rows without matching users are skipped.</li>
<li><em>Send new account notification emails when creating new users during an import</em> – When enabled, if a new user is created, they’ll be sent the default WooCommerce “New Account” email.</li>
</ul>
</li>
<li><strong>Default Start Date</strong> – When “Create new user memberships…” is enabled, this field is shown. Select a default starting date for any memberships that are created via import; this default is used when the <code>member_since</code> column is blank.</li>
<li><strong>Dates timezone</strong> – Select whether the <code>member_since</code> and <code>membership_expiration</code> dates in your file are in your site’s timezone or in UTC. The export default is the site timezone.</li>
<li><strong>Fields are separated by</strong> – Select the delimiter for your CSV file. Defaults to comma — only change this if you know what you’re doing.</li>
</ul>
<p>When you’ve added your CSV file and selected your import options, you can click “Upload File and Import”. The file will be analyzed, and members will be imported or updated based on your settings. The plugin will then display a summary of the import for you.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-161691" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png?w=949" sizes="(max-width: 949px) 100vw, 949px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png 949w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png?resize=550,421 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-successful-import.png?resize=768,588 768w" alt="WooCommerce Memberships successful import" width="949" height="727" /></a></p>
<h3 id="section-9">Troubleshooting imports</h3>
<ul>
<li>You see a “Could not find User Memberships to import from uploaded file.” error: This means your CSV is either missing required information, or is unreadable. Please <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-import-and-export/#csv-format">check your CSV format</a> to ensure the required information is present and all column headers are named <strong>exactly</strong> as they are in our table. If this is correct, please upload your CSV file to Google Sheets and re-download it, as its format is probably at fault.</li>
<li>Your import dies in the middle of the process without importing all members: This most likely indicates that you’re importing a larger number of members than your server can handle. Please break your CSV file up and re-try the import, as you can import multiple times. First try breaking the import into half, then in half again, etc, until your import completes successfully. Typically you should be able to import a few thousand rows without issue, but this depends on your hosting environment.</li>
</ul>
<p>If these troubleshooting steps do not help you, please <a href="https://woocommerce.com/my-account/create-a-ticket/">submit a help request</a> and we’d be happy to assist.</p>
<p>&nbsp;</p>
<h2 id="section-10">Frequently asked questions</h2>
<p><strong>Q: Can I set passwords for members on import?</strong><br />
<strong>A:</strong> Setting passwords if you create new users is not possible via an import file; the new user will have a password generated by WordPress.</p>
<p>If you’d like to notify new users to allow them to set their password after the account has been created, please enable “Send new account notification emails when creating new users during an import”.</p>
<hr />
<p><strong>Q: Can I add the customer’s data like the phone number to the export file?</strong><br />
<strong>A:</strong> The export only currently includes data related to the user membership itself. If you wanted to add additional customer data to this export file, you would need the help of a developer to modify the export file. You could consider 2 options:</p>
<ul>
<li>Use the <a href="https://help.codibu.com/blog/kb/woocommerce-customer-order-coupon-export-developer-documentation/">Customer / Order CSV Export</a> as a starting point, and modify the customer export query to only include users with memberships (this would give you an export of members only with all customer data, but not membership-specific data, but this could be added).</li>
<li>Modify the Memberships export file via custom code to add additional columns as needed to the member export. You can find ample filters in the <code>/includes/utilities/class-wc-memberships-csv-export-user-memberships.php</code> file to modify the export output as needed.</li>
</ul><p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-import-and-export/">WooCommerce Memberships Import and Export</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-memberships-import-and-export/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Memberships Restrict Content</title>
		<link>https://help.codibu.com/blog/woocommerce-memberships-restrict-content/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-memberships-restrict-content</link>
					<comments>https://help.codibu.com/blog/woocommerce-memberships-restrict-content/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 13:42:20 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-memberships-restrict-content/</guid>

					<description><![CDATA[<p>WooCommerce Memberships provides several methods for restricting content on your site. You can restrict content while creating or editing a membership plan, by adding rules from the<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-restrict-content/">WooCommerce Memberships Restrict Content</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><a href="https://help.codibu.com/blog/kb/woocommerce-memberships-2/">WooCommerce Memberships</a> provides several methods for restricting content on your site. You can restrict content while creating or editing a membership plan, by adding rules from the Memberships meta box while editing content, or by using a shortcode.</p>
<p><strong>Note that</strong> if no rules are applied to content, that content is publicly accessible. Once a rule has been applied to content, that content is restricted, and only accessible to memberships that grant access to that content.</p>
<p>&nbsp;</p>
<h2 id="section-1">Rules hierarchy: which rules override others</h2>
<p>There are situations in which restriction rules could overlap. For example, you could have a restriction set that members can access the “Coffee” category of posts, but only after 1 week has passed. All posts in this category will now abide by this rule.</p>
<p>However, if you also create a rule for the “Moka Latte” post in the “Coffee” category, you could say that this post is restricted, but accessible immediately. This introduces a conflict, as both of these rules apply to the same content.</p>
<p>When this occurs, Memberships always defers to the <strong>more specific rule</strong>. In this case, the post will be accessible immediately, because a rule for the post is more specific than a rule for the entire category.</p>
<p>Here are the basic rules that Memberships follows:</p>
<ul>
<li>Rules that restrict an <strong>entire content type</strong>, such as all blog posts, are put into effect first.</li>
<li>They can be overridden by more specific rules. You can restrict all blog posts, but then set rules for categories or single posts.</li>
<li>A rule for blog post categories or tags (taxonomies) will override a rule for all posts, as it is more specific.</li>
<li>A rule for a single blog post or group of posts will override both rules for an entire content type and for a taxonomy, as this rule is most specific.</li>
<li>If two rules are of equal specificity, the rule that grants access first will be followed *.</li>
</ul>
<p>*Example: If a post is in both the “Marvel Superheroes” and “Avengers” categories, rules could be applied to both of these categories that conflict. If “Marvel Superheroes” is accessible after two weeks, and “Avengers” is accessible after one week, the post will be accessible in one week. The <strong>earlier access rule</strong> will always be used.</p>
<p>This can help you expedite setup, as you may want to delay access to a category, but provide access to one or two posts immediately.</p>
<p>&nbsp;</p>
<h2 id="section-2">Membership plan page</h2>
<p>Restricting content while creating or editing a membership plan provides the most control over content restriction. While editing a plan, you can restrict all pages, posts, categories, or other types of content easily.</p>
<figure id="attachment_157698" class="wp-caption aligncenter" aria-describedby="caption-attachment-157698"><figcaption id="caption-attachment-157698" class="wp-caption-text">Plan Content Restriction</figcaption></figure>
<p>You can also create specific restriction rules for individual posts, pages, or taxonomies (such as categories), and determine when members should get access to this content (immediately or after a certain time has passed).</p>
<p>You can learn more about creating plans in the <a>Membership Plans document</a>.</p>
<p>&nbsp;</p>
<h2 id="section-3">Product restriction</h2>
<p>Product restriction is unique because either <strong>viewing or purchasing</strong> restrictions can be used. Products can be restricted from the plan page as described above, but they can also be restricted while editing the product.</p>
<p>Because products can both grant access to memberships, as well as be restricted by memberships, the product meta box is slightly different from the default Memberships meta box.</p>
<p>To restrict a product while editing it, view the “Memberships” box, and go to “Restrict Content”.</p>
<figure id="attachment_157941" class="wp-caption aligncenter" aria-describedby="caption-attachment-157941"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-meta-box.png"><img loading="lazy" decoding="async" class="size-full wp-image-157941" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-meta-box.png" sizes="(max-width: 911px) 100vw, 911px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-meta-box.png 911w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-meta-box.png?resize=550,260 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-meta-box.png?resize=768,363 768w" alt="WooCommerce memberships restrict product" width="911" height="431" /></a><figcaption id="caption-attachment-157941" class="wp-caption-text">Restrict a Product while editing</figcaption></figure>
<p>You can create a rule here that will restrict this product to the selected plan, just as if it were added from the plan page.</p>
<p><strong>Note that</strong> if you already have restrictions in place that affect more products (i.e., a category-level restriction that affects this product), you cannot edit it from here and must edit it from the plan page.</p>
<figure id="attachment_157745" class="wp-caption aligncenter" aria-describedby="caption-attachment-157745"><figcaption id="caption-attachment-157745" class="wp-caption-text">Rules disabled</figcaption></figure>
<p>&nbsp;</p>
<h2 id="section-4">Content restriction</h2>
<p>The Memberships restriction meta box will be added to your pages, posts, and other content while Memberships is active. This will allow you to add membership restriction rules on the fly as you edit or create content.</p>
<figure id="attachment_157942" class="wp-caption aligncenter" aria-describedby="caption-attachment-157942"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-content-meta-box1.png"><img loading="lazy" decoding="async" class="size-full wp-image-157942" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-content-meta-box1.png" sizes="(max-width: 712px) 100vw, 712px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-content-meta-box1.png 712w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-content-meta-box1.png?resize=550,320 550w" alt="WooCommerce Memberships content meta box" width="712" height="414" /></a><figcaption id="caption-attachment-157942" class="wp-caption-text">Memberships Meta Box</figcaption></figure>
<p>To restrict a page or post while it’s being edited, simply add a rule to restrict the content to a particular membership plan.</p>
<p>You can also use custom restriction messages if you’d like to tailor the restriction notice to this content. If enabled, this will override the default / global restriction message set under WooCommerce &gt; Settings &gt; Memberships &gt; Messages.</p>
<p>&nbsp;</p>
<h2 id="section-5">Making content public</h2>
<p>If you’ve restricted content, you can still make it public (version 1.1+). While viewing your post, page, product etc., you can disable restrictions. This overrides any and all rules that apply to the content, making it publicly accessible for everyone. This can be done from the “Memberships” meta box while creating or editing the content.</p>
<figure id="attachment_157939" class="wp-caption aligncenter" aria-describedby="caption-attachment-157939"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-make-post-public.png"><img loading="lazy" decoding="async" class="size-full wp-image-157939" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-make-post-public.png" sizes="(max-width: 746px) 100vw, 746px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-make-post-public.png 746w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-make-post-public.png?resize=550,507 550w" alt="WooCommerce Memberships Make content public" width="746" height="688" /></a><figcaption id="caption-attachment-157939" class="wp-caption-text">Public content action</figcaption></figure>
<p>This is an easy way to make teaser content public. For example, you could restrict all posts with a single rule, and then use the “Disable restrictions” option to make some public as a teaser for your membership.</p>
<p>If you have public content with restrictions disabled on your site, this will be listed on the membership plan page for reference.</p>
<figure id="attachment_157938" class="wp-caption aligncenter" aria-describedby="caption-attachment-157938"><figcaption id="caption-attachment-157938" class="wp-caption-text">Public Content List</figcaption></figure>
<p>&nbsp;</p>
<h2 id="section-6">Restrict content with Memberships Gutenberg blocks</h2>
<p>In Memberships 1.15+, you can use Memberships blocks in the Gutenberg editor to easily restrict content to members and non-members.</p>
<ul>
<li>The <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-restrict-content/#gutenberg-blocks-member-content">Member Content</a> block restricts content to plan members. You can specify which plan(s) a user must belong to in order to see the content, as well as determine when this content should be visible.</li>
<li>The <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-restrict-content/#gutenberg-blocks-non-member-content">Non-Member Content</a> block restricts content to visitors and other non-members. You can specify certain plans that a user must not belong to in order to see the content.</li>
</ul>
<p>&nbsp;</p>
<h3 id="section-7">Using Member Content blocks</h3>
<p>Follow the steps below to setup a Member Content block for a page or post:</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li>Click <strong>Add Block</strong> and select the <strong>Member Content</strong> block.</li>
<li>In the <strong>Block</strong> settings panel, you’ll see the following options:
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Membership plans</strong>: Specify one or more plans that a user must belong to in order to see the restricted content. If left blank, members of any plan can see this content.</li>
</ul>
</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-membership-plans.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794278" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-membership-plans.png?w=283" alt="" width="283" height="487" /></a></p>
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Delay access</strong>: Determine when members can see this content – immediately, after they’ve been a plan member for a certain length of time, or after a specific date. If you’re using <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-subscriptions-integration/" rel="noopener noreferrer">WooCommerce Subscriptions</a>, you can also hide this block until after the free trial period.</li>
</ul>
</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-delay-access.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794279" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-delay-access.png?w=283" sizes="(max-width: 283px) 100vw, 283px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-delay-access.png 283w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-delay-access.png?resize=222,550 222w" alt="" width="283" height="702" /></a></p>
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Restricted content message</strong>: Decide what users who do not have access to this block should see instead of the restricted content. By default, the block will be invisible to those without proper access, but you can also use your <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-settings/#section-8" rel="noopener noreferrer">default restriction message</a> or create a custom message.</li>
</ul>
</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-restricted-content-message.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794280" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-restricted-content-message.png?w=268" sizes="(max-width: 268px) 100vw, 268px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-restricted-content-message.png 268w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content-restricted-content-message.png?resize=178,550 178w" alt="" width="268" height="829" /></a></p>
</li>
<li>You can add text or insert other blocks inside the Member Content block. All content within the block will be restricted based on your block settings.</li>
</ol>
</li>
</ol>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794281" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content.png?w=780" sizes="(max-width: 780px) 100vw, 780px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content.png 780w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content.png?resize=481,550 481w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-member-content.png?resize=768,878 768w" alt="" width="780" height="892" /></a></p>
<ol>
<li>When you’re satisfied with your page or post, click <strong>Publish</strong>. You can visit the site to see how it will appear to members, or visit the page in an Incognito window to see how it will appear to non-members.</li>
</ol>
<p>&nbsp;</p>
<h3 id="section-8">Using Non-Member Content blocks</h3>
<p>Follow the steps below to setup a Non-Member Content block for a page or post:</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li>Click <strong>Add Block</strong> and select the <strong>Non-Member Content</strong> block.</li>
<li>In the <strong>Block</strong> settings panel, you’ll see the following options:
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Membership plans</strong>: Specify one or more plans that a user <strong>must not</strong>belong to in order to see the restricted content. If left blank, users who don’t belong to any plan can see this content.</li>
</ul>
</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content-membership-plans.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794282" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content-membership-plans.png?w=282" alt="" width="282" height="413" /></a></p>
</li>
<li>You can add text or insert other blocks inside the Non-Member Content block. All content within the block will be restricted based on your block settings.</li>
</ol>
</li>
</ol>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794283" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content.png?w=784" sizes="(max-width: 784px) 100vw, 784px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content.png 784w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content.png?resize=550,305 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-gutenberg-non-member-content.png?resize=768,426 768w" alt="" width="784" height="435" /></a></p>
<ol>
<li>When you’re satisfied with your page or post, click <strong>Publish</strong>. You can visit the site to see how it will appear to members, or visit the page in an Incognito window to see how it will appear to non-members.</li>
</ol>
<p>&nbsp;</p>
<h2 id="section-9">Restriction shortcode</h2>
<p>The <code>[wcm_restrict]</code> shortcode provides an easy way to restrict blocks of content within a page or post. This is most useful when you don’t want to restrict an entire page or post, but portions of the content should only be visible to members, such as tutorial videos or infographics. This <strong>will not</strong> show a restriction message, so you can use the <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-restrict-content/#nonmember-shortcode">non-member shortcode</a> if you’d like to add a restriction message.</p>
<p>There are three accepted attributes, but they are all optional:</p>
<ul>
<li><code>plans</code>: the plan slugs or IDs to limit the wrapped content to certain members</li>
<li><code>delay</code>: delays access to the wrapped content by a certain time, or makes it available on a particular date</li>
<li><code>start_after_trial</code>: delays access to the wrapped content until a trial period is over (when WooCommerce Subscriptions is in use)</li>
</ul>
<p>Wrapping the content in this shortcode will hide it unless the member is logged in and has the appropriate access. Here are some ways this shortcode can be used:</p>
<h3 id="section-10">Restrict content to members only</h3>
<p>When used it its most general form, this shortcode will restrict content to any member on your site, regardless of which membership plan the member has. The general format is: <code>[wcm_restrict]Restricted Content[/wcm_restrict]</code></p>
<pre>This is public content.

[wcm_restrict]
This content is only visible to members, regardless of which membership the member has.
[/wcm_restrict]

This content is now public again.
</pre>
<h3 id="section-11">Restrict content to specific members</h3>
<p>The shortcode can also accept an attribute to limit the content to specific members. We can add the “plans” argument to restrict this content even further to certain members: <code>[wcm_restrict plans="gold, platinum"]Restricted Content[/wcm_restrict]</code></p>
<p>You must use the appropriate slugs for your membership plans, which can be viewed from the plans list or by editing the plan.</p>
<p>You can use the plan ID instead of the slug if preferred (which is the same as the WordPress post ID).</p>
<pre>This is public content.

[wcm_restrict plans="gold, platinum"]
This content is only visible to gold or platinum members. Members with other plans or non-members cannot see this.
[/wcm_restrict]

This content is now public again.
</pre>
<h3 id="section-12">Delay restricted content access</h3>
<p>There are two ways to delay the access members have to content wrapped in the shortcode:</p>
<ul>
<li>delay access for a length of time (e.g., 2 weeks)</li>
<li>delay access until a certain date (e.g., January 1, 2016)</li>
</ul>
<p>Delaying access for a length of time can accept any time for the <code>delay</code> argument, such as: &#8220;3 days&#8221;, &#8220;2 weeks&#8221;, &#8220;1 month&#8221;, or &#8220;2 years&#8221;</p>
<pre>[wcm_restrict delay="2 weeks"]
This content will be available to members of any plan once they've been a member for two weeks.
[/wcm_restrict]
</pre>
<p>Delaying until a date can accept several date formats, but we recommend using the ISO standard (yyyy-mm-dd). For example, you can use: &#8220;January 1, 2016&#8221; or &#8220;2016-01-01&#8221;</p>
<pre>[wcm_restrict delay="2016-01-01"]
This content will be available to members of any plan on January 1, 2016.
[/wcm_restrict]
</pre>
<p><strong>NOTE:</strong> If you use a time, such as &#8220;May 1&#8221; with no year, be aware that this access may reset each year. For example, this content will be available May 1, 2015 to December 31, 2015, then access will reset and the content is inaccessible again from January 1, 2016 to May 1, 2016. Please ensure that you include a year to be specific about the access date.</p>
<p>You can also delay access based on <strong>trial status</strong>.</p>
<pre>[wcm_restrict start_after_trial="yes"]
This content will be available to all members except those in a free trial from a subscription. They will have access when the free trial ends and the membership moves from "Free Trial" to "Active" status.
[/wcm_restrict]
</pre>
<h3 id="section-13">Using all shortcode attributes</h3>
<p>Any or all attributes can be used at a given time to control content access and access delay. For example, you can use all three attributes to restrict access to particular members at a certain time:</p>
<pre>[wcm_restrict plans="gold, silver" delay="1 week" start_after_trial="yes"]
This content is available to any silver or gold member one week after the trial period ends. If the membership doesn't have a trial period, access is simply delayed 1 week.
[/wcm_restrict]
</pre>
<p>&nbsp;</p>
<h2 id="section-14">Non-member shortcode</h2>
<p>Since shortcodes do not display restriction notices, you may want to give your non-members a notice to log in or purchase a membership. You can do so with the <code>[wcm_nonmember]</code> shortcode, which displays portions of content <strong>only to non-members</strong>. Non-members are guest users or customers who are logged in, but do not have a membership.</p>
<p>The general format is: <code>[wcm_nonmember]Non-member Content[/wcm_nonmember]</code></p>
<pre>This is content everyone sees!

[wcm_nonmember]
Whoops, this video is for members only. If you have a membership, please log in. If not, you can definitely get access! &lt;a href="/membership/"&gt;Purchase a membership here&lt;/a&gt;.
[/wcm_nonmember]

[wcm_restrict]
Embedded video displayed to members only.
[/wcm_restrict]

Now we're talking to everyone again.
</pre>
<h3 id="section-15">Specifying plans</h3>
<p>(Version 1.9+) The non-member shortcode can specific plans if you want to alter its behavior slightly. If you add a “plans” attribute, this will no longer only target non-members; rather, it will target all visitors who are not active members <strong>of the specified plan(s)</strong>.</p>
<p>An example:</p>
<pre>[wcm_restrict plans="gold"]
Content only shown to gold members
[/wcm_restrict]

[wcm_nonmember plans="gold"]
Content shown to anyone who is not a gold member, even other members
[/wcm_nonmember]
</pre>
<p>You can enter a list of one or more plans in this shortcode:</p>
<pre>[wcm_nonmember plans="gold, silver"]
This is shown to anyone who does not have a silver OR gold membership active.
[/wcm_nonmember]
</pre>
<p>&nbsp;</p>
<h3 id="section-16">Upgrade prompts</h3>
<p>When paired with <code>[wcm_restrict]</code> to target certain plans, you can dynamically display content appropriate to the member’s level. Remember, if a member has multiple memberships, they may see multiple messages.</p>
<p>Here’s an example of building a page that shows content only to certain members:</p>
<pre>[wcm_nonmember]
Hey there! You've stumbled onto a members-only video :). If you'd like to check out this video, please purchase a Platinum Membership.
[/wcm_nonmember]

[wcm_restrict plans="silver, gold"]
Hey Member! Thanks for checking this page out -- however, it's restricted to Platinum-level members only. If you'd like to access it, please purchase to a Platinum Membership.
[/wcm_restrict]

[wcm_restrict plans="platinum"]
The super secret video for platinum members goes here.
[/wcm_restrict]</pre><p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-restrict-content/">WooCommerce Memberships Restrict Content</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-memberships-restrict-content/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Memberships User Memberships</title>
		<link>https://help.codibu.com/blog/woocommerce-memberships-user-memberships/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-memberships-user-memberships</link>
					<comments>https://help.codibu.com/blog/woocommerce-memberships-user-memberships/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 13:41:13 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-memberships-user-memberships/</guid>

					<description><![CDATA[<p>WooCommerce Memberships allows your customers to have one or more memberships, and these can be purchased or manually assigned by a shop admin / manager. Memberships are<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-user-memberships/">WooCommerce Memberships User Memberships</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><a href="https://help.codibu.com/blog/kb/woocommerce-memberships-2/">WooCommerce Memberships</a> allows your customers to have one or more memberships, and these can be purchased or manually assigned by a shop admin / manager.</p>
<p>Memberships are activated once an order is paid for (processing or completed status) that includes a product that grants access to the membership. They can also be activated manually by a shop administrator.</p>
<p>If a membership is tied to a subscription, then it’s tied into all subscription actions as well:</p>
<ul>
<li>If the subscription is active, the membership is active and will not expire — it stays active so long as the subscription is.</li>
<li>If the subscription is suspended, the membership is paused (which stops access to restricted content).</li>
<li>If the subscription is cancelled, the membership is cancelled.</li>
</ul>
<p>Using <a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions/">WooCommerce Subscriptions</a> can allow your customers to upgrade or downgrade their memberships as well. Please see our <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-subscriptions-integration/">document on the Subscriptions integration</a> for more details.</p>
<p>&nbsp;</p>
<h2 id="section-1">Managing user memberships</h2>
<p>User Memberships can be viewed from <strong>WooCommerce &gt; Memberships &gt; Members</strong>. This list will include each membership on your site, so if a user has more than one membership, that user will be listed multiple times.</p>
<figure id="attachment_157728" class="wp-caption aligncenter" aria-describedby="caption-attachment-157728"><figcaption id="caption-attachment-157728" class="wp-caption-text">Member List</figcaption></figure>
<p>From this list, you can edit, pause, cancel, or delete memberships by hovering on the user’s name. You can also select multiple users to perform a bulk edit. The only bulk action available is to change the membership status for the selected individuals.</p>
<p>If you only want to view certain memberships, you can filter memberships by:</p>
<ol>
<li><strong>Plan type</strong> (i.e., view only silver memberships)</li>
<li><strong>Memberships status</strong> (i.e., view only expired memberships)</li>
<li><strong>Expiration</strong>: view plans that expire today, this week, or this month</li>
</ol>
<p>&nbsp;</p>
<h3 id="section-2">View or edit members</h3>
<p>When you click on a member’s name or the “Edit” action, you’ll be taken to the member management screen. From here, you can edit all memberships that a user has using the tabs to switch between memberships.</p>
<figure id="attachment_157730" class="wp-caption aligncenter" aria-describedby="caption-attachment-157730"><figcaption id="caption-attachment-157730" class="wp-caption-text">Edit / Manage member</figcaption></figure>
<p><strong>Member Details</strong> will show you static information about the member: avatar, email, name, and billing address.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-details.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-157731" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-details.png" alt="WooCommerce memberships member details" width="294" height="502" /></a></p>
<p><strong>Recent Activity</strong> will show you recent activity for all memberships tied to this user — status changes, notes, etc. The last 5 notes will be shown, and will display which membership the activity is related to.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-recent-activity.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-157732" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-recent-activity.png" alt="WooCommerce Memberships recent activity" width="292" height="515" /></a></p>
<p><strong>Membership Details</strong> will show plan details and allow you to edit them. Each membership is displayed in a tabbed layout so you can switch between a user’s memberships.</p>
<p>&nbsp;</p>
<p>You can view or change the plan type, status, membership start date, and membership end date. The billing section will show you details on how the membership was purchased.</p>
<p><strong>Membership Notes</strong> show both automatically generated member notes (such as purchase details and status changes) and manually added notes for the membership being viewed. You can <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-user-memberships/#notes">read more</a> on membership notes below.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3 id="section-3">Transfer memberships</h3>
<p>You can transfer memberships from one user on your site to another using the membership “Transfer” action. When clicked, this will prompt you to select another user for the membership, or to create a new user for the membership.</p>
<figure id="attachment_629520" class="wp-caption aligncenter" aria-describedby="caption-attachment-629520"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png"><img loading="lazy" decoding="async" class="size-large wp-image-629520" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png 2078w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?resize=550,278 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?resize=768,388 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?resize=950,480 950w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?resize=1536,776 1536w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-transfer-user-membership.png?resize=2048,1035 2048w" alt="WooCommerce Memberships Transfer User Membership" width="950" height="480" /></a><figcaption id="caption-attachment-629520" class="wp-caption-text">Transfer Membership</figcaption></figure>
<p>When transferred, all membership data will stay the same (order data for which the membership was purchased, linked subscriptions, etc) and only the user who owns the membership changes.</p>
<p>&nbsp;</p>
<h2 id="section-4">User membership statuses</h2>
<p>User Memberships can have one of several statuses to help you manage members and content access. Some statuses are used automatically when memberships are purchased, some are only used as the result of manual actions, and some tie into Subscriptions if a subscription grants access to the membership.</p>
<table>
<thead>
<tr>
<th>STATUS</th>
<th>USED WHEN…</th>
<th>MEMBER CAN ACCESS RESTRICTED CONTENT?</th>
<th>MEMBER CAN CANCEL?</th>
</tr>
</thead>
<tbody>
<tr>
<td>Active</td>
<td>A membership is active upon purchase (processing / completed order) or when created by an administrator</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Free Trial</td>
<td>Only used if Subscriptions is active and a membership is tied to a subscription with a free trial; will be moved to active when the trial is over. Cannot be manually assigned</td>
<td>Yes*</td>
<td>Yes</td>
</tr>
<tr>
<td>Complimentary</td>
<td>Only used for manual membership status changes; helpful to designate if a free membership has been given.</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>Delayed</td>
<td>Used for memberships with a fixed start and end date before the membership has started; will allow members to see what they will have access to in the member area, but they cannot access perks yet.</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>Pending Cancellation</td>
<td>Used with Subscriptions (v2.0+) and ties into the subscription’s “pending cancellation” status automatically. When a subscription is pending cancellation, the membership will be pending cancellation.</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>Paused</td>
<td>1. Admin manually pauses a membership<br />
2. Member suspends a subscription that the membership is tied to</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>Expired</td>
<td>Used when a set-length membership runs out / expires</td>
<td>No</td>
<td>n/a</td>
</tr>
<tr>
<td>Cancelled</td>
<td>Used when a member or admin cancels the membership or subscription to which the membership is tied</td>
<td>No</td>
<td>n/a</td>
</tr>
</tbody>
</table>
<p>*If you’ve delayed content access until after the free trial, the member cannot access it in the trial period. Memberships let you determine which content is included in the trial period so you don’t have to provide access to some content while a subscription is in the trial state.</p>
<p>Members can <strong>renew</strong> a set-length membership if its status is ‘expired’ by re-purchasing the product that granted access or clicking “Renew” from My Account &gt; Memberships:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-629528" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png 2184w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?resize=550,239 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?resize=768,334 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?resize=950,413 950w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?resize=1536,668 1536w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-expired.png?resize=2048,891 2048w" alt="WooCommerce Memberships: Renew expired membership" width="950" height="413" /></a></p>
<p>&nbsp;</p>
<h3 id="section-5">Notes on status changes</h3>
<p>For the most part, membership statuses are automated. For example, when a set-length membership is purchased, the “Active” status is used automatically, and the status changes to “Expire” when the membership runs out, or “Cancelled” if the member cancels the membership.</p>
<p>When a subscription membership is purchased, the status will be “Free trial” if a trial exists, or “Active” if no trial exists. Membership status changes will automatically change with the subscription status.</p>
<p>There are some actions you should be aware of that will trigger status changes.</p>
<ul>
<li>When an order that contained a membership product is <strong>marked refunded</strong> (the order status is changed to “Refunded”), then the membership purchased in that order will be cancelled.</li>
<li>When an <strong>order is trashed</strong> that contains a membership product, the membership purchased in that order will be cancelled.</li>
<li>If a <strong>subscription is cancelled or trashed</strong> that has a membership tied to it, then the membership tied to that subscription will be cancelled.</li>
<li>If a <strong>subscription is suspended</strong> that has a membership tied to it, then the membership tied to that subscription will be paused.</li>
</ul>
<p>&nbsp;</p>
<h2 id="section-6">Membership notes</h2>
<p><strong>Membership notes</strong> work very similar to WooCommerce order notes, and allow you to track information about, and changes to, user memberships.</p>
<p>Some notes are automatically generated — membership purchases and status changes will generate notes for record keeping.</p>
<p>You can add notes manually to track membership details (i.e., spoke with customer on June 1), or can opt to send the note to the member by clicking “Notify Member”.</p>
<p>These notes can help you track why changes were made (i.e., why the status was changed to “complimentary”), or give you a quick way to get in touch with a specific member.</p>
<p>Notes emailed to a member will have a purple background instead of the default gray to indicate they were sent to the member:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-notes.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10560" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-notes.png" alt="" width="557" height="552" /></a></p>
<h2 id="section-7">Manually creating user memberships</h2>
<p>You can manually create a membership for a customer or any WordPress user in a few steps by going to <strong>WooCommerce &gt; Memberships &gt; Members</strong>.</p>
<p>First, click the “Add Members” button next to the “Members” title:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-member-1.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-157738" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-member-1.png" alt="WooCommerce Memberships manually add member 1" width="351" height="321" /></a></p>
<p>You can enter the name (or username) of the user for whom you’d like to add a membership. This will search for the user, and you can select the appropriate user from the list. Or, you can opt to create a new user for this membership:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-629550" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png 1736w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png?resize=550,330 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png?resize=768,461 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png?resize=950,570 950w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-1.png?resize=1536,922 1536w" alt="WooCommerce Memberships add new member, step 1" width="950" height="570" /></a></p>
<p>Once you’ve selected the user or entered the details for the new user, click “Add Member”:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-629551" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png 1428w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png?resize=550,320 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png?resize=768,446 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-add-new-member-2.png?resize=950,552 950w" alt="WooCommerce Memberships add new member, step 2" width="950" height="552" /></a></p>
<p>You can now edit the details of the membership, such as the plan and expiration date.</p>
<figure id="attachment_157730" class="wp-caption aligncenter" aria-describedby="caption-attachment-157730"><figcaption id="caption-attachment-157730" class="wp-caption-text">Edit / Manage member</figcaption></figure>
<p>&nbsp;</p>
<h2 id="section-8">Granting access for previous purchases</h2>
<p>If you’d like to grant access to customers who have purchased a particular product before Memberships was activated, you can do so with our previous purchase import. As an aside, if you use the Groups plugin on your site, you can also import members from Groups (please view our <a href="https://docs.woocommerce.com/document/woocommerce-memberships-groups-integration/">Groups integration document</a> for help).</p>
<p>Here’s an overview of how the process works:</p>
<ul>
<li>Let’s assume a Silver membership is purchasable via the “Monthly Snack Box” product.</li>
<li>You’d like to grant memberships to customers who purchased this “Monthly Snack Box” already before it also granted access to the membership or before the Memberships plugin was installed.</li>
<li>By following this routine, Memberships will search for any processing or completed orders that contain the “Monthly Snack Box” product and grant access to this customer.</li>
<li>If the customer already has access to the membership, or the purchase was a guest purchase, the order / customer is skipped.</li>
<li>Any new memberships created from this process will also have expiration dates (if your membership expires) and respect dripping rules. The import date is considered day 1 of the membership, <strong>not</strong> the purchase date.</li>
</ul>
<h3 id="section-9">Grant Previous Purchase Access</h3>
<p>Go to the Membership Plan you’d like to grant access to under WooCommerce &gt; Memberships &gt; Membership Plans. When you click on the plan to edit it, be sure that all products are already assigned to grant access to the membership. The import process will check orders for these products to grant access.</p>
<p>Click “Grant Access” next to “Existing purchases” to begin this workflow.</p>
<p>You’ll see a notice that informs you of the following:</p>
<ul>
<li>If this membership exists already for the customer, a new one will not be created.</li>
<li>If a customer has purchased this product, but does not yet have a membership, one will be created and will use the expiration length, etc., included in the plan.</li>
<li>If the membership can be purchased via a subscription, only active subscribers with this subscription will have a membership created.</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967340" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png 1084w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png?resize=550,292 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png?resize=768,408 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-grant-access.png?resize=950,505 950w" alt="WooCommerce Memberships grant retroactive access" width="950" height="505" /></a></p>
<p>Clicking “Grant access” will begin the import.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-past-access-granted.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-157743" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-past-access-granted.png" alt="WooCommerce memberships access granted" width="424" height="167" /></a></p>
<p>You’ll be notified of the number of imported members as soon as the import completes.</p>
<p>&nbsp;</p>
<h3 id="section-10">Important notes</h3>
<p>Here are a few behaviors of which you should be aware while using this import wizard.</p>
<ul>
<li>When users are imported, the membership plan’s settings will be respected in terms of content access and expiration. For example, if a membership is valid for one year, and the member is imported from a previous purchase, then the membership will expire one year after the import date.</li>
<li>Membership plans will not be created if the user already has access to a plan.</li>
<li><strong>Large imports</strong>: If your site is importing a large number of members from previous purchases (i.e., over 2000 users), this process may take some time to complete. You must <strong>leave your browser window open</strong> to complete this import; closing the window will halt its progress.</li>
</ul><p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-user-memberships/">WooCommerce Memberships User Memberships</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-memberships-user-memberships/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Memberships Settings</title>
		<link>https://help.codibu.com/blog/woocommerce-memberships-settings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-memberships-settings</link>
					<comments>https://help.codibu.com/blog/woocommerce-memberships-settings/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 13:36:17 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-memberships-settings/</guid>

					<description><![CDATA[<p>This document offers details on WooCommerce Memberships settings and content restriction modes. Memberships allows you to determine how your restricted content should be presented to non-members<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-settings/">WooCommerce Memberships Settings</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>This document offers details on WooCommerce Memberships settings and content restriction modes. Memberships allows you to determine how your restricted content should be presented to non-members and lets you control the messaging used when content is restricted.</p>
<p>If you’d like to index some of your protected content for SEO, you can do so with <strong>excerpts enabled</strong>; you should use “Hide content only” or “Redirect to page” as your restriction mode to do so (we recommend using “Hide content only”).</p>
<p>&nbsp;</p>
<h2 id="section-1">Restriction modes</h2>
<p>When setting up Memberships, you’ll first need to understand the restriction modes available to hide your content from non-members. Members will see content in its entirety if they have access, but non-members can see a few different things depending on these settings.</p>
<h3 id="section-2">Hide completely</h3>
<p>If you choose to hide content completely from non-members, it will be completely hidden until a membership is purchased or the member with access logs in. This means that restricted blog posts, products, or other content will not be accessible on your site at all and trying to access restricted content will <strong>lead to a 404 page</strong>.</p>
<p>Restricted posts or other content will not show up in archives, such as your shop or blog archive. If a non-member tries to visit the URL for restricted content, a 404 page will be displayed.</p>
<p><strong>Comments</strong> on restricted content are hidden as well since the content cannot be accessed.</p>
<p>As a result, <strong>search engines</strong> cannot index restricted content. This mode should be used if you want membership content to be completely private.</p>
<h3 id="section-3">Hide content only</h3>
<p>Hiding content only will restrict content and comments unless a member has access. It differs from hiding completely because restricted content will appear in archives and on your site (such as your blog or shop page).</p>
<p>If content is hidden, restricted pages, posts, and content can be accessed, but none of the content will be displayed. Instead, a restriction notice is shown (only the title and featured image are available).</p>
<figure id="attachment_1116422" class="wp-caption aligncenter" aria-describedby="caption-attachment-1116422"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-no-excerpt.png"><img loading="lazy" decoding="async" class="size-large wp-image-1116422" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-no-excerpt.png?w=826" sizes="(max-width: 826px) 100vw, 826px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-no-excerpt.png 826w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-no-excerpt.png?resize=550,393 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-no-excerpt.png?resize=768,549 768w" alt="WooCommerce Memberships Hide Content Only Mode" width="826" height="590" /></a><figcaption id="caption-attachment-1116422" class="wp-caption-text">“Hide content only” display</figcaption></figure>
<p>This is helpful if you want to “tease” restricted content in order to sell your memberships, as non-members can see that this content exists, but cannot access it and will encounter a restriction notice if they try to view the content.</p>
<p>“Hide content only” allows you to <strong>optionally show excerpts</strong> of content, which will display excerpts to both visitors and search engines.</p>
<div class="woo-sc-box normal   "><strong><img decoding="async" class="emoji" role="img" draggable="false" src="https://help.codibu.com/wp-content/uploads/2022/03/1f4e3.svg" alt="&#x1f4e3;" /> Free add-on available!</strong> Easily <a href="https://www.skyverge.com/product/woocommerce-memberships-excerpt-length/" target="_blank" rel="noopener noreferrer">adjust the excerpt length with this add-on</a> so you can control the amount of preview content available to non-members.</div>
<figure id="attachment_1116423" class="wp-caption aligncenter" aria-describedby="caption-attachment-1116423"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-with-excerpt.png"><img loading="lazy" decoding="async" class="size-large wp-image-1116423" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-with-excerpt.png?w=821" sizes="(max-width: 821px) 100vw, 821px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-with-excerpt.png 821w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-with-excerpt.png?resize=550,492 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-hide-content-with-excerpt.png?resize=768,688 768w" alt="WooCommerce Memberships Excerpts displayed" width="821" height="735" /></a><figcaption id="caption-attachment-1116423" class="wp-caption-text">Excerpt displayed</figcaption></figure>
<p>You should be aware of how <em>products</em> are treated when content is hidden. In the shop pages, products will be shown, but only the title (and optionally, the short description), will be included — no descriptions or images will be shown.</p>
<figure id="attachment_157657" class="wp-caption aligncenter" aria-describedby="caption-attachment-157657"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-view-restricted-shop.png"><img loading="lazy" decoding="async" class="size-full wp-image-157657" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-view-restricted-shop.png" alt="WooCommerce Memberships product view restricted" width="259" height="351" /></a><figcaption id="caption-attachment-157657" class="wp-caption-text">Viewing restricted: image removed, non-purchasable</figcaption></figure>
<p>You can use the “Hide restricted products” setting within the Products settings to avoid this, which will remove restricted products from shop pages. They will still be accessible directly, and will show the content restricted message unless the member has access. The product page looks the same whether the product is hidden from the shop or not:</p>
<figure id="attachment_157656" class="wp-caption aligncenter" aria-describedby="caption-attachment-157656"><figcaption id="caption-attachment-157656" class="wp-caption-text">Product Page when viewing is restricted</figcaption></figure>
<h3 id="section-4">Redirect to page</h3>
<p>Redirecting customers to a page behaves similarly to hiding content only, as content will be included in archives with the title and featured image. This means that restricted blog posts and products will show in your blog or shop, and excerpts can optionally be shown.</p>
<p>However, if the customer tries to access this content (i.e., tries to view the post or product), the customer is redirected to a page that displays the appropriate restriction notice. The customer will also be redirected from archive pages for the restricted term (such as the archive page for a restricted category), not just the individual posts or pages assigned to that term.</p>
<figure id="attachment_157658" class="wp-caption aligncenter" aria-describedby="caption-attachment-157658"><figcaption id="caption-attachment-157658" class="wp-caption-text">Redirected to page</figcaption></figure>
<p>The content restricted page should contain the <code>[wcm_content_restricted]</code> shortcode by default. This is a “smart” shortcode that will have the referring source passed in — this means that the shortcode knows where the visitor came from so it can dynamically display the correct restriction message (i.e., one for products or one for content).</p>
<p>You can opt to customize this page or use a generic landing page instead by removing this shortcode or by customizing it with a developer.</p>
<div class="woo-sc-box normal   "><strong>Note</strong>: Memberships won’t redirect members from content that their plan will eventually let them access (i.e. content that will “drip” on a future date). Instead, a restriction message will display to let members know when they can access this content. This should prevent confusion about what content is included in the membership plan.</div>
<p>&nbsp;</p>
<h2 id="section-5">General settings</h2>
<p>General settings are located on the <strong>WooCommerce &gt; Settings &gt; Memberships</strong> page under the “General” section.</p>
<figure id="attachment_1382024" class="wp-caption aligncenter" aria-describedby="caption-attachment-1382024"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-setting.png"><img loading="lazy" decoding="async" class="size-large wp-image-1382024" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-setting.png?w=949" alt="WooCommerce Memberships General Settings" width="949" height="639" /></a><figcaption id="caption-attachment-1382024" class="wp-caption-text">General settings</figcaption></figure>
<ul>
<li><strong>Content Restriction Mode</strong> – The selected <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-settings/#section-1">restriction mode</a> determines what happens when a non-member views restricted content.</li>
<li><strong>Redirect Page</strong> – Shown when the Content Restriction Mode is set to “Redirect to page”. Select the page where non-members should be redirected when they try to access restricted content. Defaults to a “Content restricted” page created by Memberships.</li>
<li><strong>Show Excerpts</strong> – Shown when the Content Restriction Mode is <strong>not</strong> set to “Hide completely”. Select if you want to display excerpts of restricted content for non-members and search engines. By default, excerpts will include the first 55 words of the restricted content, but this length can be changed with a <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-snippet-sampleshere-are-some-sample-snippets-helpful-for-tweaking-the-functionality-of-the-woocommerce-memberships-plugin-if-youre-looking-for-more-details-on-modify/#section-16">snippet</a>. You can also enter a custom excerpt from within the page or post editor.</li>
<li><strong>Inherit Parent Restrictions</strong> – Select if the restriction rules applied to the “parent” should also apply to its “children” for hierarchical post types, such as pages.</li>
<li><strong>Redirect members upon login</strong> – Select where you want to redirect your members to when they log into your site.</li>
<li><strong>Login redirect page</strong> – Shown when Redirect members upon login is set to &#8220;Site page&#8221;. Select the page where members should be directed to when they log into your site. If this page is restriced from the member’s plan that is logging in, they will not be redirected.</li>
<li><strong>Account Erasure Requests</strong> – Select if you want to automatically delete memberships when a personal data erasure request is processed. See <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-2/#privacy">Memberships Privacy &amp; GDPR</a> for more details.</li>
</ul>
<h3 id="section-6">Groups integration</h3>
<p>This settings area will only be shown if the <a href="http://wordpress.org/plugins/groups/">Groups plugin</a> is active on the site. Click <strong>Import Members from Groups</strong> to bring you to the Groups import workflow where you can import Groups members to Memberships.</p>
<figure id="attachment_1382025" class="wp-caption aligncenter" aria-describedby="caption-attachment-1382025"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-settings-groups.png"><img loading="lazy" decoding="async" class="size-large wp-image-1382025" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-settings-groups.png?w=857" sizes="(max-width: 857px) 100vw, 857px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-settings-groups.png 857w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-settings-groups.png?resize=550,189 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-general-settings-groups.png?resize=768,263 768w" alt="WooCommerce Memberships: General Settings - Groups Integration" width="857" height="294" /></a><figcaption id="caption-attachment-1382025" class="wp-caption-text">Groups integration</figcaption></figure>
<p>Please see the <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-groups-integration/">Groups Integration documentation</a> for more details.</p>
<p>&nbsp;</p>
<h2 id="section-7">Product settings</h2>
<p>Product settings are located under <strong>WooCommerce &gt; Settings &gt; Memberships</strong>, under the “Products” section.</p>
<figure id="attachment_628964" class="wp-caption aligncenter" aria-describedby="caption-attachment-628964"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-settings.png"><img loading="lazy" decoding="async" class="size-large wp-image-628964" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-product-settings.png?w=865" alt="WooCommerce Memberships: Products Settings" width="865" height="440" /></a><figcaption id="caption-attachment-628964" class="wp-caption-text">Products Settings</figcaption></figure>
<ul>
<li><strong>Apply discounts when purchasing membership</strong> – Enable this setting to apply eligible discounts when customers are purchasing the membership product.</li>
<li><strong>Allow cumulative purchases</strong> – Enable this if, should customers purchase multiple products that grant access to a membership plan within the same order, you want to extend the membership length. If disabled, only “one” membership length will be granted per order, regardless of how many products in the order grant access to the plan.</li>
<li><strong>Discounts apply to subscriptions sign up fees</strong> – (Shown if Subscriptions is active) Enable this to apply member discounts to both the subscription sign up fee and the recurring price. If disabled, member discounts will only apply to the recurring price.</li>
<li><strong>Exclude products on sale from member discounts</strong> – Enable this if member discounts should not apply to products on sale.</li>
<li><strong>Hide restricted products</strong> – Enable this setting to remove products with viewing restricted from the shop catalog — applies to restriction modes of “Hide content only” and “Redirect to page”, as “Hide completely” already removes products from the catalog. Products will still be accessible directly.</li>
</ul>
<p>&nbsp;</p>
<h2 id="section-8">Messages settings</h2>
<p>The messages settings let you control the “content restricted” notices shown to non-members when visiting your site. These messages can adjust based on whether a purchase can grant access or not, along with what kind of content is being viewed.</p>
<p>Restriction messages can accept a limited number of <em>merge tags</em> to dynamically insert content:</p>
<ul>
<li><code>{products}</code> inserts the product(s) needed to gain access.</li>
<li><code>{date}</code> inserts date a member will gain access if access has been delayed.</li>
<li><code>{login_url}</code> inserts the URL to my account page with the login form. If used, the member will be redirected back to the page this link was clicked from after logging in.</li>
<li><code>{login}</code> (or <code>{Login}</code>) inserts a full login link with the anchor text “log in”: <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-settings/">Log in</a>. If used, the member will be redirected back to the page this link was clicked from after logging in.</li>
</ul>
<h3 id="section-9">Blog restriction messages</h3>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-blog.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628971" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-blog.png?w=805" sizes="(max-width: 805px) 100vw, 805px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-blog.png 805w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-blog.png?resize=550,530 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-blog.png?resize=768,739 768w" alt="WooCommerce Memberships: Blog restriction messages" width="805" height="775" /></a></p>
<ul>
<li><strong>Post Restricted (Purchase Required)</strong> – The message displayed when a blog post is restricted and a membership purchase is required to gain access.</li>
<li><strong>Post Restricted (Membership Required)</strong> – The message displayed if a blog post is restricted, but is restricted to a membership that cannot be purchased (members can only be added by a shop admin).</li>
<li><strong>Post Delayed (Members)</strong> – The message displayed to a member when the member will have access to the post in the future, but not yet.</li>
</ul>
<h3 id="section-10">Page restriction messages</h3>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-page.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628973" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-page.png?w=809" sizes="(max-width: 809px) 100vw, 809px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-page.png 809w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-page.png?resize=550,334 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-page.png?resize=768,467 768w" alt="WooCommerce Memberships: Page restriction messages" width="809" height="492" /></a></p>
<ul>
<li><strong>Page Restricted (Purchase Required)</strong> – The message displayed when a page is restricted and a membership purchase is required to gain access.</li>
<li><strong>Page Restricted (Membership Required)</strong> – The message displayed if a page is restricted, but is restricted to a membership that cannot be purchased (members can only be added by a shop admin).</li>
<li><strong>Page Delayed (Members)</strong> – The message displayed to a member when the member will have access to the page in the future, but not yet.</li>
</ul>
<h3 id="section-11">Content restriction messages</h3>
<p>These messages are shown for restricted content that is neither a blog post or page, such as content created by other plugins (or other custom post types).</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-content.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628974" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-content.png?w=804" sizes="(max-width: 804px) 100vw, 804px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-content.png 804w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-content.png?resize=550,347 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-content.png?resize=768,484 768w" alt="WooCommerce Memberships: content restriction messages" width="804" height="507" /></a></p>
<ul>
<li><strong>Content Restricted (Purchase Required)</strong> – The message displayed when content is restricted and a membership purchase is required to gain access.</li>
<li><strong>Content Restricted (Membership Required)</strong> – The message displayed if content is restricted, but is restricted to a membership that cannot be purchased (members can only be added by a shop admin).</li>
<li><strong>Content Delayed (Members)</strong> – The message displayed to a member when the member will have access to the content in the future, but not yet.</li>
</ul>
<h3 id="section-12">Product restriction messages</h3>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-products.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628975" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-products.png?w=806" sizes="(max-width: 806px) 100vw, 806px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-products.png 806w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-products.png?resize=550,465 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-products.png?resize=768,649 768w" alt="WooCommerce Memberships: product restriction messages" width="806" height="681" /></a></p>
<ul>
<li><strong>Product Viewing or Purchasing Delayed</strong> – The message displayed when the member will have access to the product in the future, but not yet.</li>
<li><strong>Product Viewing Restricted (Purchase Required)</strong> – The message displayed when the product can’t be viewed / accessed and a membership purchase is required to gain access.</li>
<li><strong>Product Viewing Restricted (Membership Required)</strong> – The message displayed if the product viewing is restricted, but is restricted to a membership that cannot be purchased (members can only be added by a shop admin).</li>
<li><strong>Product Buying Restricted (Purchase Required)</strong> – The message displayed when the product be viewed but not purchased, and a membership purchase is required to gain access.</li>
<li><strong>Product Buying Restricted (Membership Required)</strong> – The message displayed if the purchasing the product is restricted, but is restricted to a membership that cannot be purchased (members can only be added by a shop admin).</li>
</ul>
<h3 id="section-13">Discount messages</h3>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-discounts.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628977" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-discounts.png?w=795" sizes="(max-width: 795px) 100vw, 795px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-discounts.png 795w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-discounts.png?resize=550,423 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-messages-discounts.png?resize=768,591 768w" alt="WooCommerce Memberships: product discounts messages" width="795" height="612" /></a></p>
<ul>
<li><strong>Product Discounted (Purchase Required)</strong> – Enter a message if you’d like to enable discount messages. This message will be displayed on the product page to non-members or guests if the product is discounted for a membership that can be purchased. Leave blank to disable the message.</li>
<li><strong>Product Discounted (Membership Required)</strong> – Enter a message if you’d like to enable discount messages. This message will be displayed on the product page to non-members or guests if the product is discounted for a membership that cannot be purchased. Leave blank to disable the message.<br />
<figure id="attachment_157726" class="wp-caption aligncenter" aria-describedby="caption-attachment-157726"><figcaption id="caption-attachment-157726" class="wp-caption-text">Product Discounted message</figcaption></figure>
</li>
<li><strong>Member Discount Login Reminder</strong> – Select when and where to display a login notice for members: never, on the cart page, at checkout, or both. This notice will only display to remind members to log in if a product in the cart has a member discount.<br />
<figure id="attachment_157725" class="wp-caption aligncenter" aria-describedby="caption-attachment-157725"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-discount-notice.png"><img loading="lazy" decoding="async" class="size-full wp-image-157725" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-discount-notice.png" alt="WooCommerce memberships discount login notice" width="446" height="219" /></a><figcaption id="caption-attachment-157725" class="wp-caption-text">Discount Login Notice</figcaption></figure>
</li>
<li><strong>Member Discount Login Message</strong> – Change the text of the discount login notice. Leave blank to use the default text, which will adjust based on the number of discounted items in the cart.</li>
</ul>
<p>&nbsp;</p>
<h2 id="section-14">Shipping settings</h2>
<p>Memberships can allow you to offer <strong>free shipping</strong> exclusively to your members. This can be done by adjusting the free shipping rate settings.</p>
<div class="woo-sc-box normal   "><strong>Heads up</strong>: this feature requires WooCommerce 3.2 or newer.</div>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967156" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png 1093w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png?resize=550,293 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png?resize=768,409 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-shipping-rates.png?resize=950,506 950w" alt="WooCommerce Memberships shipping settings" width="950" height="506" /></a></p>
<p>If you’d like to offer a free shipping method only to your members, you can choose that free shipping requires <strong>an active membership</strong> in the shipping method settings. You can then determine which members are offered this rate.</p>
<figure id="attachment_967157" class="wp-caption aligncenter" aria-describedby="caption-attachment-967157"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png"><img loading="lazy" decoding="async" class="size-large wp-image-967157" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png 1111w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png?resize=550,397 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png?resize=768,554 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-member-free-shipping.png?resize=950,686 950w" alt="WooCommerce Memberships: member free shipping" width="950" height="686" /></a><figcaption id="caption-attachment-967157" class="wp-caption-text">Add members-only free shipping</figcaption></figure>
<p>You can add one or more member-specific shipping rates. Non-members and guests will not be offered this rate in the cart and checkout; this rate is only offered to logged-in members.</p>
<p>If you’d like to also offer free shipping to non-members and guests, you can still do so with regular free shipping rates. If you do add a non-member rate, we recommend adding your members who will get their own free shipping as “disallowed”. This way, members do not see more than one available free shipping rate at a time.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967158" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png 1113w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png?resize=550,353 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png?resize=768,493 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-nonmember-free-rate.png?resize=950,610 950w" alt="WooCommerce Memberships: non-member free shipping" width="950" height="610" /></a></p>
<p>In this way, you can offer specific free shipping to both members and some guests in your store.</p>
<p>&nbsp;</p>
<h2 id="section-15">Email settings</h2>
<p>Memberships adds five new emails under <strong>WooCommerce &gt; Settings &gt; Emails</strong>.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1381949" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png 2172w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?resize=550,145 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?resize=768,202 768w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?resize=950,250 950w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?resize=1536,405 1536w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-emails-2.png?resize=2048,539 2048w" alt="WooCommerce Memberships emails" width="950" height="250" /></a></p>
<ul>
<li><strong>Membership note</strong> – Sent to members when a member-facing note has been added to a membership (not sent for private/default notes).</li>
<li><strong>Membership ending soon</strong> – Sent to members 1 to 60 days before a membership ends.</li>
<li><strong>Membership ended</strong> – Sent to members when their membership expires.</li>
<li><strong>Membership renewal reminder</strong> – Sent to members 1 to 60 days after a membership ends to ask for renewal. This email is <strong>only</strong> sent for memberships that are accessed via product purchase, since other membership types can’t be renewed.</li>
<li><strong>Membership activated</strong> – Sent to members when a delayed membership is activated.</li>
</ul>
<div class="woo-sc-box normal   "><strong>Need more Memberships emails?</strong> Check out the <a href="https://help.codibu.com/blog/kb/woocommerce-memberships-jilt-integration/">Jilt integration</a> for welcome emails, post cancellation emails, and more!</div>
<p>For <strong>Ending soon</strong> and <strong>Renewal reminder</strong> emails, you can also reschedule all emails if you want to adjust sending times. Clicking the “Reschedule” action after saving your settings will allow you to adjust email schedules for all existing memberships (without this action, settings changes only apply to new memberships moving forward).</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-reschedule-emails.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-967248" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-reschedule-emails.png?w=850" sizes="(max-width: 850px) 100vw, 850px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-reschedule-emails.png 850w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-reschedule-emails.png?resize=550,479 550w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-reschedule-emails.png?resize=768,670 768w" alt="WooCommerce Memberships reschedule emails" width="850" height="741" /></a></p>
<div class="woo-sc-box normal   "><strong>Note</strong>: If you reschedule emails, please be aware that members may get duplicated emails depending on whether they’d already received them or not.</div>
<p>Content can be customized on a per-plan basis for ending soon, ended, and renewal reminder emails to respond to whether the plan can be renewed, can upsell other plans, etc.</p>
<p>For example, if a registration-based membership ends, this cannot be renewed, but you may want to upsell a “full” or paid membership. The “Membership ended” email provides an opportunity to do so:</p>
<p>&nbsp;</p>
<h2 id="section-16">Endpoint settings</h2>
<p>Under <strong>WooCommerce &gt; Settings &gt; Advanced</strong>, you’ll find the endpoint settings for your store’s account section. Memberships adds a “My Membership” endpoint for the Members’ Area, which displays accessible content, etc, to the member.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-endpoint-settings.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1372931" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-endpoint-settings.png?w=788" sizes="(max-width: 788px) 100vw, 788px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-endpoint-settings.png 788w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-endpoint-settings.png?resize=521,550 521w, https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-memberships-endpoint-settings.png?resize=768,811 768w" alt="WooCommerce Memberships endpoint settings" width="788" height="832" /></a></p>
<p>If you’d like to disable access to the members’ area, you can delete this endpoint, and the “Memberships” item will not appear in the account navigation.</p>
<p>This setting will default to <code>members-area</code> for the endpoint, which means the URL for the Member Area will look something like this:</p>
<pre>http://mysite.com/my-account/members-area/1008/my-membership-content/</pre>
<p>Where 1008 is the ID of the membership plan for which the member is viewing accessible content / products / etc, and the “my-membership-content” will adjust based on which section is viewed.</p>
<div class="woo-sc-box normal   ">If you change this setting, please be sure to flush permalinks by going to <strong>Settings &gt; Permalinks</strong> and hitting “Save”. The plugin tries to do this for you, so you shouldn’t experience issues, but you may need to flush permalinks as a backup as this process isn’t perfect. You should also be aware that <strong>this setting should be unique</strong>.</div><p>The post <a href="https://help.codibu.com/blog/woocommerce-memberships-settings/">WooCommerce Memberships Settings</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-memberships-settings/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
