The Custom HTML option in Optionia allows you to add custom HTML content directly to your product option layout. It is useful when you need more flexibility than the standard static options provide, such as displaying formatted content, custom instructions, messages, or specially designed sections.
The Custom HTML option is a display-only element. It does not collect customer input or directly affect product pricing.
Here’s a Step-by-Step Guide to Adding a Custom HTML Option in Your Store:
You can add the Custom HTML option to either a new or an existing option set. You can learn to create a new option set in another part. For now, we will discuss how to add a Custom HTML option to an existing option set.
Go to an existing option set.
Click the Edit option to open it.

Click the “Add options” button.

Select the “HTML” option under Static.

Use the HTML option to add custom text and formatted content to your product page. HTML Option contains two types of editor. One is the Visual editor, and another is the HTML editor.
You can use the Visual Editor to easily add and format your content without writing HTML code. Any HTML code added in the HTML Editor will also be displayed visually in the Visual Editor, allowing you to see how the content will appear.

HTML Editor:
You can add your custom HTML code in the HTML Editor to display your content with your preferred style and formatting. The HTML Editor also allows you to view the content created in the Visual Editor in a structured HTML format.
In the preview, it will show you how the content will display on your product page. 
The HTML editor provides the following tools:

Text: Add and edit text content.
Headings: Add headings and subheadings to organize your content.
Format: Apply text formatting such as bold, italic, and underline.
Link: Add hyperlinks to your content.
List: Create bulleted or numbered lists.
Table: Add tables to organize information.
Media: Add media content to your HTML content.
Layout: Adjust the layout and structure of your content.
Visual Editor ⇄ HTML Editor: Turn on the toggle to switch between the visual editor and HTML code.
Note: Make sure your HTML code is correctly written before saving. Incorrect or unsupported code may affect the layout or display of the option form. The Custom HTML option does not collect customer input and does not affect product pricing. |
When to Use the Custom HTML Option
The Custom HTML option gives you additional flexibility when creating your product option layout. You can use it for:
Adding rich or formatted content.
Creating custom-designed sections.
Displaying styled instructions or messages.
Adding additional information between option groups.
Creating advanced layouts using HTML.
After configuring your HTML option, you need to assign the Option Set to the products where you want the HTML to appear. You can find Products at the bottom of the Option Set.

All Products: Select All Products to apply the Option Set to all products in your store.
Manually Select Products: Select Manually Select Products when you want to choose specific products to which the Option Set should be applied.
Select Products by Conditions: Select Products by Conditions when you want to apply the Option Set based on specific product conditions automatically.
You can use the available conditions to determine which products should receive the Option Set.
Important: Each Optionia option includes advanced styling with custom CSS. The text option is no different; you can find the advanced styling option at the bottom.
|
Note: When you create or edit the Option Set, it’s saved as a draft and is only visible in your dashboard. Change the status from draft to active to ensure visibility. You can see the status option right next to the Option Set title.
|
Once the configuration is done, the content added through the HTML Editor or Visual Editor will be displayed on the product page according to the formatting and styling you have configured.

Need Help?