单品免费电子商务CMS?

发布于 2025-01-05 22:17:21 字数 1459 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

∞觅青森が 2025-01-12 22:17:21

一页电子商务网站?也许你不需要使用任何CMS,只需编写一个简单的html页面

如果你想使用CMS,我建议根据你的要求使用Drupal

One-page ecommerce site? maybe you don't need to use any CMS, just write a simple html page

If you want to use a CMS I suggest Drupal based on you requirement

我三岁 2025-01-12 22:17:21

您帖子中提到的人已经做了尽可能少的工作,除非您真的想要拥有一个完整的电子商务门户,否则无需添加任何重型电子商务平台/框架。

该示例是通过仅使用一种产品制作一个简单的 HTML 表单而创建的,并且他们已将其与 pay-pal 集成到付款选项中,当您希望用户转到支付网关(示例中为 paypal)时,您只需通过支付网关的某些参数(隐藏表单字段)可以完美工作。以下是您提到的用例中使用的内容,

<form name="_xclick" action="https://www.paypal.com/us/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="[email protected]" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="item_name" value="The Broadway Leather Belt" />
  <input type="hidden" name="amount" value="60.00" />
  <input type="hidden" value="http://www.timhardy.com/thankyou.php" name="return" />
  <input id="qty-required" type="hidden" name="on1" maxlength="2" value="1" />
   // some other data not hidden fields
</form>

这是与支付网关通信的非常标准的方式,您可以通过参考找到有关构建表单的更多信息您的支付提供商的文件。
对于您的用例,这就是您所要做的所有事情

希望这会对您有所帮助

The one mentioned in your post has done as little as possible and there is no need to add any heavy duty e-commerce platform/framework until unless you really want to have a full e-commerce portal.

The example has been created by just making a simple HTML form with one product and they have integrated it with pay-pal to payment option, when you want your user to go to payment gateway (paypal in the example), all you need to pass certain parameters (hidden form fields) to the payment gateway to work perfectly.Here are what has been used in the your mention use-case

<form name="_xclick" action="https://www.paypal.com/us/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="[email protected]" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="item_name" value="The Broadway Leather Belt" />
  <input type="hidden" name="amount" value="60.00" />
  <input type="hidden" value="http://www.timhardy.com/thankyou.php" name="return" />
  <input id="qty-required" type="hidden" name="on1" maxlength="2" value="1" />
   // some other data not hidden fields
</form>

This is pretty standard way to communicate with payment gateway and you can find more information about structuring your form by referring the documentation of your payment provider.
For your use-case this is all you have to do

Hope this will help you

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文