这个网站是如何制作的:SATandCABLE.com - (我知道它是与 drupal 一起使用的)
这个问题可能看起来有点“大”或压倒性的,所以让我准确地解释一下我想知道的内容;基本上,在网站 SATandCABLE 上,有人知道购物车是如何工作的吗...
我很欣赏当你添加时的方式将某些东西添加到掩码中或单击“页脚”中从不移动的图像,它会弹出您购物篮中的物品和您的帐户详细信息;我希望我的新网站有类似的东西(如果不一样的话),但我不知道该怎么做,因为我不是网络程序员!
我从开发者网站 DavidSlack.co.uk 知道一些详细信息,就像它是使用 Drupal 和 Ubercart 制作的(并且来自不同的论坛),但是当我尝试时,戴夫的联系表格无法正常工作,所以我问你们是否能弄清楚他是如何做到的?
我希望它带有模块,因为我还没有正确学习 php 或其他任何东西,所以如果不是,你能给我尽可能多的代码吗?
预先感谢
安迪
The question may seem a bit 'large' or overwelming, so let me explain exactly what I would like to know; Basically, on the website SATandCABLE does anyone have any idea how the shopping cart works...
I admire the way that when you add something to the masket or click the image in the 'footer' that never moves it pops up with the stuff in your basket and your account details; and I would like something similar (if not the same) for my new website, but I have no idea how to do it seen as I'm not a web coder !
I know some of details from the developers website DavidSlack.co.uk like it's made using Drupal and Ubercart ( and from different forums ) but Dave's contact form wasn't working properly when I tried it, so thats I'm asking you guys if you could figure out how he did it?
I'm hoping it's with modules because I haven't properly learned php or anything, so if it's not could you give me as much code as possible please?
Thanks in Advance
Andy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,该网站上的购物车实施得相当出色。
从网站上的代码来看,这些代码似乎将构成网站的主干,并且应该具有网站 90% 的功能
ajax cart 块的模块作者有一个 示例网站
创建克隆网站所需的最多工作可能是主题,因为自定义主题看起来需要一些时间才能完成
该网站看起来就像它可以使用一些与性能相关的附加模块,尽管它非常慢,例如:
希望这会有所帮助你开始吧
Yes the shopping cart on that site is implemented fairly awesomely.
From looking at the code on the site, it looks like these will form the backbone of the site, and should have 90% of the site's functionality
The module author for the ajax cart block has an example site with a simple implementation
Probably the most work that would be needed to create a clone site would be the theming, as that custom theme looks like it would have taken some time to complete
The site looks like it could use some additional performance related modules though as it is painfully slow, for instance:
Hope this helps you get started
我是 SATandCABLE 的开发人员,看来您找到了我的网站 (davidslack.co.uk)。
今晚我会查看我的联系表单,该表单在 Google Chrome、Firefox、IE9 中看起来不错,但在 IE8、7 或 6 中则不然。今晚我会对此进行排序。我仍在“玩”我的网站,所以它的上下波动。对不起。
如果您明天联系我(或发表评论),我会回复您并看看我可以提供什么帮助。
SATandCABLE 篮子是一个简单的想法,它只是一个具有主题区域的 div,因此我可以将块放入其中。当客户单击篮子或右下角的按钮时,将调用隐藏/显示 javascript 函数,该函数隐藏/显示购物篮 ID。整个事情是在 Fireworks 中设计的,然后用 php 和 css 创建主题,就是这样。
你好,Wiifm,不幸的是,我无法使用网站上的一些兑现功能,因为它会干扰篮子上的 ajax,但我会研究一下 boost 模块。加快速度就好了:)
戴夫。
I'm the developer for SATandCABLE and it seems you found my site (davidslack.co.uk).
I'll be looking at my contact form tonight which seems fine in in Google Chrome, Firefox, IE9, but not IE8, 7, or 6. I'll sort that tonight. I'm still 'playing' with my site so its up and down. Sorry.
If you contact me tomorrow (or leave a comment) I'll get back to you and see what help I can offer.
The SATandCABLE basket is a simple idea, it's just a div that has a theme region so I can drop blocks in. When the customer clicks the basket or the button at the bottom right a hide/show javascript function is called which hide/shows the basket ID. The whole thing was designed in Fireworks and then the theme created with php and css and that's it.
Hi Wiifm, Unfortunately, I can't use some of the cashing on the site as it messes with the ajax on the basket, but I'll look into the boost module. It would be nice to speed things up :)
Dave.