




已阅读5页,还剩28页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
estore简码和功能参考这页的所有可用的简码和PHP功能,您可以使用显示按钮,购物车等各种方式清单。 WP eStore Shortcodes List可湿性粉剂ESTORE短代码列表 The list here is for a product that has a product ID of 1.这里是该列表的产品有1个产品ID。 Download a PDF version of the WP eStore Shortcodes & PHP Functions list 下载的PDF版本WP ESTORE短代码和PHP函数列表 。 More Shortcodes and Function References更多的简码和函数引用 Some people just like to go nuts with WordPress shortcodes and there is nothing wrong with that有些人只喜欢去与WordPress简码的坚果有什么不妥 . 。 So if you are not satisfied with the default set of shortcodes that comes with the WP eStore plugin then download and install the “Extra WP eStore Shortcodes” plugin and you will have access to many more cool shortcodes:所以,如果你没有满意的简码与可湿性粉剂ESTORE插件设置默认,然后下载并安装“额外的WP ESTORE短代码”插件,你将有机会获得许多更凉爽的简码: Download the Extra WP eStore Shortcodes plugin 下载额外的WP ESTORE短代码插件 Download a PDF version of the available Extra WP eStore Shortcodes list 下载可用的PDF版本额外可湿性粉剂ESTORE短代码列表 Feel free to make a suggestions for shortcodes that you need and we will try to add it in.随意提出一个建议,你需要的简码,我们将尽力把它添加进来。 Available Email Tags可用的电子邮件标签 The following tags can be used in the “Email Body” of the email that is sent out after a purchase (the tags will be replaced with the value dynamically):在“电子邮件正文”购买(标签将被取代的价值动态)后,发送电子邮件,可以使用以下标记: first_name First name of the buyer FIRST_NAME - 第一买方名称 last_name Last name of the buyer LAST_NAME - 买方的姓 payer_email- Buyer email address payer_email - 买家的电子邮件地址 product_details Lists the item name (with variation), quantity, currency and price of every purchased item. product_details - 列出项目名称(变化),每购买物品的数量,货币和价格。 product_name Name of the purchased products (comma separated) PRODUCT_NAME - 所购买的产品名称(以逗号分隔) product_link List of purchased products and corresponding encrypted download links for the products. product_link - 购买的产品和相应的加密产品的下载链接名单。 product_link_digital_items_only List of purchased digital items with encrypted download links (The item is only listed if the product has a downloadable file) product_link_digital_items_only - 加密的下载链接(该项目是唯一一家上市的产品,如果有一个可下载文件)购买的数字项目名单 product_price Price of the purchased products (comma separated) product_price - 所购买的产品价格(以逗号分隔) product_id Product IDs of the purchased products (comma separated) PRODUCT_ID - 所购买的产品的产品ID(逗号分隔) download_life Duration the download links are valid for. download_life - 时间的下载链接是有效的。 shipping_info Buyers shipping address shipping_info - 买家的送货地址 shipping_option_selected - The selected shipping variation for the transaction shipping_option_selected - 交易选定的航运变化 product_specific_instructions Add the product specific instructions (eg password for a PDF file) specified in the product to the email body. product_specific_instructions - 添加产品的具体说明(例如PDF文件的密码)的产品,以电子邮件的正文中指定。 purchase_date The date of the purchase. purchase_date - 购买日期。 transaction_id The unique transaction ID of the purchase. TRANSACTION_ID - 独特的交易ID的购买。 purchase_amt The amount paid for the current transaction. purchase_amt - 当前事务中所支付的金额。 total_tax Total tax amount for this transaction. total_tax - 本次交易的总纳税额。 total_shipping Total shipping amount for this transaction. total_shipping - 本次交易的总出货额。 total_minus_total_tax The total amount minus the total tax. total_minus_total_tax - 总金额减去总税收。 2如何添加到购物车”按钮这是一个分步指南设置“添加到购物车”按钮使用的WordPress的网上商店插件产品,以适应从你的WordPress网站的产品销售。 Setup a Basic Add to Cart Button for a Product产品设置一个基本的“添加到购物车”按钮 Think about the name, price and a little description for the product you want to sell.想想名称,价格和一点点的描述你想卖的产品。 Configure the product using the Add/Edit Products interface of the WordPress eStore Plugin.使用“添加/编辑产品的WordPress的网上商店插件的接口配置的产品。 Take note of the Product ID after you add the product (all the product ids can be found on the Manage Products page).以“产品编号”后添加的产品(所有产品的IDS可以在“产品管理”页面中找到)。 Design the way you want to display the product on a Post or Page where you want to sell the product from.设计你想要的方式显示在某一职位或页面,您希望出售的产品从产品。 I want to keep it very simple for this example.我想保持这个例子很简单。 So I am going to use the following as my product information:因此,我将使用我的产品信息以下: Name: Demo Product One 产品名称:演示产品 Description: Demonstrates the Add to Cart button 说明:演示添加到购物车“按钮 Price: $1.00 价格:$ 1.00 Now, all I need is the Add to Cart button next to the product information so a customer can purchase it.现在,我需要的是“添加到购物车”按钮旁边的产品信息,使客户可以购买它。 To insert the Add to Cart button that goes with this product just add the following text below the line Price: $1.00.要插入“添加到购物车”按钮,此产品,只需添加以下文本行“的价格:$ 1.00以下。 wp_eStore_add_to_cart id=PRODUCT-ID wp_eStore_add_to_cart ID =产品编号 Replace PRODUCT-ID with the actual product id of the product you are selling in my case its 1 because this is the first product I just configured.替换与实际产品编号的产品,你在我的情况下出售它的1的“产品ID”,因为这是我刚配置的第一个产品。 So I am going to add the following text所以,我要添加以下文本 wp_eStore_add_to_cart id=1 wp_eStore_add_to_cart ID = 1 The completed product display looks like the following:完成的产品陈列如下所示: Name: Demo Product One 产品名称:演示产品 Description: Demonstrates the Add to Cart button 说明:演示添加到购物车“按钮 Price: $1.00 价格:$ 1.00 Finally, I am going to add the following trigger text in the post that displays the shopping cart when items are added to the cart.最后,我会在后,显示时,将项目添加到购物车购物车添加以下的触发器文本。 You can also use the sidebar widget to display the shopping cart.您还可以使用侧边栏小工具来显示购物车。 This will allow the customer to view their order and checkout:这将允许客户以查看他们的订单和结算: wp_eStore_cart wp_eStore_cart Feel free to hit the above Add to Cart button to see how the shopping cart appears below this line.随意打上面的“添加到购物车”按钮,看看购物车出现下面这行。 You can copy and paste all the shortcodes from the shortcode references PDF file .您可以复制并粘贴从所有的简码简码参考PDF文件 。 Common Pitfalls常见的陷阱 The most common mistakes people make when using the Add to Cart buttons trigger text and hence the button doesnt appear are as following:最常见的错误的人,当使用“添加到购物车”按钮的触发器文本,因此该按钮没有出现如下: Use of hyphen (-) instead of underscore (_).使用连字符( - ),而不是下划线(_)。 Use wp_eStore not wp-eStore .使用wp_eStore不WP - ESTORE。 Use of lowercase s instead of uppercase S.使用小写字母“S”,而不是大写的“S”。 Use wp_eStore not wp_estore .使用wp_eStore不wp_estore。 Forgot to activate the plugin from the plugins menu (Yes it does happen忘记激活插件菜单的插件(是的,它确实发生 Didnt replace PRODUCT-ID in the trigger text with the actual number.触发器文本与实际人数并没有取代“产品ID”。 How to Upload a File for Digital Product如何上传文件数字化产品 Uploading a file for your digital product using a FTP client (eg. FileZilla) is very easy but if you are not comfortable with that then you can use WordPresss media uploader to upload the file to your server.上传一个文件使用FTP客户端(如FileZilla中)为您的数字产品是很容易的,但如果你不舒服,那么你可以使用WordPress的媒体上传文件上传到服务器。 The following page has step by step instruction on how to do it:以下页面有一步一步的指令,对如何做到这一点: How to upload a file using media uploader 如何上传一个文件,使用媒体上载者 How to use a Custom image as the Add to Cart button如何使用自定义图像“添加到购物车”按钮 If you want to make the Add to Cart button look nicer then you probably want to use a custom image for the button.如果你想“添加到购物车”按钮,寻找更好的,那么你可能想使用自定义图像按钮。 WordPress eStore allows you to specify a custom button image for every product. WordPress的网上商店允许你指定一个自定义按钮图像的每一件产品。 When you configure the product there is an optional product settings field called Button Image URL that you can use to specify a custom image to be used for the Add to Cart button.当您配置的产品有一个可选的产品设置字段“按钮图像URL”,您可以使用“添加到购物车”按钮指定一个自定义图像。 I have uploaded a custom image to my web host and used the URL in the Button Image URL field of the product settings and now the Add to Cart button looks like the following (I have also embedded a picture in the post so the product display looks nicer):我已经上传到我的虚拟主机自定义图像,并在产品设置“按钮图像URL”中使用的URL和现在的“添加到购物车”按钮,看起来像下面的(我也嵌入在后的图片,以便产品展示看起来更好): Name: Demo Product Two 名称:演示产品 Description: Demonstrates Customized Add to Cart button 说明:演示自定义按钮“购物车加入” Price: $1.00 价格:$ 1.00 The WordPress eStore plugin comes with a few different Add to Cart and Buy Now button images that you can use. WordPress的网上商店插件有几个不同的“添加到购物车”和“购买”键图像,您可以使用。 All the images are included in the images directory of the plugin.所有的图像都包含在“图像”插件目录。 More style to the button can be added using CSS (stylesheet).使用CSS(样式表),可以添加更多的风格按钮。 How to Display the Product in a Stylish Way如何在时尚的方式显示产品 Demo Buy Now button演示购买“按钮 This is a test description.这是一条测试的说明。 This description is here to show how the description of this product looks like when used with the WordPress Shopping Cart .这说明这里以显示如何说明此产品看起来像时,与使用WordPress的购物车 。 Price: $1.00 价格:$ 1.00 Enter the following shortcode to display the product like the one above (9 is the product id of the product in this example):输入以下简码显示像一个产品上面(9是在这个例子中的产品的产品ID): wp_eStore_fancy1 id=9 wp_eStore_fancy1 ID = 9 Demo Buy Now button演示购买“按钮 This is a test description.这是一条测试的说明。 This description is here to show how the description of this product looks like when used with the WordPress Shopping Cart .这说明这里以显示如何说明此产品看起来像时,与使用WordPress的购物车 。 Price: $1.00 价格:$ 1.00 Or Enter the following shortcode to display the product like the one above或输入以下简码像上面显示的产品 wp_eStore_fancy2 id=9 wp_eStore_fancy2 ID = 9 You will have to fill out the Product Description and the Thumbnail image URL when configuring the product for this type of display.您将这种类型的显示配置的产品时,必须填写产品描述和缩略图URL。 More stylish display options are explained on the stylish product display documentation page . 时尚的产品显示文档页面上解释更时尚的显示选项。 How to Sell Limited Number of Copies of a Product如何卖产品的副本数量有限 WordPress eStore plugin allows you to limit the number of copies of a product you sell.网上商店WordPress的插件允许你限制你卖一个产品的复制品的数量。 In order to sell limited copies of a product, simply enter the number of copies you want to sell in the Available Copies field of the Product when you configure it.为了推销产品的有限副本,只需输入您想买入“副本”的产品领域中,当您配置的份数。 The plugin will decrease that number every time that product sells.该插件将减少,产品远销每次。 When the Available Copies number reaches 0 the plugin replaces the Add to Cart button with a Sold Out image like the following preventing further sales:当“副本”数量达到0“插件取代”购物车“按钮添加一个”已售完“像以下,防止进一步的销售的形象: Name: Demo Product Three 产品名称:演示产品三 添加立即购买WordPress的网上商店允许您创建“立即购买”类型的按钮的功能,让您的客户没有将项目添加到购物车。 The “Buy Now” type buttons take the customers directly to PayPal for payment when clicked. “立即购买”类型的按钮,客户直接支付给PayPal单击时。 Adding a “Buy Now” type button is similar to adding an Add to Cart button .添加“立即购买”类型“按钮添加“添加到购物车”按钮相似。 The main difference is in the shortcode/trigger text that is used to place the button on a post or page.主要区别是在简码/触发器文本,用来放置后或页面上的按钮。 To insert a “Buy Now” type button add the following shortcode in a post or page:要插入“立即购买”类型“按钮,添加后或页面以下简码: Replace PRODUCT-ID with the actual product id of the product you are selling.你是卖产品的实际产品编号替换“产品ID”。 Try clicking on the following Buy button to see how it works:请点击下面的购买按钮,看到它是如何工作的: Name: Demo Product Four 名称:演示产品四 Description: Demonstrates the 说明:演示 Buy Now type button “立即购买”类型“按钮 Price: $1.00 价格:$ 1.00 Each Buy Now type button can have a unique return URL.每一个“买”的类型按钮,可以有一个独特的返回URL。 When the return URL is used the customer is sent to the specified URL after Payment.返回URL是用来当客户付款后发送到指定的URL。 Customizing the “Buy” Button Image自定义的“购买”按钮的图片 You can customize the buy button image with your unique custom designed image by specifying the image URL in the “Button Image URL” field of the product.您可以定制您独特的自定义形象设计购买按钮图像“按钮图像URL”的产品领域中通过指定图像的URL。 For example I have used the well known “Belcher Button” image for the following buy button.例如,我曾用著名的“宝翠园”按钮“的形象,为下面的购买按钮。 It looks a lot like what you may have seen on may other sales pages, doesnt it?它看起来像你可能有可能其他销售网页上看到的很多,不是吗? Display Buy Now button from Any WordPress Theme File显示现在购买任何WordPress主题文件按钮 You can also use the following PHP function if you want to show the Buy Now type buttons from your wordpress themes template files (eg. on the sidebar sidebar.php):如果你想显示的“立即购买”从你的WordPress主题的模板文件(侧栏“的sidebar.php”如)按钮,您还可以使用下面的PHP函数: print_eStore_buy_now_button(PRODUCT-ID) print_eStore_buy_now_button(产品的ID) So adding the following line to a PHP file will display a Buy Now button for the product whos product id is 4:因此,添加以下行到一个PHP文件,将显示一个产品的产品编号是4立即购买按钮: 4添加定期付款按钮配置一个经常性支付的认购“按钮,将它添加到邮寄或页面是很容易的使用可湿性粉剂ESTORE插件。 Please note that subscription buttons only work when used with PayPal . 请注意,订阅按钮,只用PayPal使用时 。 Configuring a Subscription Payment配置订阅付款 Creating A Subscription Button创建一个订阅按钮 Creating a subscription button is a two step process:创建一个订阅按钮是一个两步的过程: Step 1: Simply fill in the subscription details in the Subscription section of the Add/Edit Product menu. 第1步:只需填写在“添加/编辑产品”菜单认购部分的认购细节。 Step 2: Type the following shortcode to display the subscription button for this product on a post or page. 第2步:键入以下简码显示此产品上张贴或页面的订阅按钮。 Replace PRODUCT-ID with the actual id of the product (example: 15)更换“产品编号”与产品的实际ID(例如:15) Example Subscription Button认购按钮示例 The following Subscription button charges the customer $29.95 USD for the first 7 days Then $49.95 USD for each month, for 6 installments.下面的订阅按钮收费客户的$ 29.95美元,第7天,然后每月$ 49.95美元,为6分期付款。 You can also display the subscription button using one of the fancy displays like the following: ,您还可以显示使用像下面看中显示的订阅按钮: Test Membership Subscription测试会员费 Subscription button that charges the customer $29.95 USD for the first 7 days Then $49.95 USD for each month, for 6 installments认购“按钮,第7天顾客$ 29.95美元的费用$ 49.95美元每月6分期, Price: $29.95 价格:$ 29.95 Feel free to hit the subscription button to see how it works.随意打的订阅按钮,看看它是如何工作的。 Frequently Asked Questions常见问题 Can I customize the button image?我可以自定义按钮图像? Yes, simply specify your custom button image URL in the “Button Image URL” field when configuring the product. - 是的,只需在“按钮图像URL”字段中指定配置产品时,您的自定义按钮图像的URL。 Can I display a subscription button using one of the fancy displays?我可以使用花哨的显示,显示一个订阅按钮吗? Yes, please check the shortcodes documentation to find a suitable shortcode. -是的,请检查简码的文档,找到一个合适的简码。 Can the subscription be added to the shopping cart?认购添加到购物车? No, please see the “Notes” section at the bottom of this page for detailed explanation. - 不,请参阅详细的解释在此页底部的“备注”一节。 Example Values for a Subscription Button订阅按钮的范例值 Here are some examples showing you what values to use to create a subscription button下面是一些例子向您显示什么值来创建一个订阅按钮 Example 1 : To create a subscription button that charges $27.00 USD for each month until canceled use the following values: 例1:要创建一个订阅按钮,收费为每月$ 27.00美元,直至取消使用以下值: Trial Billing Amount - (leave empty)试用开票金额 - (保留为空) Trial Billing Period - (leave empty)试用结算周期内 - (保留为空) Recurring Billing Amount - 27.00定期开票金额 - 27.00 Recurring Billing Cycle - 1 Month定期结算周期 - 1个月 Recurring Billing Count - (leave empty)定期结算计数 - (保留为空) Example 2 : To create a subscription button that charges $29.95 USD for the first 7 days Then $49.95 USD for each month, for 6 installments use the following values: 例2:要创建一个订阅按钮,第7天收费$ 29.95 USD $ 49.95美元每月,6分期使用以下值: Trial Billing Amount - 29.95审判开票金额 - 29.95 Trial Billing Period - 7 days试用计费周期 - 7天 Recurring Billing Amount - 49.95定期开票金额 - 49.95 Recurring Billing Cycle - 1 Month定期结算周期 - 1个月 Recurring Billing Count - 6定期结算计数 - 6 How to Test A Subscription Payment如何测试认购付款 Please read this post before you test a subscription payment button. 请阅读这篇文章之前测试订阅付款按钮。 Note:注意: Please note that the subscription payment cannot be added to the shopping cart.请注意,认购金额不能添加到购物车。 Why?为什么呢? because PayPal handles subscription payments through a different API than the normal one (Subscription payments are usually complex).因为贝宝处理通过不同的API比正常(通常是复杂的认购款项)认购款项。 How do you process two of the following payments together when you checkout using the shopping cart?你如何处理下列款项时,要结合使用购物车结帐? Charge the customer $29.95 USD for the first 7 days Then $49.95 USD for each month收取客户的第7天$ 49.95美元每月$ 29.95美元 Charge the customer $49.95 USD for the first 14 days Then $19.95 USD for each month, for 6 installments.顾客充电的第14天$ 49.95美元,然后每月$ 19.95美元,为6分期付款。 PayPal will not process multiple subscriptions through the cart checkout API so eStore doesnt allow it. PayPal将无法处理多个订阅通过购物车结帐API,使网上商店不允许这样做。 5变化控制这篇文章介绍了如何配置您的产品使用WP ESTORE插件时使用的变化控制。 The “Variation1 and “Variation2 fields can be used To configure a product with Variation. “Variation1”和“Variation2”的领域,可用于配置与变化的产品。 Say for example, you want to sell a T-Shirt which comes in various sizes (small, medium, large, XL).说,例如,你想卖的T恤在各种大小(小型,中型,大型,XL)。 Enter the following in the “Variation1 field of this product when you add it to the database:在此产品领域的“Variation1”下面的输入,当你将它添加到数据库: Size|Small|Medium|Large|XL尺寸|小|中等|大| XL Once you add variation control to the product it will look similar to the following:一旦你添加的变化控制的产品,它的外观类似于以下: Demo T-Shirt演示的T恤 Price: $20.00 价格:$ 20.00 Feel free to hit the add to cart buttons to see how they appear on the shopping cart when variation control is used.随意打“添加到购物车按钮,看看他们如何时出现变异控制是用于购物车。 Now, what if you wanted to add another variation to that product?现在,如果你想添加该产品的另一个变化? You can do that too.你也可以这样做。 Say for example, you want to add a color variation to the T-Shirt.举例而言,要添加的颜色变化,T恤。 Enter the following in the “Variation2 field:在“Variation2”字段中输入以下内容: Color|Green|Red|Black色|绿色|红色|黑色 Once you add the second variation to the product it will stack up and look similar to the following:一旦你添加第二个变化,它叠起来,类似于以下的产品: Demo T-Shirt 2演示T恤2 Price: $25.00 价格:$ 25.00 Variation Control With Different Prices不同的价格变化控制 What if you want to have different prices for differnt variations?如果你想有不同价格,不同的充变化? You can do that too by adding the price increment next
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 平阳县全员安全培训课件
- 阿里事业单位笔试真题2025
- 2025年阿里事业单位真题
- 央视安全培训课件
- 电商领域知识产权保护与治理报告:2025年行业发展趋势与知识产权战略
- 2025年中医药现代化进程中意大利市场拓展策略研究
- 工业园安全知识培训课件
- 平移或旋转拼图课件
- 农发行铁岭市西丰县2025秋招笔试性格测试题专练及答案
- 2025年风电叶片回收处理技术创新应用与产业布局优化报告
- 一年级新生开学第一课常规训练
- 直播助农培训课件
- 长期照护师抗压考核试卷及答案
- 2025版自然人个人创业孵化器贷款协议
- 2025广东汕尾市海丰县公安局招聘警务辅助人员50人备考题库及答案解析
- 消防政府专职队培训课件
- 2025年银行意识形态工作专题研究会议记录
- 档案管理基本知识培训课件
- 2025至2030年中国K12教育行业市场调研分析及投资战略咨询报告
- 四川省2025年普通高校职教师资高职班对口招生统一考试英语试卷
- DB37∕T 4780-2024 超高层建筑物业服务规范
评论
0/150
提交评论