Skip to content

Third-Party Integrations ​

Junip Reviews ​

Purpose: Product ratings, review summaries, and full review display on PDPs.

Implementation ​

Junip is integrated through three custom snippets and Shopify app blocks:

FilePurpose
snippets/junip-store-key.liquidOutputs the store key and configuration from shop.metafields.junip
snippets/junip-product-summary.liquidRenders star ratings and review count on PDP pages (fallback for blended-reviews)
snippets/junip-product-review.liquidRenders the full review widget (junip-product-review span)

Store Key Configuration ​

The store key is read from Junip's app metafields:

  • shop.metafields.junip.store_key -- API key
  • shop.metafields.junip.onsite_enabled -- Enable/disable onsite reviews
  • shop.metafields.junip.review_count_enabled -- Show review count
  • shop.metafields.junip.star_color -- Star color (default: #FDB600)

Product Summary (Star Ratings) ​

The PDP summary under the title is rendered by snippets/blended-reviews.liquid (see Blended Reviews). The on-site junip-product-summary.liquid snippet is the fallback, used when a product has no blended review metafields. It reads:

  • product.metafields.junip.rating_average -- Average rating
  • product.metafields.junip.rating_count -- Total review count

It prints the summary in the same format as the rest of the site: 4.5 ★★★★★ (3,600) -- the average via helper-review-rating, the count in parentheses via helper-review-count. Stars use custom SVG icons: outlined stars in #9FAEA7 (gray-green) and filled stars in #80BD42 (green). The summary includes a hover-expandable review distribution panel.

A scrollToAnchor() JavaScript function scrolls to the full review section when the rating is clicked.

Full Review Widget ​

The full Junip review widget is added to PDP templates via Shopify app blocks:

json
"type": "shopify://apps/junip/blocks/junip-product-review/dc14f5a8-ed15-41b1-ad08-cfba23f9789b"

This appears on all five product templates (product.json, product.pdpv2.json, product.pdpv2-nonhemp.json, product.pdp-buttons.json, product.pdpv3-price-day.json), with sortOrder: "mostRecent".

The widget's Write a review button (.junip-write-review-cta) is styled like the theme's purple "wave button" in src/entrypoints/main.scss.

Product Cards (Vue) ​

On PLP cards, carousels and the Quick Add popup, ratings come from the Vue <junip> component (src/vue/components/Junip/index.vue). When the card data has blendedCount > 0 it shows the blended numbers and skips the Junip API call; otherwise it fetches from api.juniphq.com. Formatting comes from the src/vue/mixins/reviewFormat.js mixin (formatRating, formatReviewCount → 3.6k).

Blended Reviews (Amazon + Chewy) ​

Purpose: Show one combined rating and review count across the website, Amazon and Chewy.

Data source ​

Product metafields in the reviews namespace, written by an external daily sync (not by the theme):

MetafieldPurpose
reviews.blended_ratingCombined average rating
reviews.blended_countCombined review count
reviews.sourcesComma-separated list of sources
reviews.amazon_reviews / reviews.chewy_reviewsReview counts per marketplace
reviews.amazon_url / reviews.chewy_urlLinks for the "Read on Amazon" / "View on Chewy" buttons

Files ​

FilePurpose
snippets/blended-reviews.liquidReusable summary. mode: 'compact' → 4.4 ★★★★☆ (3,600) (PDP under the title, product cards); mode: 'full' → card with stars, "N verified reviews across all platforms" and marketplace buttons. count_format: 'short' prints 3.6k. Falls back to junip-product-summary when blended data is missing.
snippets/helper-review-count.liquidCount formatting: full → 3,600, short → 3.6k
snippets/helper-review-rating.liquidRating formatting: one decimal, truncated (4.55 → 4.5) to match Junip's widget
sections/section-blended-review-widget.liquid"Blended Review Widget" section (see below)
src/vue/mixins/reviewFormat.jsVue twin of the two helpers -- keep in sync
snippets/helper-featured.liquid, snippets/helper-best-sellers.liquidPass blendedRating / blendedCount to Vue product cards

Stars fill proportionally to the rating (4.4 fills 88% of the row), not to the nearest half star.

Blended Review Widget section ​

Section file: sections/section-blended-review-widget.liquid

The section outputs only a script that overrides Junip's own review summary once Junip has rendered it: the average, the star fill (--junip-star-fill) and the count ("3,600 Reviews across all platforms") are replaced with the blended values, and Junip's per-star distribution bars are hidden (no per-star data exists for blended totals). It only runs when the product has Amazon or Chewy reviews, which is exactly when the "across all platforms" disclaimer is true.

Setting IDTypeLabelDefault
padding_toprangePadding top48
padding_bottomrangePadding bottom48
custom_classtextCustom CSS class--

Currently placed on product.pdp-buttons.json only (before the Junip app block).

Review Disclaimer ​

A global disclaimer is injected below the review section title via CSS ::after on .junip-product-review-title in sections/main-product.liquid. The text is sourced from settings.review_text (see Theme Settings > PDP Settings).

Klaviyo ​

Purpose: Email marketing, newsletter signup popups, and customer engagement.

Implementation ​

  • Global list ID is configured in Theme Settings > Klaviyo Email List (settings.klaviyo_id).
  • Footer trigger: The "Follow Us!" button in the footer opens a Klaviyo popup form:
    javascript
    window._klOnsite.push(['openForm', '{{ settings.klaviyo_id }}']);
  • Klaviyo's JavaScript SDK is loaded via Shopify's content_for_header (installed as a Shopify app).

Where Klaviyo Appears ​

LocationBehavior
Footer"Follow Us!" button triggers Klaviyo form popup
Newsletter sectionsStandard Shopify customer form (can be extended with Klaviyo)

Wholesale Gorilla (WSG) ​

Purpose: B2B wholesale portal with custom pricing, registration forms, and quick order functionality.

Implementation Files ​

FilePurpose
snippets/wsg-custom.liquidCore WSG JavaScript and CSS customization
sections/wsg-custom-fields.liquidCustom registration form fields
sections/wsg-registration-settings.liquidRegistration page settings
templates/page.wsg-proxy-template.liquidWSG proxy page template
templates/page.wsg-registration-form.liquidWSG registration form template
templates/product.wsg-json.liquidWSG product JSON template

Core Functionality (wsg-custom.liquid) ​

This snippet is loaded in layout/theme.liquid via {% render 'wsg-custom' %} inside <head>. It:

  1. Detects wholesale customers via window.isWsgCustomer.
  2. For wholesale customers:
    • Redirects the cart icon to /cart (bypasses mini-cart).
    • Hides Shopify Pay / additional checkout buttons.
    • Shows elements with the .showWsg class.
  3. For retail customers:
    • Hides elements with .showWsg class (default CSS sets display: none).
  4. Styles the WSG proxy container, Quick Order Form tables, and form inputs.
  5. Runs a MutationObserver on .wsg-proxy-container to apply custom JS once WSG content loads.

Registration Form Fields (wsg-custom-fields.liquid) ​

The registration form supports the following block types:

Block TypeNameLimit
text_blockText InputUnlimited
phone_blockPhone1
textarea_blockMulti-line text areaUnlimited
terms_blockTerms & Conditions1
marketing_opt_in_blockMarketing Opt-in1
upload_file_blockUpload File1
company_blockCompany1
dropdown_blockSelect dropdown1

Each field can be marked as required. Custom fields are stored as customField_[label] in the customer's data.

Registration Settings (wsg-registration-settings.liquid) ​

Setting IDTypeLabelDefault
page-titletextPage Title"Apply for a Wholesale Account"
descriptionrichtextDescription"Use this form to apply for a wholesale account."
imageimage_pickerImage--
custom-htmlhtmlCustom HTML--

Current values (in settings_data.json): page title "Create a Wholesale Account", empty description, and a Custom HTML block with the Antelope Pets retail-partner copy ("A wholesale relationship with Antelope Pets is more than just a transaction...", fit criteria, "What happens next?"). Section-level custom CSS adds bullet styling and limits .wsg-one-half to 685px.

App Block Configuration ​

The Wholesale Gorilla app block is registered in settings_data.json as an embedded header bar:

json
"type": "shopify://apps/wholesale-gorilla/blocks/wsg-header/c48d0487-dff9-41a4-94c8-ec6173fe8b8d"

Configured with blue background (#50a2d8) and white text (#FFFFFF).

Current Registration Fields ​

The WSG custom fields section has 4 blocks configured:

  1. Website (text, optional)
  2. Phone Number (phone, optional)
  3. Tax ID/ABN/VAT Number (text, optional)
  4. Note (textarea, optional) -- "Tell us a little about yourself so that we can verify your business identity"

Intelligems ​

Purpose: Price testing and optimization platform.

Loaded as a render-blocking module script in layout/theme.liquid:

html
<script type="module" blocking="render" fetchpriority="high"
  src="https://cdn.intelligems.io/esm/899d4b12440a/bundle.js" async>
</script>

This enables A/B testing of product pricing across the storefront.

Intelligems is also used for theme tests: traffic is split between the live Theme A (176347447603, branch master) and the unpublished Theme B (173548077363, branch staging). See Deployment & Branching.

Hotjar ​

Purpose: Session recording, heatmaps, and user behavior analytics.

Tracking code is embedded in layout/theme.liquid with site ID 5068335:

javascript
h._hjSettings = {hjid: 5068335, hjsv: 6};

ReCharge (Subscriptions) ​

Purpose: Subscribe-and-save functionality for recurring product purchases.

Implementation ​

  • The subscription widget is rendered via the <results> Vue component in snippets/product-form.liquid.
  • settings.subscribe_text provides the subscription benefits copy (configured in Theme Settings > PDP Settings).
  • Products can disable subscriptions individually via the metafield product.variants.first.metafields.custom.disable_subscription.
  • The snippets/products-hidde-subscription.liquid file builds a JavaScript array (window.Shopify.hide_product_ids) of variant IDs that should not show the subscription widget.
  • When a product has disable_subscription == true, the .disable-subscription CSS class hides the results container.
  • The same subscription widget (<results>) is used inside the PLP Quick Add popup.
  • In the cart, each line can switch selling plans, and one-time lines get an "+ Upgrade to Subscription and Save 10%" link that picks the 4-week plan. See Subscriptions in the Cart.
  • Quick-add buttons do not attach a _sellingPlans line property, so orders in the admin carry no such property.
  • Subscription portal: the login page's "Manage My Subscription" button and the account page's "Manage subscriptions" link go to /tools/recurring/get-subscription-access. See Account Pages.
  • GWP does not count subscription lines towards its threshold.

Checkout Savings (Checkout UI Extension) ​

Purpose: Show subscription buyers how much they save, inside Shopify checkout.

The custom app Checkout Savings adds a Subscription savings block to checkout. It is documented in Checkout Savings. The theme side (the _theme_id cart attribute written by src/vue/store/cart.js, and why accelerated checkout buttons must stay off) is documented in Cart & Checkout → Checkout Savings.

The theme writes the _theme_id attribute on Theme B (staging) only.

Pinpoint Store Locator ​

Purpose: Store locator map on the store locator page.

The page.custom-store-locator.json template contains an apps section with the Pinpoint Store Locator app block:

json
"type": "shopify://apps/pinpoint-store-locator/blocks/locator/019fd12c-653c-7cce-a605-afd3a5e788ba"

Block settings: map_tag: "m_8yuz6eure6", feature_color: "#93297a", layout: "side", panel_width: 360, min_height: 560, scroll_zoom: false. Store locations are managed in the Pinpoint app, not in the theme. See Store Locator Page.

Pet Profile (Customer Accounts App) ​

The Antelope Pet Profile app adds a "My pet" card to the customer account Profile page and stores pet name, species, breed, birthday and photo as customer metafields (custom.pet_*). It is a customer-account UI extension, so it needs Shopify's new customer accounts. The app's repository has an app record config only for Antelope Pets; there is none for Super Snouts (supersnoutshempcompany.myshopify.com). The theme itself does not read these metafields. See Pet Profile and Account Pages.

Antelope Themes Documentation

Enter the password to access this site.