[Skip to main content](#vessel-content)

#   Advanced Data Picker limiter le nombre de jours

##

- **[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")**
- [![David ARNAUD's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39008.jpg)](/forum/user/39008-david-arnaud "View David ARNAUD's Profile") Topic Author
- [ Offline](/forum/user/39008-david-arnaud)

Less More

- Posts: 64
- Thank you received: 0
-
-
-
-

8 years 11 months ago [\#281331](#281331) by [David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")  *[Advanced Data Picker limiter le nombre de jours](/forum/5-support-en-francais-french-support-/892528-advanced-data-picker-limiter-le-nombre-de-jours#281331 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.1 -- PHP version -- : 7.1.10  Bonjour la team Hikashop,  Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?  Merci,  Bon week-end !")* was created by *[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.1
-- PHP version -- : 7.1.10

Bonjour la team Hikashop,

Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?

Merci,

Bon week-end !

---

Le fil vert sur le bouton vert, le fil rouge sur le bouton rouge.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkyNTI4LWFkdmFuY2VkLWRhdGEtcGlja2VyLWxpbWl0ZXItbGUtbm9tYnJlLWRlLWpvdXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 11 months ago [\#281332](#281332) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Advanced Data Picker limiter le nombre de jours](/forum/5-support-en-francais-french-support-/892528-advanced-data-picker-limiter-le-nombre-de-jours#281332 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.1 -- PHP version -- : 7.1.10  Bonjour la team Hikashop,  Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?  Merci,  Bon week-end !")*

Bonjour,

Oui c'est possible via l'option "Waiting days".

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkyNTI4LWFkdmFuY2VkLWRhdGEtcGlja2VyLWxpbWl0ZXItbGUtbm9tYnJlLWRlLWpvdXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")**
- [![David ARNAUD's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39008.jpg)](/forum/user/39008-david-arnaud "View David ARNAUD's Profile") Topic Author
- [ Offline](/forum/user/39008-david-arnaud)

Less More

- Posts: 64
- Thank you received: 0
-
-
-
-

8 years 11 months ago [\#281384](#281384) by [David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")  Replied by *[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")* on topic *[Advanced Data Picker limiter le nombre de jours](/forum/5-support-en-francais-french-support-/892528-advanced-data-picker-limiter-le-nombre-de-jours#281384 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.1 -- PHP version -- : 7.1.10  Bonjour la team Hikashop,  Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?  Merci,  Bon week-end !")*

Bonjour Jérôme,

Merci pour ta réponse. Je me suis mal exprimé. par exemple :
Nous somme le 30/10/2017 et je voudrais que les client puissent choisir du 31/10/2017 au 13/11/2017.

Lorsque je modifie le champ "waiting days", ils peuvent choisir du 13/11/2017 jusqu'à l'infini. Ce n'est pas ce que je voudrais...

---

Le fil vert sur le bouton vert, le fil rouge sur le bouton rouge.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkyNTI4LWFkdmFuY2VkLWRhdGEtcGlja2VyLWxpbWl0ZXItbGUtbm9tYnJlLWRlLWpvdXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

8 years 11 months ago [\#281391](#281391) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Advanced Data Picker limiter le nombre de jours](/forum/5-support-en-francais-french-support-/892528-advanced-data-picker-limiter-le-nombre-de-jours#281391 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.1 -- PHP version -- : 7.1.10  Bonjour la team Hikashop,  Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?  Merci,  Bon week-end !")*

Bonjour,

Il n'y a pas d'option pour cela.
Il faudrait dans ce cas modifier le code du fichier plugins/hikashop/datepickerfield/datepickerfield_class.php à ce niveau: Code:

if(@$field-&gt;field_options['allow'] == 'future') { if(!empty($datepicker_options['waiting'])) $dateOptions[] = 'minDate:'.(int)$datepicker_options['waiting']; else $dateOptions[] = 'minDate:0'; } else if(@$field-&gt;field_options['allow'] == 'past') { if(!empty($datepicker_options['waiting'])) $dateOptions[] = 'maxDate:'.(0 - (int)($datepicker_options['waiting'])); else $dateOptions[] = 'maxDate:0'; }

pour forcer un maxDate à 14

The following user(s) said Thank You: [David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkyNTI4LWFkdmFuY2VkLWRhdGEtcGlja2VyLWxpbWl0ZXItbGUtbm9tYnJlLWRlLWpvdXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")**
- [![David ARNAUD's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39008.jpg)](/forum/user/39008-david-arnaud "View David ARNAUD's Profile") Topic Author
- [ Offline](/forum/user/39008-david-arnaud)

Less More

- Posts: 64
- Thank you received: 0
-
-
-
-

8 years 11 months ago [\#281516](#281516) by [David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")  Replied by *[David ARNAUD](/forum/user/39008-david-arnaud "View David ARNAUD's Profile")* on topic *[Advanced Data Picker limiter le nombre de jours](/forum/5-support-en-francais-french-support-/892528-advanced-data-picker-limiter-le-nombre-de-jours#281516 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.1 -- PHP version -- : 7.1.10  Bonjour la team Hikashop,  Je souhaite que mes clients choisise une date de rendez vous lors du checkout. pour cela j'utilise le plugin advenced data picker. Est-il possible de n'afficher des jours disponible uniquement dans les 14 jours qui suivent la commande ?  Merci,  Bon week-end !")*

OK merci Jérôme

---

Le fil vert sur le bouton vert, le fil rouge sur le bouton rouge.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkyNTI4LWFkdmFuY2VkLWRhdGEtcGlja2VyLWxpbWl0ZXItbGUtbm9tYnJlLWRlLWpvdXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.210 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
