Skip to content
WP Intense Q & ACategory: Price Comparison ProWalmart Mexico selector
Pedro B. asked 1 year ago

Hi there, I maade a question and never got the answer. May you please help with Walmart Mexico selector?

Example: https://www.walmart.com.mx/bebes/cambio-de-panales/panales/panal-para-bebe-huggies-supreme-etapa-1-228-piezas_00750194341687

Thank you

1 Answers
Dave Hilditch Staff answered 1 year ago

Hi – sorry I missed this. If you need help with further selectors, I’ve created a channel for price comparison pro on our discord server.

https://discord.gg/ms2SWqAf

Here’s the selectors for the page you listed above:

Retail price: div[data-automation-id="product-detail-offer-details"] > div:first-child > p, h4[data-automation-id="product-price"]

Sale price: h4[data-automation-id="product-price"]

Dave H. Staff replied 1 year ago

Also – please note that the Walmart site is using Ajax to populate the page – if you view source on the page, the prices do not exist. That means, to scrape the site you should use the Scraper API Rendered option.

Your Answer


40% discount coupon for plugins and packs: CYBERFUNDAY. Click to join our Discord community and read the rules for an extra 20% discount coupon!