Robert Madore
Analyst · Jefferies
Thanks, Jen, and good morning, everyone. The team managed the business well through a difficult spring season, although we're not satisfied to report earnings below last year. Promotions were up, which increased -- put increased pressure on margins as we faced a slower start and less favorable weather conditions early in the season. Yet sales trends improved from the first quarter with healthier sales metrics, including positive traffic, transactions and a higher average unit retail price. We ended the second quarter in a better inventory position, with clearance units down to last year and we ended the period in a strong financial condition.
Now looking more closely at the details of the quarter. Total revenue increased 3% to $845 million from $823 million last year. Comparable sales were up 2% for the period following a 3% increase last year. Additional sales information can be found on Page 9 of the investor presentation.
This quarter by brand, American Eagle comps were flat and Aerie comps increased 26%. We saw a mid-single-digit increase in the average unit retail price due to product mix. The average dollar sale was down in the low single digits due to lower units per transaction.
Online traffic was very strong. And while store traffic was negative, we saw improving trends throughout the spring season in addition to outpacing mall traffic in the second quarter. On a consolidated basis, traffic and transactions increased, driving the 2% comp growth. Adjusted gross profit decreased 4% to $294 million from $307 million last year. Gross margin rate declined 240 basis points to 34.9% of revenue. The reduction in margin was primarily due to increased promotional activity.
Buying, occupancy and warehousing cost delevered 30 basis points. SG&A dollars rose 2% to $204 million compared to $200 million last year. Driven by strong sales, we leverage SG&A expense by 20 basis points to a rate of 24.1% of revenue. We invested in advertising, primarily digital, which was partially offset by a lower compensation expense. Depreciation and amortization increased $1 million to $40 million and deleveraged 10 basis points to 4.8% as a rate of revenue. Adjusted operating income of $50 million compared to $69 million last year and the operating margin declined 230 basis points, 6% as a rate of revenue.
The effective tax rate decreased to 34.7% compared to 36.5% last year due to overall mix of earnings in jurisdictions with various tax rates. Adjusted EPS of $0.19 decreased 17% from $0.23 last year.
In the second quarter, we incurred restructuring-related charges totaling $21 million or approximately $0.07 per share. This consisted of restructuring charges corresponding to our initiative to close or convert company-owned and operating stores in the United Kingdom, Hong Kong and China to licensed partnerships. Additionally, the company incurred charges related to the planned exit of a joint business venture.
Now regarding inventory, which can be found on Page 10 of the investor presentation. We ended the quarter with inventory at cost of $433 million, up 3% from last year, which was better than we expected. Ending inventory units were flat to last year, while the average unit cost was up 2%, reflecting continued investments in bottoms and Aerie apparel. Currently, we expect third quarter ending inventory to be up in the mid-single digits.
Capital expenditures totaled $46 million in the second quarter and we continue to expect CapEx to be in the range of $160 million to $170 million for the year. Roughly half of this spend relates to store projects, and the balance to support the digital business, omni-channel tools and general corporate maintenance.
We ended the quarter with total cash of $193 million compared to $248 million last year. The lower cash balance is a result of share buybacks in the first quarter which totaled $88 million. Additionally, over the past 12 months, we returned $90 million in dividends and invested $187 million in capital expenditures.
The detail of our store openings and closings are on Page 13 through 15 of the investor presentation. We are continually working to maximize our omni-channel business. As I emphasized last quarter, we're evaluating the fleet for closures and market consolidations on an ongoing basis. Additionally, we're making good progress on lease negotiations, maintaining lease flexibility and successfully securing lower rents. Over the past 2 years, we have renegotiated or negotiated over 350 lease renewals and secured an average of 8% reduction in cash rents. Currently, nearly half, or approximately 530 leases, are set to expire over the course of the next 3 years, with 215 expiring or coming up for a decision this year.
As we continue to build flexibility into our portfolio, it's notable that our stores are highly profitable and powerful vehicles for customer acquisition and engagement. Our very best customers are multichannel customers engaging with our brands online and in stores. As an example, roughly 80% of the online returns come back to stores, where we successfully convert over 40%. In addition, 20% of those transactions are up-sales. We see opportunity to move these metrics even higher.
Now looking ahead to the third quarter. We expect third quarter earnings per share of $0.36 to $0.38, which is based on comparable sales of flat to low single-digit increase. This guidance assumes a lower merchandise margin due to increased promotions and a low single-digit increase in SG&A dollars compared to last year. This compares to earnings per share of $0.41 last year and excludes potential impairment or restructuring charges.
We remain focused on driving quality sales, improving our profit flow-through as well as driving our strategic initiatives forward. We believe the current retail landscape offers opportunity to gain market share and leverage the strength of our brands and product offerings.
Thank you. And now we will take questions.