Objects

<- Back to Liquid API

Affiliate CommissionLink

descriptionAvailable variables on AffiliateCommission objects
example liquid accessor {% for commission in page.commissions %}
locatordescriptioncommission.product_name{String} Get product's namecommission.date{String} Get product's creation datecommission.sale_total{String} Get product's total salecommission.sale_was_refunded{Boolean} Has the sale been refunded? True or Falsecommission.amount_without_refunds{String} Amount of commissions ignoring refundscommission.amount_with_any_refunds{String} Amount of commission including any refunds

Affiliate PayoutLink

descriptionAvailable variables on AffiliatePayout objects
example liquid accessor {% for payout in page.payouts %}
locatordescriptionpayout.date{String} Get affiliate's payout creation datepayout.amount{String} Get affiliate's amount

BlockLink

descriptionThis drop exposes the type and settings for a block within a section.
locatordescriptionblock.type{String} Block typeblock.settings{Drops::Manifest} Block settings

BundleLink

descriptionContains information about the bundle
example liquid accessor {% for bundle in page.bundle %}
locatordescriptionbundle.id{Number} Get the bundle's IDbundle.name{String} Get the bundle's namebundle.description{String} Get the bundle's descriptionbundle.status{String} Get the bundle's statusbundle.links{Drops::ProductLinks} Get the bundle's linksbundle.is_public{Boolean} Is the bundle public? True or falsebundle.is_free{Boolean} Is the bundle free? True or falsebundle.tagline{String} Get the bundle's taglinebundle.display_price{String} Get the bundle's display pricebundle.enroll_free_button_text{String} Get the bundle's enroll for free textbundle.previously_purchased{Boolean} Has the bundle been previously purchased by the current user? True or falsebundle.buy_button_text{String} Get the bundle's buy button textbundle.courses{String} Get the bundle's coursesbundle.course_contents_description{String} Get the bundle's course contents descriptionbundle.coupon_supported{Boolean} Does the course support coupons? True or falsebundle.banner_overlay_opacity_percentage{String} Get the bundle's banner overlay opacity percentagebundle.primary_price{Drop::ProductPrice} Get the bundle's primary pricebundle.image{String} The bundle's imagebundle.card_image_url{String} Get the bundle's card image urlbundle.banner_image_url{String} Get the bundle's banner image urlproduct.collections{Drops::Collection} Collections that the card product card belongs toproduct.additional_prices{Drops::ProductPrice} Get the product's additional prices

CartLink

