In a small town, a local bakery has become incredibly popular for its famous chocolate chip cookies. The bakery has a loyal customer base that frequently purchases these cookies, creating a sense of community around the product. From a psychological perspective, discuss how the concepts of classical conditioning and operant conditioning might apply to the customers' behavior of buying cookies from this bakery. Include definitions and examples for both conditioning types in your response.
Note: The provided solution includes an example of a perfect-score answer and explanation. Your response will not be scored.