Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Drupal + Ubercart 开发一个网站。我正在使用限时优惠模块,它运行良好,但是当我在到期时间之前将一些产品添加到购物车时,该产品仍保留在购物车中,即使它稍后到期。我想我必须使用触发器来使产品在过期后从购物车中删除,但我不知道该怎么做。有人有想法吗?
在 Ubercart 的设置中,有一个选项可以控制记住购物车的时间。您可能可以将其缩短到不到一天,它应该可以解决您的问题。