Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
- Activate the extension.
Upgrading to Version 2?
↑ Back to top- You can add waitlist elements anywhere on your site with the use of a shortcode [woocommerce_waitlist product_id=123] where “product_id” equals the ID of the product for which you want the user to join the waitlist. More information about shortcodes at: WordPress Codex – Shortcode
- No more page reloads when a user is added to a waitlist. Waitlist updates are handled in the background, and customers need not wait for a page reload when adding themselves. Customers click a button and are greeted with a notification that they have successfully signed up.
- Different WooCommerce pages can be targeted using the supplied body classes. For example: .single-product for single products and .post-type-archive-product for the shop page and other product archive pages (e.g., product category pages).
- Default WooCommerce wrapper classes can be used to specify styles for different product types. For example, .product-type-variable and .product-type-simple for variable and simple products, respectively.
- Waitlist elements are wrapped using the .wcwl_frontend_wrap class on product archive pages and .wcwl_elements on single product pages. This difference is due to the additional toggle button added on archive pages to avoid cluttering the page.
Setup and Configuration
↑ Back to topSettings Screen
↑ Back to top- Waitlist require registration – logged out customers will be met with a notice informing them that they need to register where you would usually see the waitlist.
- Force account creation – when a customer adds themselves to the waitlist an account will be silently created in the background and a new account email will be sent to the customer.
- Opt-in options – show a consent message and checkbox which the customer will need agree to and check before being able to submit the waitlist form
- Show waitlist elements on shop page – whether or not you want to show the waitlist elements on the shop archive page. This will only work for simple products.
- Archive waitlist – Keep a list of email addresses after they have been removed from the waitlist (along with a date of when they were removed).
- Minimum Stock – The minimum stock amount required for waitlists to activate and send in stock notifications. This can also be set per product on the product edit screen.
- Remove data on uninstall – By default the waitlist data will not be removed when uninstalling the plugin. If you would like to delete all waitlist data (this includes removing all waitlists and archives) you can check this option.
- Export waitlist data – This button will collate all of your waitlist data into a downloadable CSV file.
- Update waitlist counts – If you notice your waitlist counts are wrong for any reason they can be recalculated here. This was implemented for older versions of the plugin when metadata structure was updated.
- Update waitlist metadata – Older versions of the plugin used a different metadata structure and this manually updates your current data to this structure. Should not be required unless you are updating from a very old version of the plugin.
Products Listing Screen
↑ Back to topEdit Product Screen
↑ Back to topAutomated Emails
↑ Back to topWaitlist Archiving
↑ Back to topOpt-In Options
↑ Back to topDisplaying Waitlist Elements on Product Archive Pages
↑ Back to topPersonal Data
↑ Back to topCustomization
↑ Back to topNote: This is a Developer level section. If you are unfamiliar with hooks and filters and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our Support Policy.
Action Hooks
↑ Back to topwcwl_before_add_user_to_waitlist
wcwl_after_add_user_to_waitlist
wcwl_before_remove_user_from_waitlist
wcwl_after_remove_user_from_waitlist
wcwl_mailout_send_email
wcwl_new_signup_send_email
Filter Hooks
↑ Back to topOptions
wcwl_persistent_waitlists_are_disabled
wcwl_automatic_mailouts_are_disabled
wcwl_enable_waitlist_for_backorder_products
Admin
Text
wcwl_empty_waitlist_introduction
wcwl_variation_tab_title
wcwl_updated_nag_text
wcwl_dismiss_nag_text
Template paths
wcwl_include_path_admin_panel_tabs
wcwl_include_path_admin_panel_waitlist_tab
wcwl_include_path_admin_panel_archive_tab
wcwl_include_path_admin_panel_options_tab
wcwl_include_path_admin_panel_side_tab
wcwl_include_path_admin_panel_variable
wcwl_include_path_admin_panel_simple
wcwl_include_path_admin_panel_waitlist_add_new
wcwl_include_path_admin_panel_waitlist_actions
wcwl_include_path_admin_panel_archive_actions
wcwl_include_path_admin_panel_table_row
User Waitlist Shortcode
wcwl_shortcode_title
wcwl_shortcode_intro_text
wcwl_shortcode_product_title
wcwl_shortcode_thumbnail
wcwl_shortcode_remove_text
wcwl_shortcode_no_waitlists_text
wcwl_shortcode_archive_intro_text
wcwl_shortcode_archive_product_title
wcwl_shortcode_archive_remove_text
wcwl_shortcode_visit_shop_text
Frontend
Join Waitlist Elements
wcwl_join_waitlist_message_text
wcwl_join_waitlist_success_message_text
wcwl_join_waitlist_already_joined_message_text
wcwl_join_waitlist_button_text
wcwl_new_user_opt-in_text
wcwl_registered_user_opt-in_text
Leave Waitlist Elements
wcwl_leave_waitlist_message_text
wcwl_leave_waitlist_success_message_text
wcwl_leave_waitlist_button_text
Update Waitlist Elements (grouped products)
wcwl_waitlist_checkbox_text
wcwl_grouped_waitlist_message_text
wcwl_grouped_product_joined_message_text
wcwl_event_waitlist_message_text
wcwl_update_waitlist_button_text
Archive
wcwl_confirm_waitlist_button_text
Account
wcwl_account_tab_title
wcwl_account_removed_archives_message
wcwl_enable_waitlist_account_tab
Errors/Notices
wcwl_join_waitlist_user_requires_registration_message_text
wcwl_join_waitlist_invalid_email_message_text
wcwl_toggle_waitlist_no_product_message_text
wcwl_error_message_invalid_nonce
wcwl_error_message_invalid_user
wcwl_error_message_invalid_product
wcwl_email_error_message
wcwl_optin_error_message
wcwl_generic_error_message
wcwl_loading_message
wcwl_dismiss_notification_text
wcwl_notice_message_double_optin
Emails
woocommerce_email_subject_woocommerce_waitlist_mailout
woocommerce_email_heading_woocommerce_waitlist_mailout
woocommerce_email_subject_woocommerce_waitlist_signup_email
woocommerce_email_subject_woocommerce_waitlist_signup_email
wcwl_tracking_url
wcwl_tracking_codes
Miscellaneous
wcwl_show_waitlist_elements_for_page
wcwl_show_waitlist
wcwl_enable_waitlist_account_tab
wcwl_new_user_opt-in_text
wcwl_registered_user_opt-in_text
wcwl_email_field_label
wcwl_email_field_placeholder
wcwl_add_waitlist_for_elementor
Advanced
wcwl_supported_products
wcwl_waitlist_endpoint
wcwl_locate_template
wcwl_notification_time_limit
FAQ
↑ Back to topCan I add the waitlist to a non-product/custom product page?
↑ Back to topCan a customer view all the products they are on a waiting list for?
↑ Back to topAre customers put on a waitlist in a particular order?
↑ Back to topDoes Waitlist for WooCommerce work with WPML?
↑ Back to topDoes this work for affiliate products?
↑ Back to topDoes this work for variable products?
↑ Back to topHow do I change the subject/content of Waitlist Mailout emails?
↑ Back to topWhat if I don’t want users to be automatically emailed when a product is back in stock?
↑ Back to topadd_filter( 'wcwl_automatic_mailouts_are_disabled', '__return_true' );
What if I want to email users automatically, but don’t want them to be removed from the waitlist?
↑ Back to topadd_filter( 'wcwl_persistent_waitlists_are_disabled', '__return_false' );
Why does Waitlist only show up for some products?
↑ Back to topDo I have to show the “My Waitlists” tab on the my account page?
↑ Back to topadd_filter( 'wcwl_enable_waitlist_account_tab', '__return_false' );
If you would like to display customer waitlists on another page simply use the shortcode [woocommerce_my_waitlist]
The “My Waitlists” tab doesn’t work, how can I get rid of the 404 “Page not found” error?
↑ Back to topCan I change the text on the Waitlist buttons?
↑ Back to topadd_filter( 'wcwl_join_waitlist_button_text', 'change_waitlist_join_button_text' );
function change_waitlist_join_button_text( $text ) {
return __( 'Custom Text' );
}
add_filter( 'wcwl_leave_waitlist_button_text', 'change_waitlist_leave_button_text' );
function change_waitlist_leave_button_text( $text ) {
return __( 'Custom Text' );
}
How can I hide the “add to cart” button for out of stock variations?
↑ Back to top.woocommerce-variation-add-to-cart-disabled {
display: none;
}
How can I change the language of the plugin?
↑ Back to top- Download and install a free program called Poedit
- Within Poedit, Click File > New from POT/PO file… and choose the plugins .pot file
- Choose your translation language
- Translate each required string using either the bottom boxes to enter your own translations or the recommendations in the sidebar provided by Poedit
- Once you’ve finished click File > Save, change the filename to reflect the plugin and add the country code at the end of the filename, this is important! (e.g. woocommerce-waitlist-fr_FR.po for French)
- If a .mo file is not automatically generated when the .po file is saved you can generate one by clicking File > Compile to MO. This should be named the same as your .po file (woocommerce-waitlist-fr_FR.mo)
- Save both of these files into the site directory wp-content/languages/plugins/ (if this directory does not exist you can create it (You will need to do this in your servers file manager or over FTP)
- Change the site language in the WordPress admin by going to Settings and your translations should appear
- If they don’t appear immediately try clearing your cache and hard refreshing the page (ctrl+shift+r)
Can I show waitlists for products available on backorder?
↑ Back to topadd_filter( 'wcwl_enable_waitlist_for_backorder_products', 'wcwl_force_backorder_waitlist_true' );
function wcwl_force_backorder_waitlist_true( $product_id ) {
return true;
}
The product ID is passed in here to allow further customizations if required.
Does this work for Product Bundles for WooCommerce?
↑ Back to topDoes this work for Composite Products for WooCommerce?
↑ Back to topDoes this work with Elementor?
↑ Back to topadd_filter( 'wcwl_add_waitlist_for_elementor', '__return_false' );
Due to the variability with the setup of Elementor; if something is amiss with the plugin please get in touch with us via a support request and we can assist with your setup.