2009-10-19 50 views

回答

0

您可能更容易使用简单的逻辑来完成此操作,而不是插件中的内置功能。

的伪代码将如下所示:

On the attempted addition of an item to the cart: 
    if (item already exists in cart AND item hasProperty('onceOnly')): 
    return false; 
    else: 
    add to the cart 

的购物车项目的数量限制似乎并没有成为一个内置的选项。

相关问题