MoreConvert Documentation

Waitlist Table Shortcodes

Waitlist Table Shortcodes #

The Waitlist Table Shortcodes allow you to seamlessly integrate and customize the appearance of the Waitlist feature on your website. By using these shortcodes, you can tailor the Waitlist table to meet your specific needs and enhance the user experience.

 

Shortcode: #

[wlfmc_waitlist]

This shortcode loads the content of the “waitlist.php” template from the plugin’s “templates” folder, displaying the Waitlist on the designated page.

 

Shortcode Attributes: #

♦ Products Per Page

per_page (int)

Defines the number of elements per page in the Waitlist. The default value is based on the WordPress option posts_per_page.

Example:

[wlfmc_waitlist per_page="20"]

 

♦ Pagination

pagination (string)

Sets whether to paginate the Waitlist. If set to “no,” the attribute “per page” will not be considered. Options include:

  • yes: Show pagination for the Waitlist Page.
  • no: Disable pagination for the Waitlist Page.

Example:

[wlfmc_waitlist pagination="no"]

 

♦ Items are shown for waitlist

items_show (string)

Allows you to choose which items to display on the Waitlist Page. Options include:

  • product-checkbox: Show checkboxes.
  • product-remove: Show a button to remove the product from the waitlist.
  • product-thumbnail: Show the product thumbnail.
  • product-name: Show the product name.
  • product-review: Show the product review.
  • product-variation: Show the product variations.
  • product-price: Show the product price.
  • product-add-to-cart: Show the product add to cart button.
  • product-quantity: Show the product quantity.
  • product-stock-status: Show the product stock status.
  • product-date-added: Show the product added date.

Example:

[wlfmc_waitlist items_show="product-checkbox,product-remove,product-thumbnail,product-name"]

 

♦ Waitlist view mode

view_mode (string)

Chooses how to display products on the Waitlist Page. Options include:

  • list: List View Mode.
  • grid: Grid View Mode.

Change waitlist table to grid mode Example:

[wlfmc_waitlist view_mode="grid"]

 

♦ ‘Add to cart’ button style

button_add_to_cart_style (string)

Applies a button style for the “Add to cart” button on the Waitlist table. Options include:

  • true: Enables a custom “Add to cart” button.
  • false: Disables a custom “Add to cart” button.

Disable add to cart waitlist style Example:

[wlfmc_waitlist button_add_to_cart_style="false"]

 

 

♦ Quantity field style

qty_style (string)

Applies a custom style for the quantity field. Options include:

  • true: Enables a custom quantity style.
  • false: Disables a custom quantity style.

Disable quantity waitlist style Example:

[wlfmc_waitlist qty_style="false"]

 

♦ Pagination style

pagination_style (string)

Applies a custom Waitlist page style for the pagination bar. Options include:

  • true: Enables a custom Waitlist pagination style.
  • false: Disables a custom Waitlist pagination style.

Disable pagination waitlist style Example:

[wlfmc_waitlist pagination_style="false"]

 

 

♦ Waitlist default template

custom_template (string)

Chooses whether to display the default Waitlist Template created by the theme without any customizations or a customized Waitlist Template you’ve created. Options include:

  • true: Display Default Waitlist Template.
  • false: Display Customized Waitlist Template.

Example:

[wlfmc_waitlist custom_template="false"]

 

♦ All together action button

 enable_actions (string)

Enables or disables the “All together Actions” button on the Waitlist Page. Options include:

  • true: Enables the “All together actions” button.
  • false: Disables the “All together actions” button.

Example:

[wlfmc_waitlist enable_actions="false"]

 

♦ ‘Add all to cart’ button

enable_all_add_to_cart (string)

Displays or hides the “Add all to cart” button on the Waitlist Page. Options include:

  • true: Enables the “Add all to cart” button.
  • false: Disables the “Add all to cart” button.

Example:

[wlfmc_waitlist enable_all_add_to_cart="false"]

 

♦ Login notice

login_notice (string)

Turns guest users into leads by enabling or disabling the Login Notice and inviting them to sign up on the Waitlist page. Options include:

  • true: Enables Login Notice.
  • false: Disables Login Notice.

Example:

[wlfmc_waitlist login_notice="false"]

 

♦ Waitlist table custom class

waitlist_class (string)

Adds a custom class to the Waitlist table tag using this option. Options include:

  • true: Enables a custom class for the Waitlist table.
  • false: Disables a custom class for the Waitlist table.

Example:

[wlfmc_waitlist waitlist_class="custom-class-table"]

 

♦ Waitlist pagination custom class

waitlist_pagination_class (string)

Adds a custom class for pagination. The default value is “woocommerce-pagination,” and you can change this. If pagination_style is enabled, it is replaced with “waitlist-pagination”. Options include:

  • true: Enables custom class pagination.
  • false: Disables custom class pagination.

Example:

[wlfmc_waitlist waitlist_pagination_class="custom-class-pagination"]

 

What are your feelings?
Updated on January 6, 2024