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

#   Custom field weeknumer default value current week + 1

##

- **[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")**
- [![nuntius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar29512.jpg)](/forum/user/29512-nuntius "View nuntius's Profile") Topic Author
- [ Offline](/forum/user/29512-nuntius)
- nuntius.nl

Less More

- Posts: 62
- Thank you received: 1
-
-
-
-

9 years 11 months ago -  9 years 11 months ago [\#256745](#256745) by [nuntius](/forum/user/29512-nuntius "View nuntius's Profile")  *[Custom field weeknumer default value current week + 1](/forum/35-orders-management/887765-custom-field-weeknumer-default-value-current-week-1#256745 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : No error  Hello,  I have a custom field where customers kan select a delivery week. By default it should point to next week, but I could use some pointers on how te get this done (if possible).  See screenshots for the config of the custom field.  Thank you in advance!")* was created by *[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : No error

Hello,

I have a custom field where customers kan select a delivery week. By default it should point to next week, but I could use some pointers on how te get this done (if possible).

See screenshots for the config of the custom field.
[ ![ScreenShot2016-12-02at16.32.48.png](/forum/attachment/34982) ](/forum/attachment/34982 "...at16.32.48.png")

[ ![ScreenShot2016-12-02at16.33.08.png](/forum/attachment/34980) ](/forum/attachment/34980 "...at16.33.08.png")

[ ![ScreenShot2016-12-02at16.33.24.png](/forum/attachment/34981) ](/forum/attachment/34981 "...at16.33.24.png")

Thank you in advance!

- [ ![ScreenShot2016-12-02at16.33.08.png](/forum/attachment/34980) ](/forum/attachment/34980 "...at16.33.08.png") [ ](/forum/attachment/34980?download=1 "...at16.33.08.png")
- [ ![ScreenShot2016-12-02at16.33.24.png](/forum/attachment/34981) ](/forum/attachment/34981 "...at16.33.24.png") [ ](/forum/attachment/34981?download=1 "...at16.33.24.png")
- [ ![ScreenShot2016-12-02at16.32.48.png](/forum/attachment/34982) ](/forum/attachment/34982 "...at16.32.48.png") [ ](/forum/attachment/34982?download=1 "...at16.32.48.png")

Last edit: 9 years 11 months ago by [nuntius](/forum/user/29512-nuntius "View nuntius's Profile"). Reason: missing screenshot

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4Nzc2NS1jdXN0b20tZmllbGQtd2Vla251bWVyLWRlZmF1bHQtdmFsdWUtY3VycmVudC13ZWVrLTE/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 11 months ago [\#256747](#256747) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field weeknumer default value current week + 1](/forum/35-orders-management/887765-custom-field-weeknumer-default-value-current-week-1#256747 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : No error  Hello,  I have a custom field where customers kan select a delivery week. By default it should point to next week, but I could use some pointers on how te get this done (if possible).  See screenshots for the config of the custom field.  Thank you in advance!")*

Hi,

You'll have to edit the file "custom_fields" of the view "checkout" via the menu Display&gt;Views and force the value you want in the variable $this-&gt;order-&gt;weeknr if it isn't already set (if it's already set, it means that it has been selected by the customer already and you don't want to change it).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4Nzc2NS1jdXN0b20tZmllbGQtd2Vla251bWVyLWRlZmF1bHQtdmFsdWUtY3VycmVudC13ZWVrLTE/dG1wbD1tYXJrZG93bg==) 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.050 seconds

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