• Resolved mwd1support

    (@mwd1support)


    Hi, in advanced mode, there is my shortcode :

    [crp language=”fr” currency=”EUR” measure=”metric” text_color=”#000000″ background_color=”#ffffff” accent_color=”#269adb” default_from=”DE” default_to=”A” show_via show_result_length show_result_customized_cost customized_cost_formula=”Length * 5″ customized_cost_label=”Total pour cette livraison” show_result_map show_result_scheme only_countries=”FR” prefer_countries=”FR”]

    I have an error code :

    defaultTo:
    Sorry, our database has no such city

    What is this problem ?

    Thanks you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author iGuk

    (@iguk)

    Hi! It looks like a bug in our backend. Thank you for reporting it. I will fix it soon and write again here.

    Thread Starter mwd1support

    (@mwd1support)

    Hi ! Ok thanks you !

    Plugin Author iGuk

    (@iguk)

    Hi, again! I have investigated this issue and come to conclusion, that it is not a bug.

    You can clean fields Default value for “From” (Valeur par défaut pour “De”) and Default value for “To” (Valeur par défaut pour “à”) and generate short code without default_from/default_to attributes.

    This fields only accept city names.

    Thread Starter mwd1support

    (@mwd1support)

    Hi, again again !

    Thank you very much, the card is displayed correctly.

    One last thing remains: I would like to put in the starting point a district of Paris (75013 for example) and the arrival in another district of Paris (75018 for example). How can I do this since the map only shows me the city of Paris as a whole?

    Plugin Author iGuk

    (@iguk)

    Is it for default_from/deafult_to values? Try this format “Paris 75013” – it can’t be chosen from autosuggested options, while typing. But try to ignore autosuggested cities and write required address. In many cases, addresses will be recognized correctly after clicked “calculate” button on form.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sorry, our database has no such city’ is closed to new replies.