简体   繁体   English

发送购物车项目到电子邮件PHP

[英]Sending shopping cart items to email PHP

I use shopping cart jQuery plugin- Cesta-Feira to make a shopping cart on my website where you can pick up items and send it to your shopping cart. 我使用购物车jQuery插件Cesta-Feira在我的网站上制作了一个购物车,您可以在其中提取物品并将其发送到您的购物车。 After you should fill up form with name, email, company name, phone number and text message, there is no payment or anything. 在您填写姓名,电子邮件,公司名称,电话号码和短信后,无需付款。 The checkout - it's only send your items with from to email. 结帐-仅将您的商品从发送到电子邮件。 The company will receive an email with orders and contact customers. 该公司将收到一封包含订单的电子邮件,并与客户联系。

So how I should send it? 那么我应该如何发送呢? You can see the code of this plugin in the link. 您可以在链接中看到此插件的代码。

From the website description: 从网站描述:

Cesta-Feira is a lightweight yet useful jQuery eCommerce plugin to add an interactive Shopping Cart to your web app that allows to dynamically add, remove, clear, update cart items on the client side. Cesta-Feira是一个轻巧而有用的jQuery电子商务插件,用于将交互式购物车添加到您的Web应用程序,从而允许在客户端动态添加,删除,清除,更新购物车项目。 Based on HTML5 web storage API 基于HTML5的Web存储API

This means that the plugin only helps you create interactivity on your shopping cart, it doesn't handle the backend side. 这意味着该插件仅可帮助您在购物车上创建交互性,而不能处理后端。 You should take care of sending the data to the server, where the backend code will process the data (eg to be stored on a database, sent by email, process payments, etc). 您应注意将数据发送到服务器,后端代码将在服务器上处理数据(例如,存储在数据库中,通过电子邮件发送,处理付款等)。

If you are not familiar with backend data processing, I suggest you to use a complete e-commerce framework instead. 如果您不熟悉后端数据处理,建议您改用完整的电子商务框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM