A lab buyer compares three peptide stores. All three list the same compound at similar prices. The first store has no COA. The second links to a blurry image with no batch number. The third has a COA tab with the batch, test date, lab name and HPLC purity. It also has a clean PDF download. The buyer orders from the third store.
In the research peptide niche, the certificate of analysis is often the deciding factor. Yet most WooCommerce themes give you no good place for it. This guide shows you how to build COA tabs. It starts with a quick PDF upload and ends with batch-linked records.
I am Abdul Aleem, a WordPress and WooCommerce developer at Everon Digital. COA display is planned early on every peptide website build. On the Puratek research peptides store, every product has a COA download. On The Peptide Co., lab testing has its own category tab alongside verified-purity highlights.
This is a technical build guide. It is not legal advice and says nothing about using any product. For the wording side, read my guide on peptide website compliance.
Why does COA display matter on a WooCommerce product page?
A COA is the specification sheet for one batch. It shows who tested the material, which methods were used and what the results were. Serious buyers check it the way an engineer checks a datasheet.
There is a catch most stores miss. A COA belongs to a batch, not to a product. When you restock, the batch changes. The certificate should change with it. A product showing last year's batch is almost as bad as no certificate at all.
Documentation also matters beyond buyers. Payment underwriters look for signs of a real supply operation. I cover that in my guide on peptide payment processors. Google also stresses that trust is the most important part of helpful content, and visible documentation supports trust.
What should a COA product tab show?
| Field | Example | Why it matters |
|---|---|---|
| Batch or lot number | Matches the vial label | Links the certificate to the stock you ship |
| Test date | Month and year | Shows the data is current |
| Testing lab | Lab name | Shows independent testing |
| Method | HPLC, mass spectrometry | Shows how purity and identity were checked |
| Purity | Percentage from HPLC | The number most buyers look for first |
| Identity | Mass confirmed or not | Confirms the compound is what the label says |
| Full certificate | PDF download | Lets buyers read every line |
Only show values that appear on the real certificate. Never round up purity or fill gaps with guesses. Add a short research-use-only line inside the tab as well. My guide on research use only disclaimers covers the wording.
What is the easiest way to add a COA tab?
Step 1: Prepare your files (30 minutes)
Get the original PDF from your lab. Rename each file clearly, for example compound-name-batch-number-coa.pdf. Clear names help your team and help buyers who save the file.
Step 2: Upload to the media library (10 minutes)
Upload the PDFs in WordPress under Media. Copy each file URL. Add the batch number to the file title and description so you can find it later.
Step 3: Add the tab (30 to 60 minutes)
Use a tab manager plugin, or add a short snippet to a child theme. The snippet hooks into the woocommerce_product_tabs filter. It adds a new tab named coa with a title and a callback function. Set its priority to 15. A priority of 15 places the tab right after the description.
The callback function prints the tab content. In the easy version, it prints the product's COA link from a simple field.
Step 4: Add the link and summary (10 minutes per product)
In the tab content, add the batch number, test date, purity and a download button. Use descriptive button text such as "Download COA for batch 2411". Test the link on desktop and phone.
The weakness of this method is manual updates. When a batch changes, someone must edit every product. That is fine for five products. It becomes risky at fifty.
How do I build COA tabs with custom fields?
Step 5: Create the fields (half a day)
Use a custom fields plugin or register product meta in code. Create fields for batch number, test date, lab name, method, purity, identity result and COA file. Make the file field accept PDFs only.
Step 6: Build the tab template (half a day)
Write the tab callback to read the fields and print a small table of values with a download button. If a field is empty, hide that row rather than printing a blank. If there is no file, show "COA available on request" so the tab never looks broken.
Step 7: Support variations (half a day to one day)
For variable products, add the same fields to each variation. Update the tab with JavaScript when the buyer picks a variation. This matters when vial sizes come from different batches.
Step 8: Add an admin column (1 to 2 hours)
Add a column to the products list showing the batch and test date. Staff can then spot outdated certificates at a glance. Sort by test date to find the oldest first.
Step 9: Train your team (1 hour)
Write a short restock checklist. Upload the new PDF, update the batch, date and purity fields, then view the product page to confirm. Keep the checklist where the team will see it.
What does an advanced batch record system look like?
Step 10: Create a batch post type (2 to 3 days)
Register a custom post type called Batches. Each batch holds the lot number, dates, lab, methods, results and PDF. A relationship field links each batch to its product or variation.
Step 11: Mark the current batch (1 day)
Add a status field such as current, archived or quarantined. The product tab shows only the current batch. When you restock, you create a new batch and archive the old one. Products update automatically.
Step 12: Build a COA lookup page (2 to 3 days)
A buyer types the batch number from their vial and sees the matching certificate. This is valuable for repeat buyers holding older stock. Keep archived certificates available and clearly labelled.
Step 13: Add expiry and retest alerts (1 to 2 days)
Send an admin email when a batch passes a set age or retest date. This keeps certificates current without anyone remembering to check.
Step 14: Connect to inventory (2 to 5 days)
For larger stores, link batches to stock levels. When a batch sells out, the next batch becomes current. This needs careful testing, so build it on a staging site first.
Custom systems like this sit within my WooCommerce development work.
Which COA tab method should I choose?
| Method | Setup time | Work per restock | Typical cost range | Best for |
|---|---|---|---|---|
| PDF in a tab | 1 to 2 hours | Edit each product | Free to low | Small stores |
| Custom fields | 1 to 3 days | Update a few fields | Low to moderate | Growing stores |
| Batch records | 1 to 3 weeks | Add one batch record | Moderate to high | Large catalogues |
Cost ranges are general and depend on your theme, plugins and developer rates. Start simple if you are new, and plan the upgrade path. My guide on how to start a peptide store covers planning the wider build.
How should I handle COA PDFs, images and SEO?
Google lists PDF among its indexable file types. That means a COA file can rank on its own. A searcher who lands on a bare PDF sees no price, no add to cart button and no disclaimer. For most stores, that is a poor landing page.
To keep PDFs out of search, add an X-Robots-Tag noindex header for PDF files on your server. Your host or developer can set this in a few minutes. Keep the product pages indexable.
For product pages, add Product structured data for name, price and availability. There is no dedicated purity property. Keep purity in the visible description and tab. Never mark up claims or values the buyer cannot see. If you need help, my technical SEO service covers schema and indexing rules.
Use images carefully. A COA preview image should be sharp. Give it alt text such as "Certificate of analysis for batch 2411". Do not use a screenshot as the only copy.
How do I make COA tabs work well on mobile?
- Switch tabs to an accordion below about 768 pixels wide (1 to 2 hours).
- Stack the batch, date, purity and lab values as label and value pairs (1 hour).
- Make the download button at least 44 pixels tall for easy tapping (15 minutes).
- Compress PDFs without losing readability (10 minutes per file).
- Lazy load preview images below the fold (30 minutes).
Heavy tab plugins can slow product pages. Check your scores after adding them. My guide to Core Web Vitals explains the metrics, and website speed optimisation can fix slow templates.
What are the most common COA display mistakes?
Buyers in this niche read certificates closely. Small errors stand out. One mismatch can make a buyer doubt the whole catalogue.
Mistake 1: The certificate is out of date
The batch in stock changed, but the tab did not. Fix this with the admin column from step 8. Sort products by test date and update the oldest first.
Mistake 2: The file is hard to read
A phone photo of a printed certificate looks careless. Ask the lab for the original digital PDF. If the lab only sends images, ask for high-resolution scans.
Mistake 3: The tab is hard to find
Some themes push custom tabs below reviews and related products. Set the tab priority so it sits right after the description. Add a small "View COA" link near the price that jumps to the tab.
Mistake 4: Files live on an outside drive
Links to shared cloud folders often break when someone changes sharing settings. Host certificates in your own media library. That way you control access and file names.
Mistake 5: Values do not match the PDF
Someone types 99.5% on the page while the certificate says 98.9%. Buyers notice. Copy values straight from the certificate, and ask a second person to check each update.
| Mistake | Quick fix | Time |
|---|---|---|
| Old batch shown | Update fields from the current certificate | 5 minutes per product |
| Blurry file | Replace with the original PDF | 10 minutes per file |
| Tab buried | Raise tab priority, add a jump link | 30 minutes |
| Broken outside link | Rehost in the media library | 10 minutes per file |
| Mismatched values | Copy from the PDF, second-person check | 5 minutes per product |
A full product audit is a good time to fix other things too. An on-page SEO check covers titles, headings and descriptions you can review in the same pass.
What should I check before launch?
- Every live product shows a COA tab or a clear "available on request" note.
- Batch numbers on the page match the vial labels in stock.
- Purity and test dates on the page match the PDF exactly.
- Every download link opens the right file.
- Variation switching updates the certificate where needed.
- The tab works as an accordion on mobile.
- PDF noindex rules are in place if you chose them.
- Product structured data passes Google's Rich Results Test.
- A research-use-only line appears in the tab.
Repeat this check after each restock and each theme or plugin update. A maintenance plan can include it. Want COA tabs built for your store? Get in touch and share your product count and restock rate.