CocoShop theme development
  • 🚀Getting Started
    • Overview
    • Getting started
  • ⛓️Architecture
    • Overview
    • Layouts
    • Templates
      • index
      • collections
      • collection
      • product
      • 404
      • search
      • page
    • Section
      • Section schema
    • Config
    • Input settings
  • 💧Liquid
    • Basics
      • Operators
      • Truthy and Falsy
      • Whitespace Control
    • Tags
      • Control flow
      • Variable
      • Theme
    • Filters
    • Objects
      • site
      • collection
      • wallet
      • chain
      • product
      • attribute
      • connected_wallet
      • linklists
      • linklist
      • link
    • Functions
      • connectWallet
      • changeChain
      • disconnect
      • transfer
      • buy
  • 💫Others
    • Roadmap
Powered by GitBook
On this page
  1. Liquid
  2. Functions

buy

PrevioustransferNextRoadmap

Last updated 2 years ago

The buy function is a function for purchasing NFTs that are on sale.

Condition of use

The only template that can use the buy function is template.

Also, the UI should be such that it can only be run on NFTs that are in the selling state.

💧
product