Virtuemart:如何使链接“显示购物车”动态的?
我现在有静态链接“显示购物车” http://www.baytires.com/index.php?page=shop.cart
如何根据添加的项目使其动态化?
I have link "Show cart" static now
http://www.baytires.com/index.php?page=shop.cart
How can I make it dynamic, based on items added?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无需专门查看代码,其中已经有一个基于购物车中产品数量的条件语句,因为它显示“您的购物车当前为空”。直到你把东西放进去。在代码中找到该部分并复制逻辑以在链接上使用。
Without looking at the code specifically, there is already a conditional statement in there based on the number of products in the cart since it displays "Your Cart is currently empty." until you put something in it. Find that part in the code and copy the logic for use on the link.