MoreConvert Documentation

‘Add To Waitlist’ Box Shortcodes

The Special Out-of-Stock Waitlist Box Shortcodes provide an effective way to allow customers to join a waitlist for products that are currently out of stock.

Two shortcodes are available: one for single product use and another for product loops.

 

‘Add to Waitlist’ box for Single Product #

[wlfmc_add_to_outofstock is_single="true"]

This section outlines the attributes and examples for implementing the “Add to Out-of-Stock Waitlist” feature for a single product. The provided shortcode and its associated attributes allow customization of the waitlist functionality for individual products.

 

Attributes for Single Products: #

Type of Product

is_single (string)

Determines if this is a single product or a product loop. Set to “true” for single product usage.

Example: [wlfmc_add_to_outofstock is_single="true"]

 

Product ID

product_id (int)

Specifies the product ID.

Example: [wlfmc_add_to_outofstock is_single="true" product_id="123"]

 

Box Theme

box_theme (string)

Options include theme_1 and theme_2 for different box themes.

Example: [wlfmc_add_to_outofstock is_single="true" box_theme="theme_1"]

 

Box Title

box_title (string)

Title for the out-of-stock box.

Example: [wlfmc_add_to_outofstock is_single="true" box_title="Join Waitlist"]

 

Box Description

box_desc (string)

Adds descriptions for the box.

Example: [wlfmc_add_to_outofstock is_single="true" box_desc="Be notified when this product is back in stock."]

 

Add Button Label

button_add_label (string)

Text for the “Add to Waitlist” button.

Example: [wlfmc_add_to_outofstock is_single="true" button_add_label="Add to Waitlist"]

 

Cancel Button Label

button_cancel_label (string)

Text for the cancel button.

Example: [wlfmc_add_to_outofstock is_single="true" button_cancel_label="Cancel"]

 

Email Label

email_label (string)

Label for the email input field.

Example: [wlfmc_add_to_outofstock is_single="true" email_label="Your Email"]

 

Email Placeholder

email_placeholder (string)

Placeholder text for the email input field.

Example: [wlfmc_add_to_outofstock is_single="true" email_placeholder="Enter your email"]

 

Separate Icon and Text

separate_icon_and_text (boolian)

Determines whether to separate the icon and text.

  • True: Displays the separator.
  • False: Doesn’t display the separator.

Example: [wlfmc_add_to_outofstock is_single="true" separate_icon_and_text="true"]

 

Icon Prefix Class

icon_prefix_class (string)

Prefix class for the icon. If you want to choose another icon font for your counter icons, you can change its prefix using this option.

Example: [wlfmc_add_to_outofstock is_single="true" icon_prefix_class="fas fa-"]

 

Icon

icon (string)

Icon for the button.

Options include default icons or insert your custom SVG icon.

  • notification-1
  • notification-2
  • notification-3
  • notification-4-light
  • notification-4-regular
  • notification-5-light
  • notification-5-regular
  • notification-6-light
  • notification-6-regular
  • notification-7-light
  • notification-7-regular
  • custom

Example: [wlfmc_add_to_outofstock is_single="true" icon="notification-1"]

 

Added Icon

added_icon (string)

Icon for the added state.

Options include default added icons or insert your custom SVG icon.

  • notification-1-o
  • notification-2-o
  • notification-3-o
  • notification-4-light-o
  • notification-4-regular-o
  • notification-5-light-o
  • notification-5-regular-o
  • notification-6-light-o
  • notification-6-regular-o
  • notification-7-light-o
  • notification-7-regular-o
  • custom

Example: [wlfmc_add_to_outofstock is_single="true" added_icon="notification-1-o"]

 

 

‘Add to Waitlist’ box for Product Loop #

[wlfmc_add_to_outofstock is_single=""]

This section provides details on utilizing the “Add to Out-of-Stock Waitlist” feature in a product loop context. The shortcode attributes enable customization of the waitlist functionality for multiple products within a loop, offering flexibility in managing out-of-stock items across a range of products.

 

Attributes for Product Loop:

Product ID

product_id (int)

This option is for displaying specific products in the loop. Although it is not a useful approach for the products loop,

Example: [wlfmc_add_to_outofstock is_single="" product_id="123"]

 

Box Title

box_title (string)

Input your text for the pop-up title.

Example: [wlfmc_add_to_outofstock is_single="" box_title="Join Waitlist"]

 

Box Description

box_desc (string)

You can choose the pop-up descriptions using this attribute.

Example: [wlfmc_add_to_outofstock is_single="" box_desc="Be notified when this product is back in stock."]

 

Add Button Label

button_add_label (string)

Text for the “Add to Waitlist” button.

Example: [wlfmc_add_to_outofstock is_single="" button_add_label="Add to Waitlist"]

 

Cancel Button Label

button_cancel_label (string)

Text for the “cancel” button.

Example: [wlfmc_add_to_outofstock is_single="" button_cancel_label="Cancel"]

 

Email Label

email_label (string)

Label for the email input field.

Example: [wlfmc_add_to_outofstock is_single="" email_label="Your Email"]

 

Email Placeholder

email_placeholder (string)

Placeholder text for the email input field.

Example: [wlfmc_add_to_outofstock is_single="" email_placeholder="Enter your email"]

 

Separate Icon and Text

separate_icon_and_text (boolean)

Determines whether to separate the icon and text.

Example: [wlfmc_add_to_outofstock is_single="" separate_icon_and_text="true"]

 

Icon Prefix Class

icon_prefix_class (string)

Prefix class for the icon.

Example: [wlfmc_add_to_outofstock is_single="" icon_prefix_class="fas fa-"]

 

Icon

icon (string)

Icon for the button.

Options include default icons or insert your custom SVG icon.

  • notification-1
  • notification-2
  • notification-3
  • notification-4-light
  • notification-4-regular
  • notification-5-light
  • notification-5-regular
  • notification-6-light
  • notification-6-regular
  • notification-7-light
  • notification-7-regular
  • custom

Example: [wlfmc_add_to_outofstock is_single="" icon="notification-1"]

 

Added Icon

added_icon (string)

Icon for the added state.

Options include default added icons or insert your custom SVG icon.

  • notification-1-o
  • notification-2-o
  • notification-3-o
  • notification-4-light-o
  • notification-4-regular-o
  • notification-5-light-o
  • notification-5-regular-o
  • notification-6-light-o
  • notification-6-regular-o
  • notification-7-light-o
  • notification-7-regular-o
  • custom

Example: [wlfmc_add_to_outofstock is_single="" added_icon="notification-1-o"]

 

Loop Button Type

loop_button_type (string)

Options include icon, text, both for the button type in the loop.

Example: [wlfmc_add_to_outofstock is_single="" loop_button_type="both"]

 

Separate Icon and Text in Loop

separate_icon_and_text_loop (boolean)

Determines whether to separate the icon and text in the loop.

Example: [wlfmc_add_to_outofstock is_single="" separate_icon_and_text_loop="false"]

 

Loop Icon Prefix Class

loop_icon_prefix_class (string)

Prefix class for the loop icon.

Example: [wlfmc_add_to_outofstock is_single="" loop_icon_prefix_class="fas fa-"]

 

Button Label

button_label (string)

Label for the loop button.

Example: [wlfmc_add_to_outofstock is_single="" button_label="Add to Waitlist"]

 

 

 

 

 

 

What are your feelings?
Updated on January 6, 2024