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

#  Profile for ozneilau

##

[![ozneilau's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3680-ozneilau "View ozneilau's Profile")

**[ Offline](/forum/user/3680-ozneilau)**

- **User Type:** User

- **Register Date:** 15 Aug 2011
- **Last login:** 5 years 7 months ago
- **Time Zone:**  UTC +11:00
- **Local Time:** 08:18

- **Posts:** 4
- **Profile views:** 127
- **Thank you received:** 2

- **Location:**  [Tasmania](https://maps.google.com?q=Tasmania)
- **Gender:** Male

[ Webilicious](https://webilicious.com.au)

- Posts

#  ozneilau's recent posts  (4 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/25-install-update/899880-age-restriction-on-checkout-solved#319212) | [Age Restriction on Checkout \[solved\]](/forum/25-install-update/899880-age-restriction-on-checkout-solved#319212 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0.1  To conform to local legislation, the wine sales website I am creating must record the buyers date of birth and ensure that the buyer is at least 18 years old before being able to complete a purchase.  I couldn't find any existing suggestions in the forums that worked sufficiently well for what I need so worked out the following solution for the jQuery UI date picker (the default date picker in the current version). I'm sure there are more elegant solutions but thought I should share this here for anyone else that gets stuck.  1. Create a custom &quot;Date of Birth&quot; field and:  set Field Type = Advanced date picker set Required = Yes set Format = %Y/%m/%d set Allow = Only past dates set Month selector = Yes set Year selector = Yes set Start = 1900  Note: you can set End = -18y so the year is only shown up to 18 years ago but this doesn't take into account the month or date when calculating whether someone is 18 year or older.  2. Add some custom jQuery to the start of the checkout show.php file for your template as follows (change &quot;address&#95;dob&#95;input&quot; to your own custom field name):  References:    www.sitepoint.com/community/t/how-to-val...ry-datepicker/117179    stackoverflow.com/q/29137763  Edited 2nd June 2020:  Alternative Method using PHP  So the jQuery method works but after my client wanted to split the checkout into two steps, shoppers could go back to the first step, amend the date of birth and continue the checkout with a non-validated date.  So I came up with a way to check the DOB in PHP which I implemented instead of the jQuery solution also to the checkout show.php file:  The code is only active on the second step of the checkout process. You will need to change the custom field name and the link as appropriate.")        Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 6 years 6 months ago, by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")       [Last Post](/forum/25-install-update/899880-age-restriction-on-checkout-solved#319212 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0.1  To conform to local legislation, the wine sales website I am creating must record the buyers date of birth and ensure that the buyer is at least 18 years old before being able to complete a purchase.  I couldn't find any existing suggestions in the forums that worked sufficiently well for what I need so worked out the following solution for the jQuery UI date picker (the default date picker in the current version). I'm sure there are more elegant solutions but thought I should share this here for anyone else that gets stuck.  1. Create a custom &quot;Date of Birth&quot; field and:  set Field Type = Advanced date picker set Required = Yes set Format = %Y/%m/%d set Allow = Only past dates set Month selector = Yes set Year selector = Yes set Start = 1900  Note: you can set End = -18y so the year is only shown up to 18 years ago but this doesn't take into account the month or date when calculating whether someone is 18 year or older.  2. Add some custom jQuery to the start of the checkout show.php file for your template as follows (change &quot;address&#95;dob&#95;input&quot; to your own custom field name):  References:    www.sitepoint.com/community/t/how-to-val...ry-datepicker/117179    stackoverflow.com/q/29137763  Edited 2nd June 2020:  Alternative Method using PHP  So the jQuery method works but after my client wanted to split the checkout into two steps, shoppers could go back to the first step, amend the date of birth and continue the checkout with a non-validated date.  So I came up with a way to check the DOB in PHP which I implemented instead of the jQuery solution also to the checkout show.php file:  The code is only active on the second step of the checkout process. You will need to change the custom field name and the link as appropriate.") 6 years 6 months ago     by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile") | Replies:0  Views:778 | [Last Post](/forum/25-install-update/899880-age-restriction-on-checkout-solved#319212 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0.1  To conform to local legislation, the wine sales website I am creating must record the buyers date of birth and ensure that the buyer is at least 18 years old before being able to complete a purchase.  I couldn't find any existing suggestions in the forums that worked sufficiently well for what I need so worked out the following solution for the jQuery UI date picker (the default date picker in the current version). I'm sure there are more elegant solutions but thought I should share this here for anyone else that gets stuck.  1. Create a custom &quot;Date of Birth&quot; field and:  set Field Type = Advanced date picker set Required = Yes set Format = %Y/%m/%d set Allow = Only past dates set Month selector = Yes set Year selector = Yes set Start = 1900  Note: you can set End = -18y so the year is only shown up to 18 years ago but this doesn't take into account the month or date when calculating whether someone is 18 year or older.  2. Add some custom jQuery to the start of the checkout show.php file for your template as follows (change &quot;address&#95;dob&#95;input&quot; to your own custom field name):  References:    www.sitepoint.com/community/t/how-to-val...ry-datepicker/117179    stackoverflow.com/q/29137763  Edited 2nd June 2020:  Alternative Method using PHP  So the jQuery method works but after my client wanted to split the checkout into two steps, shoppers could go back to the first step, amend the date of birth and continue the checkout with a non-validated date.  So I came up with a way to check the DOB in PHP which I implemented instead of the jQuery solution also to the checkout show.php file:  The code is only active on the second step of the checkout process. You will need to change the custom field name and the link as appropriate.") by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")      6 years 6 months ago |
| [](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055) | [Mixed Products in Multiples of Six](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0.1  Similar to   www.hikashop.com/forum/4-how-to/17516-ordering-mixed-cases.html , my client wishes to sell wine in multiples of 6 bottles to fit their packaging.  Clients should be able to choose from a number of different wines such as five of one type and one of another or three of each to make a total of 6 or 12 etc.  I have edited the cart file of the checkout view to create an override for the active template (see attached image).  This is not working as intended so I'm not sure if I have inserted the code in the wrong place or the wrong file.  I would really appreciate some help.  Thanks.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 6 years 6 months ago, by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")       [Last Post](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055 "This is working perfectly.  Thanks so much for the quick response and keep up the good work!") 6 years 6 months ago     by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile") | Replies:2  Views:506 | [Last Post](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055 "This is working perfectly.  Thanks so much for the quick response and keep up the good work!") by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")      6 years 6 months ago |
| [](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319024) | [Mixed Products in Multiples of Six](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319024 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0.1  Similar to   www.hikashop.com/forum/4-how-to/17516-ordering-mixed-cases.html , my client wishes to sell wine in multiples of 6 bottles to fit their packaging.  Clients should be able to choose from a number of different wines such as five of one type and one of another or three of each to make a total of 6 or 12 etc.  I have edited the cart file of the checkout view to create an override for the active template (see attached image).  This is not working as intended so I'm not sure if I have inserted the code in the wrong place or the wrong file.  I would really appreciate some help.  Thanks.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 6 years 6 months ago, by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")       [Last Post](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055 "This is working perfectly.  Thanks so much for the quick response and keep up the good work!") 6 years 6 months ago     by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile") | Replies:2  Views:506 | [Last Post](/forum/27-checkout/899840-mixed-products-in-multiples-of-six#319055 "This is working perfectly.  Thanks so much for the quick response and keep up the good work!") by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")      6 years 6 months ago |
| [](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318973) | [Short Description in Products View (Easy Method)](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318973 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.17 -- Browser(s) name and version -- : Firefox 76.0  Despite there being quite a few posts already on how to include a short description with products listings, I was not able to create a custom field in the products table or find the correct view in Display -&gt; View to be able to insert appropriate code.  I worked out an alternative method that is simpler for me and may be simpler for others so will share it here.  Edit the menu option, select the Div tab and choose the &quot;Image and description&quot; Layout type so that the description is displayed along side each product on the product listings page.  In the description field, add a short description and a long description enclosing the descriptions with appropriate CSS classes like this:  Add the following CSS code to the custom CSS file for your template (see template documentation for details):  The short description will now appear on the product listings page and the long description will now appear on the product detail page.")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 6 years 6 months ago, by [ozneilau](/forum/user/3680-ozneilau "View ozneilau's Profile")       [Last Post](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318982 "Hello,  Thanks a lot for your feedback and your contribution to the Hikashop community !  We wish you a nice day ! Kind regards, Mohamed") 6 years 6 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:384 | [Last Post](/forum/26-product-category-display/899826-short-description-in-products-view-easy-method#318982 "Hello,  Thanks a lot for your feedback and your contribution to the Hikashop community !  We wish you a nice day ! Kind regards, Mohamed") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      6 years 6 months ago |

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

Time to create page: 0.044 seconds

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