Quarterly report pursuant to Section 13 or 15(d)

Borrowings - Additional Information (Detail)

v2.4.1.9
Borrowings - Additional Information (Detail) (USD $)
3 Months Ended 0 Months Ended 6 Months Ended 18 Months Ended
Apr. 04, 2015
Jul. 01, 2016
Jan. 03, 2016
Dec. 31, 2016
Jun. 30, 2016
Jan. 03, 2015
Mar. 24, 2015
Mar. 23, 2015
Line of Credit Facility [Line Items]                
Revolving loan payable $ 9,485,000us-gaap_LinesOfCreditCurrent         $ 11,022,000us-gaap_LinesOfCreditCurrent    
Principal payments due 0us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal              
Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Number of consecutive days excess availability is above required amount 45 days              
Event of default amount 0us-gaap_DebtDefaultLongtermDebtAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
             
Jp Morgan Chase Bank | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Maximum borrowing capacity 23,318,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Maximum revolving commitment upon fulfillment of certain conditions 40,000,000prts_BorrowersRightToReviseRevolvingCommitmentsMaximumAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Line of credit facility maturity date Apr. 26, 2017              
Revolving loan payable 9,485,000us-gaap_LinesOfCreditCurrent
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Aggregate principal amount of indebtedness permitted related to capital leases             1,500,000prts_LineofCreditFacilityMaximumAllowedCapitalLeaseObligation
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
1,000,000prts_LineofCreditFacilityMaximumAllowedCapitalLeaseObligation
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
Unused credit commitment fee 0.25%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Minimum availability required trigger amount (if less than) 4,000,000prts_LineofCreditFacilityMinimumAvailabilityRequiredTriggerAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Cash dominion period exit amount of excess availability 4,000,000prts_LineofCreditFacilityExcessAvailability
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Excess availability under credit facility 10,833,000prts_ExcessAvailabilityUnderCreditFacility
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
Early repayment premium percentage 0.50%prts_EarlyRepaymentofCreditAgreementPremiumRequiredofAggregateRevolvingCommitmentsMultiple
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
             
One-Month London Interbank Offered Rate (LIBOR) | Jp Morgan Chase Bank | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Applicable margin for LIBOR-based interest rate/ Applicable margin for alternate based rate 2.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_VariableRateAxis
= prts_OneMonthLondonInterbankOfferedRateLIBORMember
             
London Interbank Offered Rate (LIBOR) | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Interest rate 2.44%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
             
LIBOR based interest rate, principal 9,485,000prts_LiborBasedRatePrincipal
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
             
Base Rate | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Interest rate 3.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_BaseRateMember
             
Prime based rate, principal 0prts_PrimeBasedRatePrincipal
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_BaseRateMember
             
Base Rate | Jp Morgan Chase Bank | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Applicable margin for LIBOR-based interest rate/ Applicable margin for alternate based rate 0.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_VariableRateAxis
= us-gaap_BaseRateMember
             
Scenario, Forecast | Jp Morgan Chase Bank | Revolving Credit Facility                
Line of Credit Facility [Line Items]                
Decrease to the applicable margin (up to)   0.50%prts_ApplicableMarginRateIncreaseDecrease
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
           
Minimum availability required trigger amount (if less than)       2,000,000.0prts_LineofCreditFacilityMinimumAvailabilityRequiredTriggerAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
       
Limited security by foreign subsidiaries capital stock percentage         65.00%prts_CapitalStockPercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
     
Premium required     0prts_EarlyRepaymentofCreditAgreementPremiumRequired
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
         
Minimum availability required under availability block         $ 2,000,000.0prts_LineofCreditFacilityMinimumAvailabilityRequiredunderAvailabilityBlockAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
     
Minimum fixed charge ratio if less than minimum excess availability   1.0prts_LineofCreditFacilityCovenantTermsMinimumFixedChargeCoverageRatio
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_LineOfCreditFacilityAxis
= prts_JPMorganChaseBankMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember