Page 1 of 1

Extension to set price by days before a trip does such an extension exist?

Posted: Tue Jul 31, 2018 11:48 am
by adabob
What I'm looking for is a setting (extension) similar airline bookings. Lets say you have a tour that is Jan 01 and you want it to have 3 different prices? A. 60 days advance of the date discount price. B. 90 Days advance of the date discount price. Less than 60 days the price goes to the normal rate
I'd like something in the admin where you can just enter the number of days in advance to a date what the price in percentage will be.

Where can I find this or what is this called to search for it?

Thank you

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Tue Jul 31, 2018 3:12 pm
by kestas
Hi,

did you found such extension?

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Sat Sep 01, 2018 8:59 am
by adabob
No did not find an extension that can adjust a price by 60, 90 and 120 day advance purchase.

Basically I want to have an option in discount that if selected adjusts the price by how many days in advance you purchase, This is in real-time.

Imagine you have a trip that takes place
(Target Date)Jan 01 2019 this date is set for the item
If customer purchases the item 60 days before the day is a 20% discount
if customer purchases the item 90 days before the day is a 30% discount
If customer purchases the item 120 days before the day is a 40% discount

The programing would have to automatically adjust the price by todays date and the target date
The pricing page in Open cart I want to be able to set the days in advance and the price

Is this possible?

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Sat Sep 01, 2018 7:59 pm
by straightlight
While this request may be theorically possible, it would also be to know how would the defined time zones can be set for everyone noticing the midnight times whenever the today's date and the target date would be set to an end other than the server time period. Especially if the server time period is on a different time zone than the merchant's zone, how would we distinguish if the expired date would reach the end for everyone would be questionable at this point.

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Sun Sep 02, 2018 10:16 am
by khnaz35
straightlight wrote:
Sat Sep 01, 2018 7:59 pm
While this request may be theorically possible, it would also be to know how would the defined time zones can be set for everyone noticing the midnight times whenever the today's date and the target date would be set to an end other than the server time period. Especially if the server time period is on a different time zone than the merchant's zone, how would we distinguish if the expired date would reach the end for everyone would be questionable at this point.
How the airlines are working with prices then?

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Sun Sep 02, 2018 10:19 am
by khnaz35
adabob wrote:
Sat Sep 01, 2018 8:59 am
No did not find an extension that can adjust a price by 60, 90 and 120 day advance purchase.

Basically I want to have an option in discount that if selected adjusts the price by how many days in advance you purchase, This is in real-time.

Imagine you have a trip that takes place
(Target Date)Jan 01 2019 this date is set for the item
If customer purchases the item 60 days before the day is a 20% discount
if customer purchases the item 90 days before the day is a 30% discount
If customer purchases the item 120 days before the day is a 40% discount

The programing would have to automatically adjust the price by todays date and the target date
The pricing page in Open cart I want to be able to set the days in advance and the price

Is this possible?
Everything is possible :)
Try to read this article publish on CNN may help you find your solution
https://edition.cnn.com/travel/article/ ... index.html

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Sun Sep 02, 2018 8:14 pm
by straightlight
khnaz35 wrote:
Sun Sep 02, 2018 10:16 am
straightlight wrote:
Sat Sep 01, 2018 7:59 pm
While this request may be theorically possible, it would also be to know how would the defined time zones can be set for everyone noticing the midnight times whenever the today's date and the target date would be set to an end other than the server time period. Especially if the server time period is on a different time zone than the merchant's zone, how would we distinguish if the expired date would reach the end for everyone would be questionable at this point.
How the airlines are working with prices then?
They use webservices with licensed products in order to manage their products and services as to determine the time zones for each regions which OC obviously doesn't provide unless using an extension allowing to do so.

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Tue Sep 04, 2018 12:42 pm
by khnaz35
straightlight wrote:
Sun Sep 02, 2018 8:14 pm
khnaz35 wrote:
Sun Sep 02, 2018 10:16 am
straightlight wrote:
Sat Sep 01, 2018 7:59 pm
While this request may be theorically possible, it would also be to know how would the defined time zones can be set for everyone noticing the midnight times whenever the today's date and the target date would be set to an end other than the server time period. Especially if the server time period is on a different time zone than the merchant's zone, how would we distinguish if the expired date would reach the end for everyone would be questionable at this point.
How the airlines are working with prices then?
They use webservices with licensed products in order to manage their products and services as to determine the time zones for each regions which OC obviously doesn't provide unless using an extension allowing to do so.
do you know any extension like that ?

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Tue Sep 04, 2018 7:43 pm
by straightlight
Webservices are providers-specific. Better to create a new service request in the Commercial Support section of the forum to get this done as a custom job.

Re: Extension to set price by days before a trip does such an extension exist?

Posted: Mon May 20, 2019 2:46 pm
by DanielLee5
Hi, I saw a similar feature at the most of air booking sites, but I have no single idea how to implement this into my project. Hope to find adequate advices here.