I'd do it like this. Wrapping in parenthesis will allow you to add more in the WHERE clause;
Ok, test data;
IF OBJECT_ID('tempdb..#TestData') IS NOT NULL DROP TABLE #TestData
GO
CREATE TABLE #TestData (IDField int, PmTyId varchar(20))
INSERT INTO #TestData (IDField, PmTyId)
VALUES
(1,'include')
,(2,'include')
,(3,'dont include')
My query;
DECLARE @productType varchar(20); SET @productType = 'include'
SELECT
IDField
,PmTyId
FROM #TestData
WHERE (@productType IS NULL OR @productType = PmTyId)
Outputs;
IDField PmTyId
1 include
2 include
If @productType is set to null then you get these results;
IDField PmTyId
1 include
2 include
3 dont include
If you need to add further parameters then do something like this;
SELECT
IDField
,PmTyId
FROM #TestData
WHERE (@productType IS NULL OR @productType = PmTyId)
OR (@Parameter2 IS NULL OR @Parameter2 = Field2)
OR (@Parameter3 IS NULL OR @Parameter3 = Field3)