Sales from distillates and other oils were $2.2 billion and $2.0 billion for the six months ended June 30, 2024 and 2023, respectively, increasing $215.7 million, or 11%, primarily due to an increase in distillate volume sold offset by a decrease in residual oil volume sold. Our product margin from distillates and other oils was $41.1 million and $53.4 million for the six months ended June 30, 2024 and 2023, respectively, a decrease of $12.3 million, or 23%, primarily due to less favorable market conditions in residual oil.
Results for Gasoline Distribution and Station Operations Segment
Gasoline Distribution. Sales from gasoline distribution were $1.3 billion and $1.4 billion for the three months ended June 30, 2024 and 2023, respectively, decreasing $33.2 million, or 2%, primarily due to a decrease in volume sold. Our product margin from gasoline distribution was $147.3 million and $127.9 million for the three months ended June 30, 2024 and 2023, respectively, an increase of $19.4 million, or 15%, primarily due to higher fuel margins (cents per gallon).
Sales from gasoline distribution were $2.4 billion and $2.5 billion for the six months ended June 30, 2024 and 2023, respectively, decreasing of $121.8 million, or 5%, primarily due to a decrease in volume sold. Our product margin from gasoline distribution was $268.9 million and $248.7 million for the six months ended June 30, 2024 and 2023, respectively, an increase of $20.2 million, or 8%, primarily due to higher fuel margins (cents per gallon).
Station Operations. Our station operations, which include (i) convenience store and prepared food sales at our directly operated stores, (ii) rental income from gasoline stations leased to dealers or from commissioned agents and from cobranding arrangements and (iii) sale of sundries, such as car wash sales and lottery and ATM commissions, collectively generated revenues of $149.5 million and $148.1 million for the three months ended June 30, 2024 and 2023, respectively, an increase of $1.4 million, or 1%. Our product margin from station operations was $74.2 million and $71.2 million for the three months ended June 30, 2024 and 2023, respectively, an increase of $3.0 million, or 4%, due to an increase in activity at our convenience stores and increases in sundries and rental income.
Sales from our station operations were $279.7 million and $275.3 million for the six months ended June 30, 2024 and 2023, respectively, an increase of $4.4 million, or 2%. Our product margin from station operations was $140.2 million and $133.9 million for the six months ended June 30, 2024 and 2023, respectively, an increase of $6.3 million, or 5%, due to an increase in activity at our convenience stores and increases in sundries and rental income.
Results for Commercial Segment
Our commercial sales were $280.9 million and $226.5 million for the three months ended June 30, 2024 and 2023, respectively, an increase of $54.4 million or 24%, primarily due to an increase in volume sold. Our commercial product margin was $6.2 million and $6.8 million for the three months ended June 30, 2024 and 2023, respectively, a decrease of $0.6 million, or 8%, primarily due to less favorable market conditions.
Our commercial sales were $559.5 million and $484.4 million for the six months ended June 30, 2024 and 2023, respectively, an increase of $75.1 million or 15%, primarily due to an increase in volume sold. Our commercial product margin was $13.2 million and $14.9 million for the six months ended June 30, 2024 and 2023, respectively, a decrease of $1.7 million, or 11%, primarily due to less favorable market conditions.
Selling, General and Administrative Expenses
SG&A expenses were $72.3 million and $66.7 million for the three months ended June 30, 2024 and 2023, respectively, an increase of $5.6 million, or 8%, including increases of $2.9 million in long-term accrued discretionary incentive compensation, $2.4 million in wages and benefits and $1.6 million in professional fees, offset by a decrease of $1.3 million in various other SG&A expenses.
SG&A expenses were $142.1 million and $128.9 million for the six months ended June 30, 2024 and 2023, respectively, an increase of $13.2 million, or 10%, including increases of $4.1 million in long-term accrued discretionary