descriptionThis is the cart object that is used during a checkout flow
locatordescriptioncart.line_items{Drops::LineItem} The line items present in the cart.cart.total_price{Number} The total price of the cart [cart.is_free{Boolean} Is the checkout for a free product?cart.is_free_trial{Boolean} checkout for a free trial of a product?cart.currency{String} The currency of the current cart (e.g., 'USD')cart.currency_symbol{String} The currency symbol of the current cart (e.g., '\$')cart.has_items{Boolean} Does the cart currently contain any items?cart.item_count{Number} The number of items that the cart currently contains

ChapterLink

descriptionAvailable liquid variables on the chapter object
example liquid accessor {% for chapter in course.chapters %}
locatordescriptionchapter.contents{Drops::Content} Get the chapter's contentschapter.name{String} Get the chapter's namechapter.duration_in_seconds{Number} Get the chapter's duration in seconds (chapter must have a timed content item, e.g. video)chapter.duration_in_seconds_as_time{Number} Get the chapter's duration in seconds as timecourse.has_lessons or chapter.has_lessons{Boolean} Does the course or chapter have lessons? True or falsecourse.lesson_count or chapter.lesson_count{Number} Get the course or chapter lessons count. This actually returns the number of videos in the lessons. Eg: "4 Videos"course.has_quizzes or chapter.has_quizzes{Boolean} Does the course or chapter have quizzes? True or falsecourse.quiz_count or chapter.quiz_count{Number} Get the course or chapter quizzes countcourse.has_surveys or chapter.has_surveys{Boolean} Does the course or chapter have surveys? True or falsecourse.survey_count or chapter.survey_count{Number} Get the course or chapter surveys countcourse.has_multimedia or chapter.has_multimedia{Boolean} Does the course or chapter have multimedias? True or falsecourse.multimedia_count or chapter.multimedia_count{Number} Get the course or chapter multimedias countcourse.has_text or chapter.has_text{Boolean} Does the course or chapter have text lessons? True or falsecourse.text_count or chapter.text_count{Number} Get the course or chapter texts countcourse.has_pdfs or chapter.has_pdfs{Boolean} Does the course or chapter have pdfs? True or falsecourse.pdf_count or chapter.pdf_count{Number} Get the course or chapter pdfs countcourse.has_disqus or chapter.has_disqus{Boolean} Does the course or chapter have disqus chats? True or falsecourse.disqus_count or chapter.disqus_count{Number} Get the course or chapter disqus countcourse.has_audios or chapter.has_audios{Boolean} Does the course or chapter have audios? True or falsecourse.audio_count or chapter.audio_count{Number} Get the course or chapter audios countcourse.has_downloads or chapter.has_downloads{Boolean} Does the course or chapter have downloads? True or falsecourse.download_count or chapter.download_count{Number} Get the course or chapter downloads countcourse.has_presentations or chapter.has_presentations{Boolean} Does the course or chapter have presentations? True or falsecourse.presentation_count or chapter.presentation_count{Number} Get the course or chapter presentations countcourse.has_brillium_exams or chapter.has_brillium_exams{Boolean} Does the course or chapter have brillium exams? True or falsecourse.brillium_exam_count or chapter.brillium_exam_count{Number} Get the course or chapter brillium exams countcourse.has_duration or chapter.has_duration{Boolean} Does the course or chapter have an expected duration set? True or falsecourse.duration or chapter.duration{Number} Get the expected course or chapter duration

Collections DropLink

descriptionThese variables are available for use in the product search bar when viewing the collection pages or collections page
example liquid accessor {% for collection in site.collection %}
locatordescriptioncollection.name{String} Get collection's namecollection.id{Number} Get collection's idcollection.slug{String} Get collection's slugcollection.image{Drops::Image} The collection's imagecollection.url{String} Get collection's url

CommunityLink

descriptionVariables accessible on a community.
example liquid accessor {% for community in page.communities %}
locatordescriptioncommunity.id{Number} Get the community's IDcommunity.name{String} Get the community's namecommunity.description{String} Get the community's descriptioncommunity.image_url{String} Get the community's image URLcommunity.post_count{Number} Get the total number of posts in the community

ContentLink

descriptionVariables that are available in chapter objects
example liquid accessor {% for content in chapter.contents %}
locatordescriptioncontent.name{String} Get the content's namecontent.free{Boolean} Is the content free? True or false.content.icon_css_class{String} Get the content's icon css classcontent.take_course_url{String} Get the content's url

CouponLink

descriptionThis provides information about the coupon code provided
locatordescriptioncoupon.name{String} Get coupon's namecoupon.is_valid{Boolean} Has a valid coupon been entered? True or falsecoupon.is_percentage{Boolean} Is the currently applied coupon applied as a percentage off? True or falsecoupon.discounted_price{String} Get the product's price with the currently applied couponcoupon.discounted_amount{String} Get the currently applied coupon's discount amountcoupon.full_price{String} Get the product's full price (without coupon applied)coupon.applied_text{String} Get the product's promotion description

CourseLink

descriptionVariables accessible on course-related pages (such as course landing) on the page variable as well as elsewhere (e.g., bundle pages) through their own page-specific pages (e.g., page.bundle_courses on a bundle page)
example liquid accessor {% for course in page.bundle_courses %}
locatordescriptioncourse.id{Number} Get the course's IDcourse.name{String} Get the course's namecourse.description{String} Get the course's descriptioncourse.course_card_text{String} Get the course's card textcourse.links{Drops::ProductLinks} Get the course's available linkscourse.chapters{Drops::Chapter} Get the course's chapterscourse.is_draft{Boolean} Is the course in draft state? True or falsecourse.is_public{Boolean} Is the course public? True or falsecourse.is_presell{Boolean} Is the course set to preorder? True or falsecourse.status{String} The course's current statuscourse.has_free_trial{Boolean} Does the course have a free trial available to this user? True or falsecourse.is_free{Boolean} Is the course free? True or falsecourse.user_can_purchase{Boolean} Is the course on sale to this user? True or falsecourse.user_can_resume{Boolean} Is the user able to resume this course? True or falsecourse.user_has_purchased{Boolean} Has the user purchased this course? True or Falsecourse.user_is_enrolled{Boolean} Is the user enrolled in the course? True or falsecourse.user_enrollment_complete{Boolean} Has the user completed the enrollment? True or falsecourse.reviews_enabled{Boolean} Are reviews enabled for this course? True or falsecourse.reviews{Drops::CourseReviews} Get the course's reviews. The number of reviews returned is limited to 100course.image{String} The course's imagecourse.card_image_url{String} The course's card image urlcourse.product{Drop::Product} Get the course's current productcourse.primary_price{Drop::ProductPrice} Get the course's primary pricecourse.display_price{String} Get the course's display pricecourse.buy_button_text{String} Get the course's buy button textcourse.coupon_supported{Boolean} Does the course support coupons? True or falsecourse.duration{Number} Estimated time to complete (hrs)course.lesson_count{Number} Get the product's lesson count if it's a course and if the theme is a site builder theme otherwise, return lesson_count_display which returns the number of videoscourse.instructor{Drops::Instructor} Get the instructor of the coursecourse.has_lessons or chapter.has_lessons{Boolean} Does the course or chapter have lessons? True or falsecourse.lesson_count or chapter.lesson_count{Number} Get the course or chapter lessons count. This actually returns the number of videos in the lessons. Eg: "4 Videos"course.has_quizzes or chapter.has_quizzes{Boolean} Does the course or chapter have quizzes? True or falsecourse.quiz_count or chapter.quiz_count{Number} Get the course or chapter quizzes countcourse.has_surveys or chapter.has_surveys{Boolean} Does the course or chapter have surveys? True or falsecourse.survey_count or chapter.survey_count{Number} Get the course or chapter surveys countcourse.has_multimedia or chapter.has_multimedia{Boolean} Does the course or chapter have multimedias? True or falsecourse.multimedia_count or chapter.multimedia_count{Number} Get the course or chapter multimedias countcourse.has_text or chapter.has_text{Boolean} Does the course or chapter have text lessons? True or falsecourse.text_count or chapter.text_count{Number} Get the course or chapter texts countcourse.has_pdfs or chapter.has_pdfs{Boolean} Does the course or chapter have pdfs? True or falsecourse.pdf_count or chapter.pdf_count{Number} Get the course or chapter pdfs countcourse.has_disqus or chapter.has_disqus{Boolean} Does the course or chapter have disqus chats? True or falsecourse.disqus_count or chapter.disqus_count{Number} Get the course or chapter disqus countcourse.has_audios or chapter.has_audios{Boolean} Does the course or chapter have audios? True or falsecourse.audio_count or chapter.audio_count{Number} Get the course or chapter audios countcourse.has_downloads or chapter.has_downloads{Boolean} Does the course or chapter have downloads? True or falsecourse.download_count or chapter.download_count{Number} Get the course or chapter downloads countcourse.has_presentations or chapter.has_presentations{Boolean} Does the course or chapter have presentations? True or falsecourse.presentation_count or chapter.presentation_count{Number} Get the course or chapter presentations countcourse.has_brillium_exams or chapter.has_brillium_exams{Boolean} Does the course or chapter have brillium exams? True or falsecourse.brillium_exam_count or chapter.brillium_exam_count{Number} Get the course or chapter brillium exams countcourse.has_duration or chapter.has_duration{Boolean} Does the course or chapter have an expected duration set? True or falsecourse.duration or chapter.duration{Number} Get the expected course or chapter durationproduct.collections{Drops::Collection} Collections that the card product card belongs toproduct.additional_prices{Drops::ProductPrice} Get the product's additional prices

Course ReviewLink

descriptionVariables available on course review objects
example liquid accessor None
locatordescriptioncourse.review.title{String} Get the review's titlecourse.review.user{String} Get the user who posted the reviewcourse.review.review_text{String} Get the review's textcourse.review.rating{String} Get the review's ratingcourse.review.course{Drops::Course} Get the attached course for this review

ReviewsLink

description
example liquid accessor {% for review in course.reviews %}
locatordescriptioncourse.reviews.approved{Drops::CourseReview} Get the course's approved reviewscourse.reviews.approved_count{Number} Get the course's approved reviews countcourse.reviews.average_rating{Number} Get the course's average review rating

Custom LinkLink

descriptionVariables available for any user-created custom links
example liquid accessor {% for link in site.custom_left_links %} or {% for link in site.custom_right_links %}
locatordescriptionlink.formatted_url{String} Get the custom link's properly formatted target url (href)link.target{String} Get the custom link's target (e.g., Link)link.formatted_text{String} Get the custom link's formatted textlink.position{String} Get the custom link's position within the menulink.is_private{Boolean} Is the link private? True or falselink.is_public{Boolean} Is the link public? True or false

Custom Profile FieldLink

descriptionAvailable current user custom profile field data
locatordescriptionsite.current_user.custom_profile_fields[0].valueGet the value for the fieldsite.current_user.custom_profile_fields[0].labelGet the label for the fieldsite.current_user.custom_profile_fields[0].field_typeGet the type for the field. Possible values are: 'text' and 'country'site.current_user.custom_profile_fields[0].is_requiredIs the field required? True or false

Sign Up PageLink

descriptionThis provides data to help render custom sign-up fields
example liquid accessor {% for field in custom_signup_fields %}
locatordescriptionfield.name{String} Get the custom signup field's name attributefield.value{String} Get the custom signup field's valuefield.label{String} Get the custom signup field's labelfield.required{Boolean} Is the custom signup field required? True or Falsefield.hidden_input{String} Get the custom signup field's hidden inputfield.type_is_country{Boolean} Is the custom signup field's type country? True or Falsefield.country_options{Array} Get custom signup field's country options

Dashboard Course CardLink

descriptionVariables available on the student dashboard for the school. Please check out the file "snippets/pagination" in the basic theme package to see an working example of how to use these variables.
example liquid accessor {% for card in paginate.collection %}
locatordescriptioncard.created_at{String} Get the product's creation datecard.display_price{String} Get the product's display pricecard.enrollment_complete{Boolean} Is the student's enrollment in this product complete? True or falsecard.enrollment_expired{Boolean} Is the student's enrollment in this product expired? True or falsecard.enrollment_expiry_date{String} Get the student's enrollment expiry datecard.has_enrollment{Boolean} Is the student enrolled in the product? True or falsecard.last_accessed{String} Get the date of last student access to the productcard.name{String} Get the coures's namecard.name_truncated{String} Get the course's truncated name (truncated to 70 characters)card.position{String} Get the course's position within the dashboardcard.progress_percentage{String} Get the course's percentage completedcard.show_enroll_in_free_trial_link{Boolean} Should the card show the free trial link? True or falsecard.show_enroll_for_free_link{Boolean} Should the card show the enroll for free link? True or falsecard.show_purchase_link{Boolean} Should the card show the purchase link? True or falsecard.show_resume_link{Boolean} Should the card show the resume link? True or falsecard.subtitle_truncated{String} Get the course's truncated subtitle - DEPRECATED (2018/04)card.subtitle{String} Get the course's subtitle - DEPRECATED (2018/04)card.description_truncated{String} Get the course's truncated descriptioncard.description{String} Get the course's descriptioncard.course_reviews_enabled{Boolean} Are reviews enabled for this course? True or falsecard.is_hidden{Boolean} Is the course hidden? True or falsecard.course{Drops::Course} The coursecard.image{Drops::Image} The course's imagecard.image_url{String} Get the course's card image url. DEPRECATEDcard.landing_page_url{String} Get the course's landing page url. DEPRECATEDcard.free_enroll_url{String} Get the course's free enrollment url. DEPRECATEDcard.free_trial_enroll_url{String} Get the course's free trial enrollment url. DEPRECATEDcard.purchase_course_url{String} Get the course's purchase url. DEPRECATEDcard.resume_course_url{String} Get the course's resume url. DEPRECATEDcard.review_course_url{String} Get the course's review url. DEPRECATEDcard.course_review_url{String} Get the course's review url (repeat of above). DEPRECATEDcard.is_presell{Boolean} Is the course set to preorder? True or false

EnrollmentLink

descriptionThis provides information about an enrollment in a course.
locatordescriptionenrollment.course_name{String} Get the enrolled course's nameenrollment.completed_at{String} Get the enrolled course's completed dateenrollment.certificate_url{String} Get the enrolled course's certificate url

ImageableLink

descriptionImage at different dimensions.
example liquid accessor None
locatordescription.image.thumb{String} Large image's url.image.small{String} Small image's url.image.medium{String} Medium image's url.image.large{String} Large image's url.image.original{String} Original image's url

InstructorLink

descriptionContains information about the instructor
locatordescriptioninstructor.first_name{String} Get the instructor's first nameinstructor.last_name{String} Get the instructor's last nameinstructor.full_name{String} Get the instructor's full nameinstructor.email{String} Get the instructor's emailinstructor.title{String} Get the instructor's titleinstructor.bio{String} Get the instructor's bioinstructor.avatar{String} Get the instructor's avatarinstructor.image{String} Get the instructor's image

JSON ObjectLink

descriptionA drop that accepts a hash of attributes and makes these attributes available as properties on the drop.

No variables are available yet!

Line ItemLink

descriptionThese variables yield the details of the product which a student has just purchased or is in the process of purchasing. In particular it describes the details of the condition of the purchase, e.g., is the product free or is it a free trial.
example liquid accessor {% for line_item in cart.line_items %}
locatordescriptionline_item.name{String} Get the order's nameline_item.description{String} Get the order's descriptionline_item.price{String} Get the order's costline_item.created_dateGet the date that the line item was created online_item.product{Drops::Product} The product that the line item refers toline_item.product_price{Drops::ProductPrice} The product price that the line item refers toline_item.is_free{Boolean} Is the current checkout for a free enrollment?line_item.is_free_trial{Boolean} Is the current checkout for a free trial enrollment?line_item.is_paid{Boolean} Is the current checkout for a paid enrollment?line_item.is_payment_plan{Boolean} Is the current checkout for a paid enrollment using a payment plan?line_item.is_subscription{Boolean} Is the current checkout for a paid enrollment using a subscription?line_item.is_recurring{Boolean} Is the current checkout for a paid enrollment using a recurring payment?

ManifestLink

descriptionThese variables represent the settings for a theme or section, which are defined in their releative schema (within manifest.json for theme and within the {% schema %} block for sections).

No variables are available yet!

Meta TagLink

descriptionA drop that accepts a hash of attributes and makes an HTML meta tag with these attributes. Example: input: {'name' => 'description', 'content' => 'lorem ipsum'} output: Each attribute is also available as a property on the drop.

No variables are available yet!

OrderLink

descriptionVariables available for the order object
example liquid accessor {% for order in page.orders %}
locatordescriptionorder.id{Number} Get the order's IDorder.number{Number} Get the order's numberorder.has_subscription{Boolean} Does the order have a subscription product in it? True or falseorder.has_payment_plan{Boolean} Does the order have a payment plan in it? True or Falseorder.has_recurring{Boolean} Does the order have a subscription or payment plan in it? True or falseorder.description_of_subscription{String} Get the order's subscription descriptionorder.product_name{String} Get the product's nameorder.created_date{String} Get the order's creation dateorder.payment_method{String} Get the order's payment methodorder.payment_method_key{String} Get the order's payment method keyorder.status{String} Get the order's statusorder.status_key{String} Get the order's status keyorder.cost{String} Get the order's costorder.cost_in_cents{String} Get the order's cost in cents (e.g. 10000 for \$100.00)order.masked_card_numbers{String} Get the order's masked card numbersorder.product_expiry_date{String} Get the expiry date of the product contained in the orderorder.coupon{Drops::Coupon} Get the coupon used in the orderorder.line_items{Drops::LineItem} Get order's line itemsorder.refunded_transactions{Drops::OrderTransaction} Get order's refunded transactionsorder.payments{Drops::Payment} Get order's paymentsorder.cart_purchased_dateGet the date that the coupon was appliedorder.number_of_recurring_payments{String} Get the total number of recurring paymentsorder.billing_name{String} Get the billing nameorder.billing_email{String} Get the billing emailorder.referral_code{String} Get the order referral code

Order transactionLink

descriptionVariables available for the order transaction object
example liquid accessor {% for transaction in page.order.refunded_transactions %}
locatordescriptiontransaction.amount{String} Get order's transaction amounttransaction.created_dateGet the date that the transaction was created on

PaymentLink

descriptionVariables available for the payment object
example liquid accessor {% for payments in page.payments %}
locatordescriptionpayment.id{Number} Get the payment's IDpayment.created_date{String} Get the payment's creation datepayment.total{String} Get the order's cost

ProductLink

descriptionAvailable variables on Product objects
example liquid accessor {% for product in page.products %}
locatordescriptionproduct.name{String} Get the product's nameproduct.display_price{String} Get the product's display priceproduct.additional_prices{Drops::ProductPrice} Get the product's additional pricesproduct.links{Drops::ProductLinks} Get the product's linksproduct.is_course{Boolean} Is the product a course? True or Falseproduct.is_bundle{Boolean} Is the product a bundle? True or Falseproduct.course{Drops::Course} Get the product's courseproduct.bundle{Drops::Bundle} Get the product's bundleproduct.card_image_url{String} Get the product's card image urlproduct.image{String} The product's imageproduct.productable{Drops::Course} or {Drops::Bundle} Get the product's course or bundle

Product LinksLink

descriptionAll of the course or bundle related links available. product_type is either 'Course' or 'Bundle'
locatordescriptionlinks.enroll_free_trial{String} Get product's enroll free trial urllinks.enroll_free{String} Get product's enroll free urllinks.buy{String} Get product's buy urllinks.resume{String} Get product's resume urllinks.review{String} Get product's review urllinks.landing_page_url{String} Get product's landing page urllinks.add_to_cart{String} Get product's add to cart url

Product PriceLink

descriptionAvailable variables on Product objects
example liquid accessor {% for product in page.products %}
locatordescriptionproduct.name{String} Get the price's nameproduct.display_price{String} Get the price's display nameproduct.buy_button_text{String} Get the price's buy button textproduct.cta_texte.g. "Subscribe \$10.00 / month"product.cta_text_shorte.g. "Subscribe Now", "Buy \$10.00"product.cta_text_without_pricee.g. "Subscribe Now", "Buy Now", "Enroll Free"product.product{Drops::Product} Get the product that the price belongs toproduct.links{Drops::Product} Get the price's links

SectionLink

descriptionThis drop exposes settings and blocks for a section.
locatordescriptionsection.settings{Drops::Manifest} Get the section's settingssection.blocks{Drops::Block} Get the section's blockssection.id{String} Get section's unique id

UserLink

descriptionAvailable user data
locatordescriptionsite.current_user.id or course.review.user.id{String} Get the user's unique identificatorsite.current_user.custom_profile_fields or course.review.user.custom_profile_fieldsGet a collection of the custom profile fields for this usersite.current_user.sign_in_count or course.review.user.sign_in_count{Number} Get the number of times the user signed insite.current_user.current_sign_in_at or course.review.user.current_sign_in_at{String} Get the user's sign in datesite.current_user.last_sign_in_at or course.review.user.last_sign_in_at{String} Get the user's last sign in datesite.current_user.current_sign_in_ip or course.review.user.current_sign_in_ip{Number} Get the user's current sign in IPsite.current_user.is_first_sign_in or course.review.user.is_first_sign_in{Boolean} Is this the first signin for the user?site.current_user.last_sign_in_ip or course.review.user.last_sign_in_ip{Number} Get the user's last sign in IPsite.current_user.stripe_customer_id or course.review.user.stripe_customer_id{String} Get the user's stripe idsite.current_user.signed_in or course.review.user.signed_in{Boolean} Is the user signed in?site.current_user.first_name or course.review.user.first_name{String} Get the user's first namesite.current_user.first_name_last_initial or course.review.user.first_name_last_initial{String} Get the user's first name and last initialsite.current_user.last_name or course.review.user.last_name{String} Get the user's last namesite.current_user.full_name or course.review.user.full_name{String} Get the user's full namesite.current_user.email or course.review.user.email{String} Get the user's emailsite.current_user.is_student or course.review.user.is_student{Boolean} Is the user a student?site.current_user.is_site_owner or course.review.user.is_site_owner{Boolean} Is the user the site owner?site.current_user.is_site_admin or course.review.user.is_site_admin{Boolean} Is the user an administrator for this site?site.current_user.is_affiliate or course.review.user.is_affiliate{Boolean} Is the user an affiliate on the site?site.current_user.is_course_admin or course.review.user.is_course_admin{Boolean} Is the user a course admin for a course on this site?site.current_user.can_change_notifications or course.review.user.can_change_notifications{Boolean} Can the user change notifications?site.current_user.has_certificates or course.review.user.has_certificates{Boolean} Does the user have certificates?site.current_user.has_password or course.review.user.has_password{Boolean} Does the user have a password set?site.current_user.external_source or course.review.user.external_source{String} Get the user's external sourcesite.current_user.bio or course.review.user.bio{String} Bio field on user's profilesite.current_user.enrolled_course_names or course.review.user.enrolled_course_names{Array of Strings} A list of course names that the user is enrolled insite.current_user.enrolled_bundle_names or course.review.user.enrolled_bundle_names{Array of Strings} A list of bundle names that the user is enrolled insite.current_user.username or course.review.user.username{String} Get the user's usernamesite.current_user.created_at or course.review.user.created_at{Date} Get the user's created at datesite.current_user.signed_up_at or course.review.user.signed_up_at{Date} Get the user's signed up at date (equal to created_at)site.current_user.updated_at or course.review.user.updated_at{Date} Get the user's updated at datesite.current_user.avatar or course.review.user.avatar{String} Get the user's avatar url (150x150px)site.current_user.default_user_avatar_url or course.review.user.default_user_avatar_url{String} Get the thinkific's default avatar urlsite.current_user.account_url or course.review.user.account_url{String} Get the user's account urlsite.current_user.signed_in_via_sso or course.review.user.signed_in_via_sso{Boolean} Is the user signed in via SSO (Single Sign-On)?

ProductLink

descriptionBase variables available to any product objects (e.g, bundles, courses)
locatordescriptionpage.seo_title{String} Get the SEO Titlepage.seo_description{String} Get the SEO Descriptionpage.keywords{String} Get the product's keywordspage.is_hidden{Boolean} Is the product hidden? True or falsepage.product_is_course{Boolean} Is the product a course?page.product_is_bundle{Boolean} Is the product a bundle?page.landing_page_code{String} Get the custom landing page code

Authorization HelpersLink

descriptionThese variables refer to the various authorization methods that are enabled for the school and are therefore available for authorizing students
locatordescriptionpage.has_remote_signin{Boolean} Does the user have a remote sign-in? True or falsepage.has_linkedin_enabled{Boolean} Does the user have LinkedIn enabled? True or falsepage.has_facebook_enabled{Boolean} Does the user have Facebook enabled? True or falsepage.has_google_enabled{Boolean} Does the user have Google enabled? True or falsepage.supports_remote_auth{Boolean} Supports remote auth? Always returns false. DEPRECATED (2018/08)page.linkedin_oauth_url{String} User LinkedIn oAuth Urlpage.facebook_oauth_url{String} User Facebook oAuth Urlpage.google_oauth_url{String} User Google oAuth Urlpage.tenant_oauth_url{String} Always returns '' (empty string). DEPRECATED (2018/08)page.tenant_auth_text{String} Always returns '' (empty string). DEPRECATED (2018/08)page.sign_up_url{String} Get the sign-in urlpage.forgot_password_url{String} Get the forgot password urlpage.sign_in_url{String} Get the sign-in url

Collection HelpersLink

descriptionThese variables are accessible from the collection/collections pages
locatordescriptionpage.should_paginate_products{Boolean} Should the collection be paginated? Returns true if the number of pages in the collection is greater than 1. True or false.page.product_page_numbers{Array} Get available page numbers for pagination of the collectionpage.current_product_page{Number} Get the current product's pagepage.has_products{Boolean} Does the collection have products? True or false.page.products{Drops::Product} Get the products to be rendered on the page

Drop HelperLink

description

No variables are available yet!

Course or Chapter ContentsLink

descriptionVariables on each course describing the contents of the course
example liquid accessor {% for course in page.bundle_courses %}
locatordescriptioncourse.has_lessons or chapter.has_lessons{Boolean} Does the course or chapter have lessons? True or falsecourse.lesson_count or chapter.lesson_count{Number} Get the course or chapter lessons count. This actually returns the number of videos in the lessons. Eg: "4 Videos"course.has_quizzes or chapter.has_quizzes{Boolean} Does the course or chapter have quizzes? True or falsecourse.quiz_count or chapter.quiz_count{Number} Get the course or chapter quizzes countcourse.has_surveys or chapter.has_surveys{Boolean} Does the course or chapter have surveys? True or falsecourse.survey_count or chapter.survey_count{Number} Get the course or chapter surveys countcourse.has_multimedia or chapter.has_multimedia{Boolean} Does the course or chapter have multimedias? True or falsecourse.multimedia_count or chapter.multimedia_count{Number} Get the course or chapter multimedias countcourse.has_text or chapter.has_text{Boolean} Does the course or chapter have text lessons? True or falsecourse.text_count or chapter.text_count{Number} Get the course or chapter texts countcourse.has_pdfs or chapter.has_pdfs{Boolean} Does the course or chapter have pdfs? True or falsecourse.pdf_count or chapter.pdf_count{Number} Get the course or chapter pdfs countcourse.has_disqus or chapter.has_disqus{Boolean} Does the course or chapter have disqus chats? True or falsecourse.disqus_count or chapter.disqus_count{Number} Get the course or chapter disqus countcourse.has_audios or chapter.has_audios{Boolean} Does the course or chapter have audios? True or falsecourse.audio_count or chapter.audio_count{Number} Get the course or chapter audios countcourse.has_downloads or chapter.has_downloads{Boolean} Does the course or chapter have downloads? True or falsecourse.download_count or chapter.download_count{Number} Get the course or chapter downloads countcourse.has_presentations or chapter.has_presentations{Boolean} Does the course or chapter have presentations? True or falsecourse.presentation_count or chapter.presentation_count{Number} Get the course or chapter presentations countcourse.has_brillium_exams or chapter.has_brillium_exams{Boolean} Does the course or chapter have brillium exams? True or falsecourse.brillium_exam_count or chapter.brillium_exam_count{Number} Get the course or chapter brillium exams countcourse.has_duration or chapter.has_duration{Boolean} Does the course or chapter have an expected duration set? True or falsecourse.duration or chapter.duration{Number} Get the expected course or chapter duration

Drop Manifest HelperLink

description

No variables are available yet!

Product HelpersLink

descriptionBase variables available to any product card objects (e.g, bundle card, course card)
locatordescriptionproduct.collections{Drops::Collection} Collections that the card product card belongs toproduct.additional_prices{Drops::ProductPrice} Get the product's additional prices

Search Query HelpersLink

descriptionThese variables are accessible from the collection/collections pages and the student dashboard page.
locatordescriptionpage.has_search_query{Boolean} Does the page have a search query applied? True or false.page.search_query{String} Get the currently applied search query

Social Login HelpersLink

descriptionThese variables are accessible from the sign_in/sign_up pages.
locatordescriptionpage.social_providers{Array} Get enabled social providers for the tenant with the following attributes: oauth_url, class and fa_icon

AppLink

descriptionThis drop exposes the app data to an app section only.
locatordescriptionapp.name{String} Get the app's nameapp.website{String} Get the app's websiteapp.logo{String} Get the app's logo urlapp.support_email{String} Get the app's support email