如何安装Bigcommerce的Stencil

Stencil CLI 允许开发人员在本地编辑和预览主题,而不影响商家的实时店面及其内置的Browsersync(在新选项卡中打开)功能使跨桌面


更多

对您的设置进行故障排除

当您在开发 Stencil 主题时遇到意外行为时,请通过检查启动 Stencil CLI 的终端窗口来开始故障排除。


更多

模板 CLI 选项和命令

本文是 BigCommerce 强大的主题开发和部署工具 Stencil CLI 的综合命令参考。有关操作系统的安装说明,请参阅安装 Stencil CLI。有关 BigCo


更多

不兼容的指令

截至撰写本文时,BigCommerce 正在使用 Node-sass 的一个分支,我们计划在未来停用该分支。由于 Stencil CLI 和 BigCommerce 的服务器运行不同版本的 node-sass,因此编译后的 CSS 输出可能存在差异。


更多

Bigcommerce和Shopify哪个好

BigCommerce和Shopify都是知名的电子商务平台,它们各自有自己的优点和特点,选择哪个更好取决于你的具体需求和偏好


更多

Bigcommerce拖拽式搭建商品详情页PDP的Tab模块

BigCommerce详情页拖拽式搭建,通过wigets-builder 快速搭建


更多

API guide

STORE_HASH


更多

About Stencil


更多

Add JavaScript to your Stencil theme Explore how you can inject the power and richness of JavaScript into your themes

inject...


更多

Add stored payment methods


更多

Add to cart URLs

domain}}/{{page}}?sku={{sku


更多

Add wallet buttons to product pages


更多

Add your own wallet buttons Use Page Builder to configure wallet buttons and add them to your theme


更多

Adding additional JavaScript

inject "stringBasedKey" contextValue


更多

App compatibility


更多

Assets

cdn 'assets/img/image.jpg'


更多

B2B Edition for Stencil


更多

Blog commenting with Disqus

/partial


更多

Build and deploy your Stencil theme Learn how to build your custom theme and deploy it to your storefront


更多

Cart and checkout


更多

Catalog price object examples

product.price.non_sale_price_without_tax


更多

Changelog


更多

Checking a theme's size

cdn


更多

Checkout confirmation

stylesheet '/assets/css/theme.css'}


更多

Checkout consignment

STORE_HASH


更多

Creating channels


更多

Creating checkouts

ACCESS_TOKEN


更多

Creating customizable themes


更多

Creating reliable cron jobs


更多

Custom checkouts


更多

Custom fonts and icons

cdn 'webdav:MyFontFile.ttf'


更多

Custom sass functions

stylesheet '/assets/css/theme.scss'


更多

Custom templates


更多

Customers


更多

Customizing template JavaScript

inject...


更多

Defining global styles

theme_settings.homepage_new_products_count


更多

Developing accessible themes


更多

Directory structure


更多

Dynamic template rendering


更多

Enable PayPal smart buttons


更多

Enabling AMP (deprecated)


更多

Enriching templates with GraphQL

STORE_HASH


更多

Example queries

storefrontToken


更多

Examples

#each list_items


更多

Explore the documentation now!


更多

Faceted and textual search


更多

Features


更多

Frontmatter reference with GraphQL queries

! - - sku code from each variant from GQL response


更多

Frontmatter: Adding data to page context

name


更多

Get started with Stencil Learn how to get up to speed on Stencil, BigCommerce's Handlebars based theme engine


更多

Global regions guide

region name="below_content--global"}


更多

GraphQL Storefront API

settings.storefront_api.token


更多

GraphQL Storefront API: Headless checkout flow

STORE_HASH


更多

GraphQL Storefront


更多

Guide to widgets

region name="category_header_banner"}


更多

Guide


更多

Gutenberg support


更多

Handle events


更多

Handlebars helpers reference

jsContext


更多

Handling unexpected behavior


更多

Implementing WCAG guidelines


更多

Incompatible SCSS directives


更多

