Unofficial Help in Other Languages: Help in 中文 / Help Center: 變量

什么是变量

什么是变量

在本网站的一些区域中,您可以选择创建默认文本,例如默认的电子邮件。变量是您在文本中添加的标记,当生成文本时,将用实时信息替换变量。

例如: 每个注册卖家都可以选择在接到订单后为买家生成发票。BrickLink 使用默认的发票模板,但卖家可以选择完全自定义发票的整个布局并添加或删除文本。下图左侧是一个发票样本,右侧是生成发票的默认模板。模板使用了各种信息的变量,例如订单 ID、买家地址或订单中的商品。当生成发票时,实际的订单信息将替换这些变量。变量就是左括号和右括号之间的关键词。 单击此处查看您可以使用的全部变量、变量说明、以及他们适用的电子邮箱类型。

发票样本: 默认值发票模板布局:
 
Invoice for BrickLink Order #1234
generated on 11/17/01 9:03:11 PM

Order Date: 9/12/00 12:12:00 AM
Payment By: Paypal.com
--------------------------------------
Comments from Seller:
Please send a grand total of $19.60 to ...
--------------------------------------
Order Summary:
--------------------------------------
Total Items: 100
Unique Items (lots): 9

Total: $17.60
Shipping: $2.00
Insurance: $0.00
Additional Charges: $0.00
Grand Total: $19.60
--------------------------------------
Items in Order:
--------------------------------------
*
* Batch #1
*
Black Brick 1 x 1 x 5 (x40) ..... $0.15 each = $6.00
Black Door 1 x 4 x 8 (x2) ..... $0.38 each = $0.76
Black Hinge Car Roof 4 x 4 (x4) ..... $0.15 each = $0.60
Black Hinge Tile 1 x 4 (x4) ..... $0.11 each = $0.44
Black Net (x2) ..... $0.38 each = $0.76
Brown Baseplate 16 x 16 (x4) ..... $0.75 each = $3.00
Dark Grey Slope 75 (x20) ..... $0.15 each = $3.00
Green Slope 45 2 x 1 (x8) ..... $0.08 each = $0.64
Green Slope 45 2 x 2 (x16) ..... $0.15 each = $2.40

--------------------------------------
Buyer Information:
--------------------------------------
BrickLink Username: Test1
E-Mail: test@test.com

Address:
John Doe
1234 Street
City, State, Zip 98585
USA
--------------------------------------
Seller Information:
--------------------------------------
BrickLink Username: Test2
E-Mail: sample@sample.com
BrickLink Store Name: John's Bricks

Address:
Jane Doe
4343 West Avenue
Nowhere, Bangkok
Vietnam

Invoice for BrickLink Order # generated on

Order Date:
Payment By:
--------------------------------------
Comments from Seller:
Please send a grand total of $<GRANDTOTAL> to ...
--------------------------------------
Order Summary:
--------------------------------------
Total Items:
Unique Items (lots):

Total: $
Shipping: $
Insurance: $
Additional Charges: $
Grand Total: $<GRANDTOTAL>
--------------------------------------
Items in Order:
--------------------------------------

--------------------------------------
Buyer Information:
--------------------------------------
BrickLink Username:
E-Mail:

Address:


--------------------------------------
Seller Information:
--------------------------------------
BrickLink Username:
E-Mail:
BrickLink Store Name:

Address: