简体   繁体   English

Joomla 1.6中的客户照片订购系统

[英]Client photo ordering system in Joomla 1.6

I am developing my own website in Joomla 1.6 and I've added ACL successfully for my client login. 我正在Joomla 1.6中开发自己的网站,并且已成功添加ACL用于我的客户登录。 I am using Phocagallery to handle the upload of my photos of different clients to the webserver. 我正在使用Phocagallery处理不同客户的照片上传到Web服务器。 This gives me the ability to handle multiple file uploads and automatic creation of different thumnails and detail sizes. 这使我能够处理多个文件上传,并自动创建不同的缩略图和详细信息大小。 I can also use phocagallery for several other things like slideshows in pages and so on. 我还可以将phocagallery用于其他一些事情,例如页面中的幻灯片放映等等。

However I would also like to build a page for clients that gives them the ability to view their pictures one by one in a page with a form, in which they can use to select-lists to select different options for the prints they decide to buy. 但是,我还想为客户建立一个页面,使他们能够使用表格在页面中一页一页地查看图片,他们可以使用选择列表为决定购买的打印品选择不同的选项。 。 Options including print size, papertype and so on. 选项包括打印尺寸,纸张类型等。 I have not decided entirely how to go about this. 我还没有完全决定如何去做。 Currently I am evaluating "Smartformer Gold" which looks like it has potential as one can add code to all elements in the form and connect the form to modules. 目前,我正在评估“ Smartformer Gold”,它看起来很有潜力,因为它可以向表单中的所有元素添加代码并将表单连接到模块。

I am a rookie at PHP but I do my best and I work hard. 我是PHP的新秀,但我会尽力而为。 What are the most important aspects that I need to consider when writing this code? 在编写此代码时,我需要考虑哪些最重要的方面? Can someone give a couple of pointers to start me off in the right direction? 有人可以给我一些指示以正确的方向开始我吗?

This is a lot more complicated than simply adding a form on a page with an image. 这比在带有图像的页面上简单地添加表单要复杂得多。 Essentially, you are talking about e-commerce. 本质上,您在谈论电子商务。 You have to account for a product with attributes (the different print options), multiple product orders, a shopping cart that is associated with the user, transferring the association to the user account once a user logs in, order creation, payment systems, shipping/order fulfillment, etc. 您必须为具有以下属性的产品(不同的打印选项),多个产品订单,与用户相关联的购物车进行会计处理,用户登录后将关联转移到用户帐户,订单创建,付款系统,运输/订单履行等

Off the top of my head, if I was going to build something like this, I would probably start with these components - 如果我要构建这样的东西,我可能会从这些组件开始-

  1. Virtuemart to handle the cart, checkout, order management Virtuemart处理购物车,结帐,订单管理
  2. K2 for client photo uploads K2用于客户照片上传
  3. K2Mart to connect K2 and VM so the items created are also e-commerce products K2Mart连接K2和VM,因此创建的商品也是电子商务产品

No matter which way you go with it, it is going to be fairly complicated. 无论您采用哪种方式,它都将变得相当复杂。

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

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