MoreConvert Documentation

Add To Waitlist Button Shortcodes

[wlfmc_add_to_waitlist]

The Shortcode “[wlfmc_add_to_waitlist]” is designed to load the content of the “add-to-waitlist.php” template, located in the plugin’s “templates” folder. This shortcode facilitates the display of the “Add To Waitlist” button on the front end of your website.

Shortcode Attributes:

♦ Product ID

product_id (int)

Use this attribute to incorporate the waitlist shortcode in areas without dedicated product pages, such as sliders, images, boxes, and galleries. Example:

[wlfmc_add_to_waitlist product_id="Your_product_id"]

♦ Single Product

is_single (string)

Set this attribute to “true” if you wish to utilize the Single Product Options & Style. Otherwise, the default Products List Style will be applied.

Attributes:

  • true : Uses single product style
  • false : Uses Products list style

sample:

[wlfmc_add_to_waitlist is_single="false"]

♦ Button Type

button_type (string)

Choose from the three types of buttons below:

Attributes:

  • text: text only
  • icon: icon only
  • both: Icon and text

sample:

[wlfmc_add_to_waitlist button_type="both"]

 

 

 

♦ Separate Icon and Text

separate_icon_and_text (string)

Enable or disable the separation of icon and text with a vertical line.

Attributes:

  • true: Enables the icon and text separation
  • false : Disables icon and text separation

sample:

[wlfmc_add_to_waitlist separate_icon_and_text="false"]



♦ Added to Waitlist Popup

enable_popup (string)

Show a popup after adding to the waitlist. Customize buttons and provide guidance to the user.

Attributes:

  • true: Enables the Popup
  • false : Disables the Popup

sample:

[wlfmc_add_to_waitlist enable_popup="true"]



♦ Icon

icon (string)

You can choose your button icon in 7 options:

Attributes:

  • Notification 1
  • Notification 2
  • Notification 3
  • Notification 4 light
  • Notification 5 light
  • Notification 6 light
  • Notification 7 light

sample:

[wlfmc_add_to_waitlist icon="Notification 7 regular"]



♦ Added Icon

added_icon (string)

You can choose your added button icon in 4 options:

Attributes:

  • Notification 4 regular
  • Notification 5 regular
  • Notification 6 regular
  • Notification 7 regular

 

sample:

[wlfmc_add_to_waitlist added_icon="Notification 7 regular"]

♦ Icon Prefix Class

icon_prefix_class (string) (default= “wlfmc-icon-”)

Change the icon prefix to use a different icon font. Example:

use font awesome for icon sample:

[wlfmc_add_to_waitlist icon_prefix_class="fas fa-"]

clear prefix and use prefix in icon and added_icon sample:

[wlfmc_add_to_waitlist icon_prefix_class=" " icon="fas fa-bell"  added_icon="fas fa-bell-o"]

♦ Default Button Style

button_theme (string)

Enable theme default styles for icon and text.

Attributes:

  • true: Uses default theme button style.
  • false : Uses customized button style.

sample:

[wlfmc_add_to_waitlist button_theme="true"]

♦ Button Tooltip

enable_tooltip (string)

Enable or disable a tooltip box when hovering over the “Add to Waitlist” button.

You can also customize this tooltip style.

Attributes:

  • true: Enables button tooltip
  • false : Disables button tooltip

sample:

[wlfmc_add_to_waitlist enable_tooltip="true"]



♦ Tooltip Directions

tooltip_direction (string)

Set the tooltip positioning to top, right, bottom, or left.

Attributes:

  • top
  • right
  • bottom
  • left

sample:

[wlfmc_add_to_waitlist tooltip_direction="top"]



♦ “Add to Waitlist” Text

button_label_add (string)

You can change the text shown as “Add to Waitlist” to anything you desire.

sample:

[wlfmc_add_to_waitlist button_label_add="Add to Notifications"]



♦ “View My Waitlist” Text

button_label_view (string)

Here you can change the “view my waitlist” text to your custom text.

sample:

[wlfmc_add_to_waitlist button_label_view="View my list"]

♦ “Remove from Wishlist” Text

button_label_remove (string)

You can also change the “Remove from wishlist” text.

sample:

[wlfmc_add_to_wishlist button_label_remove="Remove from list"]

♦ “Already in Wishlist” Text

button_label_exists (string)

If the product already exists in the user’s wishlist and clicks the Add to wishlist button again, this text will be displayed. You can leave this box empty if you don’t want a notification box.

sample:

[wlfmc_add_to_wishlist button_label_exists="exists in list"]

♦ “Add to Wishlist” Tooltip

tooltip_label_add (string)

You can change the default tooltip text shown as “Add to Wishlist” to anything you desire.

sample:

[wlfmc_add_to_wishlist tooltip_label_add="Add to list"]



♦ “View My Wishlist” Tooltip Text

tooltip_label_view (string)

Here you can change the default tooltip text “view my wishlist” to your custom text.

sample:

[wlfmc_add_to_wishlist tooltip_label_view="View my list"]

♦ “Remove from Wishlist” Tooltip Text

tooltip_label_remove (string)

You can also change the “Remove from wishlist” tooltip text.

sample:

[wlfmc_add_to_wishlist tooltip_label_remove="Remove from list"]

♦ “Already in Wishlist” Tooltip Text

tooltip_label_exists

Using this, you can change the “Already in wishlist” tooltip text.

sample:

[wlfmc_add_to_wishlist tooltip_label_exists="exists in list"]

What are your feelings?
Updated on January 7, 2024

