You can use the JSON filter .

If you like to output it directly on the frontend you use it like so: {{ product | json }}

But its much better to log it as a javascript object like so:

<script type="text/javascript">
  console.log({{ product | json }});
</script>
Answer from drip on Stack Overflow
🌐
Shopify
shopify.dev › docs › api › storefront › latest › objects › product
Product - Storefront API
The `Product` object lets you manage products in a merchant’s store. Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use [product variants](/docs/api/storefront/latest/objects/ProductVariant) to create or update different versions of the same product.
🌐
Shopify Help Center
help.shopify.com › en › manual › products › details › product-type
Shopify Help Center | Product types
A product type, previously referred to as custom product type, is a way to define a custom category. The product type lets you use product categories other than the ones that are available in Shopify's standard product categories.
🌐
Mechanic
learn.mechanic.dev › platform › liquid › objects › shopify › product
Product object | Mechanic
Every property from the Product resource in the Shopify REST Admin API (warning: Shopify delivers product.tags as a comma-delimited string, not an array of strings!) An array of related variant objects: {{ product.variants }}
🌐
Shopify
shopify.dev › docs › api › storefront › 2024-10 › objects › Product
Product object - Storefront API - Shopify.dev
The `Product` object lets you manage products in a merchant’s store. Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use [product variants](/docs/api/storefront/latest/objects/ProductVariant) to create or update different versions of the same product.
🌐
Shopify Community
community.shopify.com › shopify discussion
Rendering raw liquid object during development
November 24, 2022 - Hi Guys, There are liquid objects using which we can render data in a page. Objects like product, collection etc. In the documentation they have provided a sample of the object and its properties. But how can I log…
Find elsewhere
🌐
Shopify Community
community.shopify.com › technical q&a
How do I get the product object from all_products?
July 16, 2021 - Hi, We are using an app called Accentuate Custom Fields to add custom fields to our products and other kinds of posts. We want to display products that have been added from Accentuate Custom Fields on a certain type of Blog called Articles. In other words, there will be different display of products in every single article depending on what products were added/assigned from Accentuate Custom Fields.
🌐
Stack Overflow
stackoverflow.com › questions › 76926137 › using-shopify-liquid-i-want-to-get-the-product-object-from-blocks
Using Shopify Liquid I want to get the product object from blocks - Stack Overflow
{% for block in section.blocks %} {% assign product = all_products[block.settings.product] %} <a href="{{ product.url }}">{{ product.title }}</a> {% endfor %} ... Sign up to request clarification or add additional context in comments. ... Find the answer to your question by asking. Ask question ... See similar questions with these tags. ... Introducing Stack Internal: Powering the human intelligence layer of... ... What is the difference between a subjective standard of fault and an objective standard of fault in law?
🌐
Shopify Help Center
help.shopify.com › en › manual › custom-data › metaobjects
Shopify Help Center | Metaobjects
For example, you can store information for a product, such as features, specifications, and size charts. You can retrieve and edit the data that's stored in metaobjects from the Shopify admin. Apps can access metaobjects through the metaobject API. You can also access metaobjects in themes using Liquid and through the Storefront API. Learn more about the metaobject API. ... Definition: the group of fields that defines the object’s structure.
🌐
Medium
medium.com › @gb.usmanumar › how-to-develop-shopify-themes-part-5-working-with-shopify-liquid-objects-908468f2eace
How to develop Shopify themes | Part 5 | Working with Shopify Liquid Objects | by Muhammad Usman Umar | Medium
April 9, 2024 - Let’s explore some of the most commonly used Shopify Liquid objects: The product object contains information about a specific product, such as its title, price, description, and images.
🌐
Shopify
shopify.com › partners › blog › 89205510-how-to-use-all_products-in-a-shopify-theme
How to Use all_products in a Shopify Theme - Shopify
Every object in Liquid (product, collection, blog, menu) has a handle. For example, a page with the title "About Us" can be accessed in Liquid via its handle “about-us”. In the above example, we have a handle of coffee-cup which represents the product available at yourstore.com/products/coffee.
🌐
Shopify Community
community.shopify.com › technical q&a
Product object scope not available in product detail page section
March 2, 2023 - I am using a new 2.0 theme and ... the product attributes like title and vendor and some of the meta fields. according to Shopify the object can be accessed in a section in a product template, but when I try to access them with liquid I get a “product.fieldname is invalid” ...
🌐
GitHub
gist.github.com › jtwray › 9916420a950a0db2b025d8a738763484
Shopify Liquid Cheatsheet · GitHub
Shopify Liquid Cheatsheet. GitHub Gist: instantly share code, notes, and snippets.
🌐
EC PENGUIN
ec-penguin.com › en › blogs › shopify › product-object-summarry
[Shopify] Product data list that can be obtained with Liquid Product O – EC PENGUIN
September 12, 2021 - What we introduce here is a list of data that can be obtained as Product Information. Since there was no information in Japanese, we thought it would be a good opportunity to compile it. For example, when outputting the title of a product in Liquid {{ product.title }} But there is a lot of other information that can be
🌐
Shopify Help Center
help.shopify.com › en › manual › products › details
Shopify Help Center | Product details
The product details you can enter, such as product availability, barcodes, and tags.
🌐
Shopify Community
community.shopify.com › shopify discussion
Rendering raw liquid object during development - Shopify Discussion ...
September 3, 2022 - Hi Guys, There are liquid objects using which we can render data in a page. Objects like product, collection etc. In the documentation they have provided a sample of the object and its properties. But how can I log…