【问题标题】:CS Cart Enable Reviews and Comments to all products at onceCS 购物车 一次启用对所有产品的评论和评论
【发布时间】:2014-09-09 11:06:05
【问题描述】:

我想同时为所有产品启用评论和 cmets。我找到了这个链接

http://kb.cs-cart.com/enable-reviews

但是我必须多次重复这个过程,因为我有很多产品。这需要很长时间。

我搜索了一下,找到了这篇文章

http://forum.cs-cart.com/topic/24672-enable-reviews-and-comments-by-default/

问题是帖子太旧,表不是那个或者数据不对应。

我没有找到解决方案。有什么办法...最好来自phpMyAdmin。

谢谢。

【问题讨论】:

    标签: php cs-cart


    【解决方案1】:

    如果您运行以下查询,则将为所有产品启用评论和 cmets。

    查询:

    INSERT INTO cscart_discussion(object_id, object_type, type) (SELECT product_id, 'P', 'B' FROM cscart_products where product_id NOT IN(select object_id from cscart_discussion where object_type ='P')); 更新cscart_discussion SET type= 'B' WHERE object_type = 'P'

    【讨论】:

      【解决方案2】:

      如果你愿意,我可以使用附加组件 Alt-team:启用所有评论。效果很好!

      【讨论】:

        猜你喜欢
        • 2012-03-27
        • 1970-01-01
        • 2012-06-30
        • 2021-02-20
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-11-21
        相关资源
        最近更新 更多