I have a number of hidden produts in actinic, when people do a search on the site these items appear in the search results.
Is there a way to stop this?
Thanks
Is there a way to stop this?
Thanks
UPDATE [Catalog section] INNER JOIN Product ON [Catalog section].nSectionID = Product.nParentSectionID SET Product.bSuppressHtml = -1 WHERE ((([Catalog section].bHideOnWebSite)=-1));
'my shop database is located at: mydb = "C:\Documents and Settings\All Users\Documents\Actinic v8\Sites\site1\ActinicCatalog.mdb" Set OBJdbConnection = CreateObject("ADODB.Connection") OBJdbConnection.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & mydb SQLQuery = "UPDATE [Catalog section] INNER JOIN Product ON [Catalog section].nSectionID = Product.nParentSectionID SET Product.bSuppressHtml = -1 WHERE ((([Catalog section].bHideOnWebSite)=-1));" Set Result = OBJdbConnection.Execute(SQLQuery) OBJdbConnection.Close msgbox("done")
Comment