How to add a dynamic table in product detail page?

Hello,

Just new comer to Shopify. I know we can add a table in the product description page, however is there any way I can dynamic add a table component in the product liquid page? Each product may have different number of rows for this table and I would like to represent this table dynamically. One example of table looks like could be: https://getbootstrap.com/docs/4.0/content/tables/.

Thanks!

Why can this not be part of the product.description

What’s to be gained from separating this product description table from the rest of the description.

Or do you mean tables per variant that changes as variant options are selected?

One option for putting additional data on products of variants is to use the newer metafield definitions

https://help.shopify.com/en/manual/metafields/metafield-definitions

If you need the core description and the table to just show in different areas of the a template use the trick on content, there are topics on this found through search.

If you need this customization worked out contact me.

I have named the file: customizable-table.liquid. You can customize the number of columns, rows, alignment, cell text, and table style in REAL-TIME (from Shopify’s customizer).

Re: How do I add a Table to the Rich Text Section of the Theme editor? - Shopify Community