开发 Virtuemart 的 AJAX 界面面临挑战吗?
我们正在与一位客户合作,该客户正在考虑为 Joomla 中的 Virtuemart 部署开发 AJAX 接口。
我们希望创建一个更加动态的订购环境。当来访的客户选择选项和功能时,他们希望在屏幕上直观地展示产品。他们还希望它公布最终的价格。
这是正确的工具吗?有人成功为 Virtuemart 开发过 AJAX 前端吗?
We are working with a client that is considering developing an AJAX interface to a Virtuemart deployment within a Joomla.
We are looking to create a more dynamic ordering environment. They would like to have a visual representation of the product show on the screen as the visiting customer chooses options and features. They would also like it to post the resulting price.
Is this the right tool? Has anyone had success developing an AJAX front end for Virtuemart?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Virtuemart 是否是正确的工具的问题并不取决于前端结账流程的定制。我们对结账页面和产品页面进行了重大修改/重写,这相当容易,因为大多数代码都直接组织到文件中,并且没有太多依赖项。
如果数据模型和后端以及与其他模块的交互适合您,那么我认为它是正确的组件。不要指望这会让你的前端变得更容易。
我建议创建一个新组件,并根据需要将 aqnd 粘贴代码复制到其中,可能主要围绕
* 地址处理
* 结账保存
* 电子邮件处理
其他的一切我都会从头开始写。
The question if Virtuemart is the right tool does not depend on the customisation of the frontend checkout process. We have done major modifications/ rewrites to the checkout as well as product pages and this is fairly easy, as most of the code is straightforward organised into files and doesn't have too many dependencies.
If the data model and backend as well as interactions with other modules works for you, then I think its the right component. Don't expect this to make your frontend any easier.
I would suggest to create a new component and copy aqnd paste code into it as you see fit, probably largely around
* address handling
* checkout saving
* email processing
All else I would just write from scratch.