What is the difference between standard price books and custom price books in Sales Cloud?
Answer
Basics: Price books list products with prices. The Standard Price Book exists automatically, cannot be deleted, and contains list prices for all products. Custom price books (wholesale, partner, EMEA, education) let you sell the same product at different prices. An opportunity or quote uses exactly one price book.
How it works: Create a Product (Product2), add it to the Standard Price Book with a list price (PricebookEntry), then add it to a custom Pricebook2 with its own price, or tick "Use Standard Price". Users picking products on an opportunity choose the price book first; only products in that book can be added. Each entry belongs to a currency in multi-currency orgs, so one product can have a price per currency per book.
Advanced / deep dive: Opportunity line items copy the price at the time of adding; later price book changes do not update existing line items, which preserves deal history. Changing an opportunity's price book after products are added removes the products, so users are warned. Price book entries can be active or inactive, and price books themselves can be deactivated rather than deleted. Visibility: users need access to the price book via sharing and object permissions; Price Book access is managed separately from product access. For complex pricing (volume tiers, discount schedules, bundles, contract pricing) use Salesforce CPQ or Revenue Cloud (CPQ is in maintenance for new sales; verify current positioning), since native price books are flat. Data loading: load products, then standard entries, then custom entries (order matters). In Apex tests, the Standard Price Book is not visible by default; use Test.getStandardPricebookId() to create entries. Price books can be assigned to opportunities via Flow or defaulting rules; integrate with ERP for price syncing.
Code / config example: