80cents 中文文档教程
80cents
用于创建电子商务平台的真实且简单的 NodeJS 服务。
- Instalation
- Files
- Commands
- Running your store
- Quick start
- Settings
- Collections
- Products
- Discounts
- Pages
- Payments
- Customize
- Theme
- Templates
- Endpoints
Installation
在不到五分钟的时间内,您就可以启动并准备好您的电子商务。 80cents 在 NPM 中注册为 Node 包。 您可以使用以下命令安装最新版本的 80cents:
npm install 80cents
Files
安装 NPM 包后,您需要创建以下文件和文件夹结构。 如果你愿意,你可以下载我们的例子:
.
├── environment
│ ├── development.yml
│ └── ..
├── 80cents.js
├── 80cents.yml
├── bower.json
├── gulpfile.coffee
├── package.json
80cents it's powered by ZEN 服务器。 您可以在接下来的链接中找到这些文件的正确设置:
- development.yml (one of your environments for run the current instance)
- 80cents.js (main running NodeJS file)
- 80cents.yml (configuration of your 80cents instance)
- bower.json (bower dependencies)
- gulpfile.coffee (gulp tasks config file)
- package.json (node package dependencies)
Commands
安装依赖项和 bower 组件:
npm install
bower install
并编译:
gulp init
现在启动应用程序运行以下命令:
node 80cents.js
Running your store
您的商店运行在 http://localhost:1337
Quick start
Manage您在 http://localhost:1337/admin 的帐户。 管理员注册后,让我们从您商店的基本信息开始:
Settings
在本节中,您可以编辑有关您商店的信息,如名称、主页、元数据和联系邮件地址。 此外,您可以配置您的商店地址。 此信息将显示在您的发票上。
然后您可以编辑产品详细信息的标准和格式。
Collections
开始建立您的商店创建一些收藏,在这个例子中我们正在建立一个商店销售或购买技术设备,因此我们需要移动、平板电脑 和台式机 类别。
从旁边选择收藏,然后单击添加收藏 按钮。 填写表格并保存基本信息后,您可以上传该类别的图片。
Products
下一步是将产品添加到类别中。 从旁边选择产品并创建一个新产品并编辑产品信息。
Discounts
在此部分中,您可以为客户定义折扣。 定义代码、描述以及折扣是百分比还是金钱。 此外,您还可以为整个订单、系列或产品配置折扣。
Pages
使用此部分添加静态页面作为关于, 运输、退货、使用条款或您需要的任何其他内容。
页面 的链接显示在页脚处。 您可以选中 Header Menu 复选框以在标题处添加链接。
Payments
使用 80 美分,您可以在 PayPal 或 Stripe 之间选择付款方式。 您只需要配置您的密钥。
Customize
即将推出
Theme
Templates
Endpoints
80cents
A real and easy NodeJS service for create ecommerce platforms.
- Instalation
- Files
- Commands
- Running your store
- Quick start
- Settings
- Collections
- Products
- Discounts
- Pages
- Payments
- Customize
- Theme
- Templates
- Endpoints
Installation
In less than five minutes you can have your ecommerce up and ready. 80cents is registered as a Node package with NPM. You can install the latest version of 80cents with the command:
npm install 80cents
Files
After install NPM package, you need create the following structure of files and folders. If you want you can download our example:
.
├── environment
│ ├── development.yml
│ └── ..
├── 80cents.js
├── 80cents.yml
├── bower.json
├── gulpfile.coffee
├── package.json
80cents it's powered by ZEN-server. You can find proper settings for these files in the next links:
- development.yml (one of your environments for run the current instance)
- 80cents.js (main running NodeJS file)
- 80cents.yml (configuration of your 80cents instance)
- bower.json (bower dependencies)
- gulpfile.coffee (gulp tasks config file)
- package.json (node package dependencies)
Commands
Install dependencies and bower components:
npm install
bower install
And compiles:
gulp init
Now start application running the following command:
node 80cents.js
Running your store
Your shop is running at http://localhost:1337
Quick start
Manage your account at http://localhost:1337/admin. After admin registration let's start with basic information about your store:
Settings
In this section you can edit information about your store as Name, Homepage, Metas and Mail addresses for contact. Also, you can configure your shop address. This information will appears on your invoice.
Then you can edit Standard and Format for products details.
Collections
Start building your store creating some collections, in this example we are building a shop for sell or buy tech devices so we need a Mobile, Tablets and Desktop categories.
Select Collections from aside and click on Add a Collection button. Fill the form and after saving basic information you can upload images for this category.
Products
The next step is to add products to categories. Select Products from aside and create a new one and edit product's information.
Discounts
In this section you can define discounts for your customers. Define a code, description and if the discount is in percent or money. Also, you can configure your discount for entire order, collection or product.
Pages
Use this section to add static pages as About, Shipping, Returns, Terms of use or any other that you need.
Links for Pages are shown at footer. You can check Header Menu checkbox for have links at header.
Payments
With 80 cents you can choose as payment between PayPal or Stripe. You just need configure your keys.
Customize
Coming soon
Theme
Templates
Endpoints
你可能也喜欢
- @0x/contracts-exchange-forwarder 中文文档教程
- @0xcert/certification 中文文档教程
- @1023-ventures/darri-pp-permissions 中文文档教程
- @1onlinesolution/dws-crypto 中文文档教程
- @365werk/vue-library 中文文档教程
- @4c/graphql-relay-subscription 中文文档教程
- @4geit/rct-cell-component 中文文档教程
- @4geit/rct-social-buttons-component 中文文档教程
- @4geit/swg-use-db-helper 中文文档教程
- @7factor/form-builder 中文文档教程