Add To Waitlist Button Shortcodes

[wlfmc_add_to_waitlist]

The Shortcode “[wlfmc_add_to_waitlist]” is designed to load the content of the “add-to-waitlist.php” template, located in the plugin’s “templates” folder. This shortcode facilitates the display of the “Add To Waitlist” button on the front end of your website.

Shortcode Attributes:

♦ Product ID

product_id (int)

Use this attribute to incorporate the waitlist shortcode in areas without dedicated product pages, such as sliders, images, boxes, and galleries. Example:

[wlfmc_add_to_waitlist product_id="Your_product_id"]

♦ Single Product

is_single (string)

Set this attribute to “true” if you wish to utilize the Single Product Options & Style. Otherwise, the default Products List Style will be applied.

Attributes:

  • true : Uses single product style
  • false : Uses Products list style

sample:

[wlfmc_add_to_waitlist is_single="false"]

♦ Button Type

button_type (string)

Choose from the three types of buttons below:

Attributes:

  • text: text only
  • icon: icon only
  • both: Icon and text

sample:

[wlfmc_add_to_waitlist button_type="both"]

 

 

 

♦ Separate Icon and Text

separate_icon_and_text (string)

Enable or disable the separation of icon and text with a vertical line.

Attributes:

  • true: Enables the icon and text separation
  • false : Disables icon and text separation

sample:

[wlfmc_add_to_waitlist separate_icon_and_text="false"]



♦ Added to Waitlist Popup

enable_popup (string)

Show a popup after adding to the waitlist. Customize buttons and provide guidance to the user.

Attributes:

  • true: Enables the Popup
  • false : Disables the Popup

sample:

[wlfmc_add_to_waitlist enable_popup="true"]



♦ Icon

icon (string)

You can choose your button icon in 7 options:

Attributes:

  • Notification 1
  • Notification 2
  • Notification 3
  • Notification 4 light
  • Notification 5 light
  • Notification 6 light
  • Notification 7 light

sample:

[wlfmc_add_to_waitlist icon="Notification 7 regular"]



♦ Added Icon

added_icon (string)

You can choose your added button icon in 4 options:

Attributes:

  • Notification 4 regular
  • Notification 5 regular
  • Notification 6 regular
  • Notification 7 regular

 

sample:

[wlfmc_add_to_waitlist added_icon="Notification 7 regular"]

♦ Icon Prefix Class

icon_prefix_class (string) (default= “wlfmc-icon-”)

Change the icon prefix to use a different icon font. Example:

use font awesome for icon sample:

[wlfmc_add_to_waitlist icon_prefix_class="fas fa-"]

clear prefix and use prefix in icon and added_icon sample:

[wlfmc_add_to_waitlist icon_prefix_class=" " icon="fas fa-bell"  added_icon="fas fa-bell-o"]

♦ Default Button Style

button_theme (string)

Enable theme default styles for icon and text.

Attributes:

  • true: Uses default theme button style.
  • false : Uses customized button style.

sample:

[wlfmc_add_to_waitlist button_theme="true"]

♦ Button Tooltip

enable_tooltip (string)

Enable or disable a tooltip box when hovering over the “Add to Waitlist” button.

You can also customize this tooltip style.

Attributes:

  • true: Enables button tooltip
  • false : Disables button tooltip

sample:

[wlfmc_add_to_waitlist enable_tooltip="true"]



♦ Tooltip Directions

tooltip_direction (string)

Set the tooltip positioning to top, right, bottom, or left.

Attributes:

  • top
  • right
  • bottom
  • left

sample:

[wlfmc_add_to_waitlist tooltip_direction="top"]



♦ “Add to Waitlist” Text

button_label_add (string)

You can change the text shown as “Add to Waitlist” to anything you desire.

sample:

[wlfmc_add_to_waitlist button_label_add="Add to Notifications"]



♦ “View My Waitlist” Text

button_label_view (string)

Here you can change the “view my waitlist” text to your custom text.

sample:

[wlfmc_add_to_waitlist button_label_view="View my list"]

♦ “Remove from Wishlist” Text

button_label_remove (string)

You can also change the “Remove from wishlist” text.

sample:

[wlfmc_add_to_wishlist button_label_remove="Remove from list"]

♦ “Already in Wishlist” Text

button_label_exists (string)

If the product already exists in the user’s wishlist and clicks the Add to wishlist button again, this text will be displayed. You can leave this box empty if you don’t want a notification box.

sample:

[wlfmc_add_to_wishlist button_label_exists="exists in list"]

♦ “Add to Wishlist” Tooltip

tooltip_label_add (string)

You can change the default tooltip text shown as “Add to Wishlist” to anything you desire.

sample:

[wlfmc_add_to_wishlist tooltip_label_add="Add to list"]



♦ “View My Wishlist” Tooltip Text

tooltip_label_view (string)

Here you can change the default tooltip text “view my wishlist” to your custom text.

sample:

[wlfmc_add_to_wishlist tooltip_label_view="View my list"]

♦ “Remove from Wishlist” Tooltip Text

tooltip_label_remove (string)

You can also change the “Remove from wishlist” tooltip text.

sample:

[wlfmc_add_to_wishlist tooltip_label_remove="Remove from list"]

♦ “Already in Wishlist” Tooltip Text

tooltip_label_exists

Using this, you can change the “Already in wishlist” tooltip text.

sample:

[wlfmc_add_to_wishlist tooltip_label_exists="exists in list"]

What are your feelings?
Updated on January 7, 2024