url parameters or shortcode settings
-
Hi,
I am trying to override the default settings (of both the search radius and the number of locations). Is there a url parameter that I can use for this, or alternatively I want to set this with a attribute in the shortcode. Is this possible?
A bit of background on why I want to do this:
I’ve got a list of 578 stores that I imported, which all imported correctly (via the add-on) but if I set max radius to 2000km and max amount to 600 then I only get 564 stores.So in order to check which stores didn’t geocode (everything imported, but some didn’t geocode), I am building a web scraper in python that gets a list of stores from the source code of the page and compares it to the original file; because only stores that were geocoded shows on the page. Then I want to write records that doesn’t appear in the list to another file, so that I can go and see why it didn’t geocode. So for the users I want to show a radius of 50km and a max of 50 stores, but for the scraper I want to show all values.
Building the scraper is easy, but I can’t get the filter to work for different instances.
- The topic ‘url parameters or shortcode settings’ is closed to new replies.