Digita - Electronic Shopify Theme OS 2.0
  • Getting Started
    • How to Download & Install Digita
    • How To Update Latest Digita
    • How to Translate Digita
    • Required & Recommended Apps
  • Theme Sections
    • Announcement Bar 1
    • Announcement Bar 2
    • Collections 10
    • Collections Carousel 14
    • Client 1
    • Image with text 9
    • Image With Text 10
    • Hero Slider 6
    • Product Carousel 2
    • Product Tab 2
    • Product With Sidebar 2
    • Footer
    • Header
  • THEME SETTING
    • Check Out Page
  • Product Page
    • Breadcrumb
    • Product Information
    • Product Details Tabs
    • Product Recommended
    • Recently Viewed
  • Collection page
    • Breadcrumb
    • Filter 2
Powered by GitBook
On this page
  • Content > Badge
  • Content > Title
  • Content > Availability
  • Content > Type
  • Content > Collapse
  • Adding Metafields to Products through Rich Text Field
  • Ask to question block
  1. Product Page

Product Information

Product Information is the area that displays information about a product such as price, badge, product size.

PreviousBreadcrumbNextProduct Details Tabs

Last updated 2 years ago

Content > Badge

The Product Badge is one of the best way to enhance customer understanding of key product features and highlight promotion.

The theme provides 2 badges:

  1. New: The New badge is displayed if the product has been published within the recent 10 days from today's date.

  2. Sale: The Sale badge is displayed if the product is currently on sale.

To disable this feature, simply uncheck Content > Enable.

Content > Title

This product displays the Title of the product.

Content > Availability

This block displays the quantity of the product that is currently available in your stock.

Content > Type

This block displays the product type.

Content > Collapse

Content > Collapse is a block that toggles the collapse feature of two kind of blocks:

  1. Rich Text

  2. Ask to question

Collapse -> Rich Text

Click on Collapse -> Rich Text to open this block setting. There are 3 settings there:

  1. Collapse Icon

  2. Collapse Title

  3. Collapse Content

Note: The Content will be displayed on all product pages. You can use this feature to display information such as refund policy, shipping policy, etc.

Adding Metafields to Products through Rich Text Field

Metafield is a useful feature that allows you to add extra information to a product.

In this example, I'll show you how to add a Downloadable to the collapse.

Step 1: Click on Settings -> Custom Data -> Products

Step 2: Click Add definition button and create a metafield

  1. Field type: File

  2. Validations: Accept all file types

Step 3: Navigate to Products -> Click on any product -> You will see Metafields -> Upload a pdf file to this field

Step 4: Adding the Downloadable metafield to product page

The below is the code snippet that I used in the video:

{% unless product.metafields.custom.veda_product_meta_field.value.url == null %}
<a target="_blank" 
    href="{{ product.metafields.custom.veda_product_meta_field.value.url}}">
    Downloadable
</a>
{% endunless %}

The custom.veda_product_meta_field is namespace and key of the metafield

Ask to question block

The Ask to question is a block that displays a contact form. Customers can use this form to ask questions related to the product.

To learn more about Metafield, please read .

this article