Beauty Affairs HK

Glossary

Terms that appear under different names in the theme editor, the code and conversation.

TermAlso calledWhat it is
Mini-cartCart drawer, side cartThe slide-out cart. sections/mini-cart.liquid and src/entrypoints/mini-cart/
EntrypointBundleA file under src/entrypoints that Vite compiles into its own asset
vite-tagThe tag snippetsnippets/vite-tag.liquid, generated. Maps a source path to a hashed asset
Reward tierGift tier, bonus tierA spend threshold that unlocks a gift. Theme settings > Rewards Tiers
Purchase giftProduct giftThe gift added automatically above a threshold. Theme settings > Products
Free giftMinicart free giftA gift defined as a minicart_free_gifts metaobject entry
MedispaClinic, medi-spaThe in-clinic treatments side of the business
TreatmentServiceA bookable Medispa product, tagged sesami-service
DepositPay deposit now, downpaymentPartial payment online, balance in clinic. Uses a Downpay selling plan
Pay in clinicPay in storeNo online payment. Metafields use the pay_in_store spelling throughout
Remaining amountBalanceWhat is still owed after a deposit. Recalculated on every cart change
ClinicLocationA medispa_locations metaobject entry
Popup managerPopup monitorPopupMonitor, which decides which popup opens and when
SnifferDetectorWatches the DOM for popups that appear after page load
AdapterPopup adapterShows and hides one kind of popup
BlacklistPopup blacklistTheme setting listing popups to hide with CSS at render time
Line item propertyPropertyA key and value attached to a cart line. A leading _ hides it from the shopper
_sourceCart sourceThe property recording which code added a line. src/lib/cart-source.ts
Stale line keyStale keyA line item key that changed because code wrote to the line's properties
SectionBlockA section is a page region. A block is a repeatable item inside a section
Render locationSlotWhich part of the mini-cart drawer a block renders into
RedesignHomepage redesign, Medispa redesignThe newer rebuilds. A -redesign filename is usually the one in use
PrestigeMaestrooo themeThe purchased theme this one started from, version 10.0.2
Discovery barDiscovery landingA set of landing page templates with their own layout
TBYBTry before you buyA product programme with its own card, grid and templates
Theme pullSyncThe GitHub Actions workflow that commits the live theme to production

Spellings that differ between layers

The business says "pay in clinic". Metafields and settings say pay_in_store. Both mean the same option. Keep using pay_in_store in code so the Hong Kong and Australian stores' code can still be merged.

The theme editor says "Rewards Tiers". The code says cartRewardBanner and rewardTiers. The homepage section is called "Unlock Free Bonus". All three refer to the same set of thresholds.

On this page