tibe nado dobavit zapis v tablicy "cscart_discussion" dlia kazdovo prodykta katoramy ti xocesh vkliucit comment.
Stryktyra tablici "cscart_discussion" takova:
thread_id: eto autoincrement, znacenie dlia etovo stolbika ykazivat nenado
object_type: tip objekta, dlia katorova mi vkliuciaem comments. v nashem slycii eto prodykti. Dlia prodyktov, object_type="P"
object_id: eto ID objekta, dlia katorova mi vkliuciaem comments, v nashem slycii eto ID prodykta (iz tablici cs-cart_products)
type: tip commentariev. "Communication and Ratting"="B"; "Communication" = "C"; "Rating"="R"; Dissabled="D"
Vot primer, ctobi vkliucit "Rating" commentarii dlia prodykta y katorovo ID=1
INSERT INTO `imia tvoe DB`.`cscart_discussion` (`object_id`, `object_type`, `type`) VALUES (1, 'P', 'D');
sve cs-cart pomeniai na prefix tvoe tablici
Vot po etomy primery napishi SQL zapros ctobi on tibe vkliucil comment dlia vsex prodyktov srazy
Да, спасибо за ответ, это идея, буду разбираться, в sql не силен