TourCMS community

For users of the TourCMS tour operator ecommerce platform



Is it possible for the duration value to come back as a fraction when using the Show Tour API call. I have seen a few tours with a duration of 1 but with the duration description field saying "half day". Is this just a problem with the data of the entered for the tour itself or is it just not possible to have fraction for duration.




Views: 51

Reply to This

Replies to This Discussion

Hi Graeme,

The thinking behind this is that "half day" would be displayed to customers and the "1" (calculated) would be for a developer to know programatically that an item happened during a single day rather than being overnight. Is there a use case where this causes a problem?



© 2017   Created by TourCMS team.   Powered by

Badges  |  Report an Issue  |  Terms of Service