For the Kroger stores price per pound was located in a separate span that is also reused shared with the "SNAP EBT" icon. Added detection for this, the scraper will first try to locate the price per pound span. If the value the extractor grabbed does not match the $X.XX/lb pattern then we target the main price tag element.
Dollar sign formatting
Price per pound includes a dollar sign in the string, the main price tag does not. As Whole Foods includes this in all their prices, we add a dollar sign to improve formatting on the frontend.
Price Per Pound
For the Kroger stores price per pound was located in a separate span that is also reused shared with the "SNAP EBT" icon. Added detection for this, the scraper will first try to locate the price per pound span. If the value the extractor grabbed does not match the $X.XX/lb pattern then we target the main price tag element.
Dollar sign formatting
Price per pound includes a dollar sign in the string, the main price tag does not. As Whole Foods includes this in all their prices, we add a dollar sign to improve formatting on the frontend.