DEV Community

Cover image for How to Build Better Product Information Pages for Regulated Industries
Gynsyng Dispensary
Gynsyng Dispensary

Posted on

How to Build Better Product Information Pages for Regulated Industries

How to Build Better Product Information Pages for Regulated Industries

When people visit an e-commerce or business website, they usually want one thing: clear information without having to dig for it.

That becomes even more important for businesses operating in regulated industries.

Healthcare, finance, alcohol, cannabis, and other regulated industries often need to display additional information such as ingredients, warnings, usage information, product details, legal notices, and availability.

From a developer's perspective, the challenge isn't simply adding more text.

The challenge is making all of that information easy to find, understand, and navigate.

Here are some practical ways to approach it.

  1. Put the Important Information First

A common mistake is designing a beautiful product page and hiding important information several sections below the fold.

A better structure is:

Product Name

Short Description

Key Information

Price / Availability

Detailed Information

Warnings / Important Notes

FAQ

The user should understand the basic product information without scrolling through a wall of text.

For example, instead of:

Product Name
A huge paragraph describing the product...

You could use a simple information block:

`


Product Name


Short description of the product.

  • Category: Example
  • Primary ingredient: Example
  • Size: Example

`

This is easier for both users and developers to maintain.

  1. Use Visual Hierarchy

Not every piece of information needs the same visual weight.

For example:

Product Name ← H1

Short description ← Supporting text

Key Details ← H2

THC / CBD ← Important data
Ingredients ← Important data
Size ← Important data

Additional Information ← H2

Good typography and spacing can make a page significantly easier to scan.

You don't always need complicated animations or fancy components.

Sometimes good UX is simply:

clear headings + enough spacing + logical structure.

  1. Don't Hide Important Information Behind JavaScript

Interactive tabs and accordions can make a page cleaner.

For example:

[ Details ] [ Ingredients ] [ Warnings ] [ FAQ ]

But developers should be careful about putting essential information behind interactions that aren't accessible to everyone.

If you use an accordion, make sure it works with:

Keyboard navigation
Screen readers
Focus states
Mobile devices
JavaScript-disabled environments where appropriate

A basic accessible structure could look like:

` aria-expanded="false"
aria-controls="product-details">
Product Details

Product information goes here.

`
Accessibility shouldn't be something added at the very end of development.

It should be considered when designing the component.

  1. Make Product Data Structured

If you're building a large catalog, manually writing every product page can quickly become difficult to maintain.

Instead, store product information in structured data.

For example:

{
"name": "Example Product",
"category": "Flower",
"size": "3.5g",
"thc": "20%",
"cbd": "1%",
"ingredients": [
"Example ingredient"
]
}

Then your frontend can use that information to generate the page.

This approach makes it easier to:

Update products
Maintain consistent layouts
Filter products
Build search functionality
Create category pages
Connect the website to an inventory system

It also reduces the possibility of manually entering the same information in multiple places.

  1. Think About Mobile First

A lot of product research happens on mobile devices.

A desktop layout might look something like:


| Product Image | Product Information |
| | Details |

| | Ingredients |

But on mobile, it becomes:

Product Image

Product Name

Description

Key Details

Ingredients

Warnings

That's why developers should test product pages at multiple viewport sizes.

At minimum, check:

320px
375px
768px
1024px
1440px

Don't only resize the browser and assume everything works.

Actually interact with the page.

  1. Make Search and Filtering Useful

For a large product catalog, search can become more valuable than adding more content.

Users might want to filter products by:

Category
Brand
Product type
Price
Ingredients
Availability
Other legally permitted product attributes

A simple filtering interface could look like:

Category
☐ Flower
☐ Edibles
☐ Vapes
☐ Topicals

Price
[ Min ] — [ Max ]

Availability
☐ In Stock

The important part is keeping the filtering experience simple.

If users need to interact with ten dropdowns just to find one product, the interface is probably doing too much.

  1. Treat Accessibility as Part of the Product

Accessibility isn't only about adding alt text.

Developers should also consider:

Color contrast
Keyboard navigation
Semantic HTML
Form labels
Focus indicators
Screen-reader support
Readable font sizes
Error messages
Touch target sizes

For example, avoid this:

<div onclick="addToCart()">
Add
</div>

when a button is appropriate:

<button type="button">
Add
</button>

Semantic HTML gives browsers and assistive technologies more information about what the element actually does.

  1. Don't Forget Performance

Product pages can become surprisingly heavy.

Large product images, tracking scripts, animations, reviews, chat widgets, and third-party integrations can all affect performance.

A few simple improvements include:

Compress images

Use modern image formats

Lazy-load below-the-fold images

Minimize unnecessary JavaScript

Remove unused third-party scripts

Cache static assets

You don't always need a complete rebuild.

Sometimes removing a few unnecessary resources can make a noticeable difference.

  1. Build for Trust, Not Just Conversion

For regulated industries, users often need more information before making a decision.

That means a product page shouldn't feel like:

BUY NOW BUY NOW BUY NOW

Instead, it should answer questions.

For example:

What is this product?

What are its ingredients?

How should the information on the label be understood?

Are there important warnings?

Where can I find additional information?

A business such as Gynsyng can use this type of approach on its website by making educational and product information easy to navigate rather than relying only on promotional messaging.

The same UX principle applies to many industries.

  1. A Simple Architecture Can Go a Long Way

A basic product information system could look like:

          Product Database
                |
                ↓
          Backend / API
                |
                ↓
          Frontend App
           /    |    \
          /     |     \
      Search  Filters  Product Page
                          |
                -------------------
                |        |        |
             Details  Ingredients FAQ
Enter fullscreen mode Exit fullscreen mode

The goal isn't to build the most complicated architecture.

The goal is to create a system where information can be updated once and displayed consistently across the website.

Final Thoughts

Building websites for regulated industries comes with an interesting UX challenge.

There can be more information, more restrictions, and more questions from users than on a typical product page.

But the solution doesn't necessarily require complicated technology.

Start with:

Clear information architecture
Semantic HTML
Accessible components
Structured product data
Responsive design
Fast-loading pages
Useful search and filtering
Straightforward content

When developers focus on helping users understand information, the resulting website usually becomes easier to use and easier to maintain.

And honestly, that's good web development regardless of the industry.

Top comments (0)