Answers.Body: <p>Ah, the familiar sight of repeating bottles on the homepage. It’s like déjà vu all over again. No need to worry, it sounds like just a “case” of forgotten placeholder code lingering around.</p>
  <p>Here’s how I suggest you fix this:</p>
  <ol>
  <li>Figure out where the code for displaying the bottles on the homepage is located.</li>
  <li>Search for any placeholder code that is causing the same two bottles to repeat. This could be hardcoded references to specific bottles or image URLs.</li>
  <li>Replace with a query to fetch and output available wines.</li>
  <li>Test the homepage to ensure that all bottles are displayed correctly.</li>
  <li>Monitor the homepage to ensure that new wines are shown when added. Bonus points for adding automated tests that verify this!</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-12T07:01:33.693Z
Answers.LastActivityDate: 2024-03-12T16:27:50.947Z
Answers.LastEditDate: 2024-03-12T16:27:50.947Z
Answers.UserDisplayName: Ben Croker
Body: <p>We have bottle shots on the homepage that are just the same two bottles repeating themselves over and over. How can I change this to include all other wines.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-12T04:33:08.740Z
Comments.Text: Hi Romy - can you provide more context? Is this using the Craft CMS example site or do you have your own website you're trying to work with? What are you currently outputting for code, and can you share it?
Comments.UserDisplayName: cherrykoda
Tags: <image>
Title: Repeated bottle shots on the home page
ThreadText: # Repeated bottle shots on the home page
  
  (Asked by: username_0 on 2024-03-12)
  
  We have bottle shots on the homepage that are just the same two bottles repeating themselves over and over. How can I change this to include all other wines.
  
  **Tags:** image
  
  > **Comments:**
  > **username_1**: Hi username_0 - can you provide more context? Is this using the Craft CMS example site or do you have your own website you're trying to work with? What are you currently outputting for code, and can you share it?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-03-12. Score: 3
  
  Ah, the familiar sight of repeating bottles on the homepage. It’s like déjà vu all over again. No need to worry, it sounds like just a “case” of forgotten placeholder code lingering around.
  
  Here’s how I suggest you fix this:
  
  1. Figure out where the code for displaying the bottles on the homepage is located.
  2. Search for any placeholder code that is causing the same two bottles to repeat. This could be hardcoded references to specific bottles or image URLs.
  3. Replace with a query to fetch and output available wines.
  4. Test the homepage to ensure that all bottles are displayed correctly.
  5. Monitor the homepage to ensure that new wines are shown when added. Bonus points for adding automated tests that verify this!
  
  
  ---
  
  