Install the Stencil CLI Install the Stencil CLI so you can start editing and previewing themes locally


更多

Installation


更多

Installing Stencil CLI


更多

Integrating React components

cdn 'assets/dist/'


更多

Introduction to headless commerce

STORE_HASH


更多

Inventory queries


更多

Inventory settings


更多

Launch checklist


更多

Localization for hosted storefronts (opens in a new tab)


更多

Localization

store_hash


更多

Localize your store Learn about the different steps required to get your store fully localized and ready to operate in different countries

lang


更多

Localizing stores

lang


更多

Locations queries


更多

Locations settings

store_hash


更多

Managing carts

store_hash


更多

Metafields


更多

Modify the login form

lang 'login.new_customer.fact1'


更多

Multi channel capabilities


更多

Multi site setup


更多

Next


更多

Node sass sunset


更多

Optimized one page checkout


更多

Options and commands

channel_id_1 channel_id_2 ... channel_id_n


更多

Order confirmation

lang checkout.my-string


更多

Orders


更多

Overview


更多

PCI compliance


更多

Page Builder


更多

Page composition and styling

partial


更多

Performance optimization

inject


更多

Plugin code reference


更多

Plugin settings


更多

Product import


更多

Product reviews


更多

Proxy REST API endpoints


更多

Query APIs


更多

REST Management API: Headless checkout flow

store_hash


更多

REST Management

checkout.order.id


更多

REST Storefront


更多

Recovering abandoned carts

STORE_HASH


更多

Routes and content


更多

Schemas

banners


更多

Shortcodes


更多

Starting the development server


更多

Stencil Utils reference


更多

Stencil tech stack

title


更多

Storefront selector


更多

Theme metadata: Images


更多

Theme variations


更多

Third party widgets


更多

Translating descriptions


更多

Translating page regions

region }


更多

Tutorial

store_hash


更多

UI settings


更多

Unexpected behavior


更多

Updates and version control

stylesheet ‘/assets/css/theme.css’}


更多

Upload errors


更多

Uploading a theme


更多

Using API site content


更多

Using early hints

stylesheet


更多

Using translation keys

lang


更多

Variants


更多

Versioning guide

store_hash


更多

WCAG compliance levels


更多

Widget Builder


更多

Working with products

ACCESS_TOKEN


更多

alignment


更多

banners

banners


更多

blog

banners


更多

boolean


更多

box model


更多

brand

banners


更多

brand_results

banners


更多

brands

banners


更多

breadcrumbs

banners


更多

carousel

banners


更多

cart


更多

cart_id

banners


更多

categories

banners


更多

category

banners


更多

category_results

banners


更多

checkbox


更多

checkout

banners


更多

code


更多

color


更多

comparisons

banners


更多

config


更多

content_results

banners


更多

countries

banners


更多

create_account

banners


更多

currency_selector

banners


更多

customer

banners


更多

customer_group_id

banners


更多

customer_group_name

banners


更多

downloads

banners


更多

element settings


更多

faceted_search

banners


更多

font


更多

footer

banners


更多

forms

banners


更多

forms_contact

banners


更多

head

banners


更多

heading


更多

image manager


更多

imageDimension


更多

input


更多

is_ajax

banners


更多

number


更多

optimizedCheckout image


更多

order

banners


更多

page

banners


更多

page_type

banners


更多

pages

banners


更多

pagination

banners


更多

price

banners


更多

product id


更多

product image


更多

product

banners


更多

product_results

banners


更多

products


更多

range


更多

reCAPTCHA support


更多

reference


更多

regex input


更多

remote_api_scripts

banners


更多

schema


更多

select


更多

settings

banners


更多

shipments

banners


更多

shipping_messages

banners


更多

shop_by_brand

banners


更多

sitemap

banners


更多

social_media

banners


更多

template_file

banners


更多

text


更多

theme_settings

banners


更多

typography


更多

urls

banners


更多

vault

banners


更多

visibility


更多

wishlist

banners


更多