TourCMS community

For users of the TourCMS tour operator ecommerce platform

Hi

I am getting Problem listed below.

Sorry there has been a problem.
NO MATCHING DATA

Views: 6

Reply to This

Replies to This Discussion

Hi Jagbir,
It looks like you are using the Tour Search API method, by default this only returns Tours/Hotels with future dates & prices loaded. To return all Tours including those that have no future dates & prices loaded you would need to pass in the has_sale parameter with the value all.

If you are using the "List of all connected Tours" example you can edit the $qs variable to pass querystring variables to the search:

Find:
$qs = '';

Change it to:
$qs = 'has_sale=all';

See the Tour Search API method page for details on the other parameters you can use, for example to list all Tours containing the word "luxury" including those that have no dates & prices loaded you would use:

$qs = 'has_sale=all&k=luxury';

Paul

RSS

© 2012   Created by TourCMS team.

Badges  |  Report an Issue  |  Terms of Service