Machine for making liquid or semi-liquid products, comprising a production unit equipped with: a processing container for processing a basic liquid or semi-liquid product, defining a processing chamber and provided with a stirrer rotating inside the processing chamber; a thermal treatment system associated with the processing container for heating and/or cooling the processing chamber; a dispensing device which is associated with the processing container to receive therefrom the processed, basic liquid or semi-liquid product, and which is equipped with controls for delivering the processed, basic liquid or semi-liquid product to the outside of the processing container; - an electronic control unit for controlling at least one actuator of the machine, the machine being characterized in that it further comprises a syrup feeding device which in turn comprises: - at least one syrup container, - at least one syrup feed pump connected by at least one respective pipe to the at least one syrup container and to the dispensing device to transfer syrup from the at least one syrup container to the dispensing device; - at least one heating and/or cooling device connectable to the connecting pipe in order to thermally treat the syrups, wherein the heating and/or cooling device is, in use, associated at least with the connecting pipe, the connecting pipe comprising a main pipe for conveying the syrups and the heating and/or cooling device comprising an electrical element distributed and wound around the main pipe. a processing container for processing a basic liquid or semi-liquid product, defining a processing chamber and provided with a stirrer rotating inside the processing chamber; a thermal treatment system associated with the processing container for heating and/or cooling the processing chamber; a dispensing device which is associated with the processing container to receive therefrom the processed, basic liquid or semi-liquid product, and which is equipped with controls for delivering the processed, basic liquid or semi-liquid product to the outside of the processing container; - an electronic control unit for controlling at least one actuator of the machine, - an electronic control unit for controlling at least one actuator of the machine, the machine being characterized in that it further comprises a syrup feeding device which in turn comprises: - at least one syrup container, - at least one syrup feed pump connected by at least one respective pipe to the at least one syrup container and to the dispensing device to transfer syrup from the at least one syrup container to the dispensing device; - at least one heating and/or cooling device connectable to the connecting pipe in order to thermally treat the syrups, wherein the heating and/or cooling device is, in use, associated at least with the connecting pipe, the connecting pipe comprising a main pipe for conveying the syrups and the heating and/or cooling device comprising an electrical element distributed and wound around the main pipe. - at least one syrup container, - at least one syrup feed pump connected by at least one respective pipe to the at least one syrup container and to the dispensing device to transfer syrup from the at least one syrup container to the dispensing device; - at least one heating and/or cooling device connectable to the connecting pipe in order to thermally treat the syrups, wherein the heating and/or cooling device is, in use, associated at least with the connecting pipe, the connecting pipe comprising a main pipe for conveying the syrups and the heating and/or cooling device comprising an electrical element distributed and wound around the main pipe.