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

#   Availability date + time option missing in HikaShop 6 Business

##

- **[pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")**
- [![pkaeller's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83036-pkaeller "View pkaeller's Profile") Topic Author
- [ Offline](/forum/user/83036-pkaeller)

Less More

- Posts: 18
- Thank you received: 1
-
-

1 year 3 months ago [\#368145](#368145) by [pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")  *[Availability date + time option missing in HikaShop 6 Business](/forum/26-product-category-display/909633-availability-date-time-option-missing-in-hikashop-6-business#368145 "-- HikaShop version -- : 6.0.0 Business -- Joomla version -- : 5.3.2 -- PHP version -- : 8,3,23 -- Browser(s) name and version -- : Chrome 138.0.7204.184  Hello,  I am using HikaShop 6 Business and want to display the product availability date including the time in the frontend. From the documentation and older forum posts, I understand there should be a global setting like &quot;Display availability date&quot; with options such as:  &#42; No  &#42; Yes (date only)  &#42; Yes + Time  However, in my installation, I cannot find this setting anywhere in System → Configuration → Display → Product options or Default parameters for products.  What I have tried so far:  I entered a &quot;Available from&quot; date and time for a product (in Restrictions and dimensions tab). Saved the product and checked the frontend → no availability date/time shown. Checked all display configuration sections → the option does not appear.  I am sure I am using the Business edition (purchased specifically for the date+time feature).  Question:  &#42; Has the &quot;Display availability date&quot; setting been moved or removed in HikaShop 6?  &#42; How can I enable the time to be shown together with the availability date without doing a custom view override?  Thank you in advance!  Best regards, Patrick")* was created by *[pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")*

-- HikaShop version -- : 6.0.0 Business
-- Joomla version -- : 5.3.2
-- PHP version -- : 8,3,23
-- Browser(s) name and version -- : Chrome 138.0.7204.184

Hello,

I am using HikaShop 6 Business and want to display the product availability date including the time in the frontend.
From the documentation and older forum posts, I understand there should be a global setting like "Display availability date" with options such as:

- No
- Yes (date only)
- Yes + Time

However, in my installation, I cannot find this setting anywhere in System → Configuration → Display → Product options or Default parameters for products.

What I have tried so far:

I entered a "Available from" date and time for a product (in Restrictions and dimensions tab).
Saved the product and checked the frontend → no availability date/time shown.
Checked all display configuration sections → the option does not appear.

I am sure I am using the Business edition (purchased specifically for the date+time feature).

Question:

- Has the "Display availability date" setting been moved or removed in HikaShop 6?
- How can I enable the time to be shown together with the availability date without doing a custom view override?

Thank you in advance!

Best regards,
Patrick

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk2MzMtYXZhaWxhYmlsaXR5LWRhdGUtdGltZS1vcHRpb24tbWlzc2luZy1pbi1oaWthc2hvcC02LWJ1c2luZXNzP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

1 year 3 months ago -  1 year 3 months ago [\#368146](#368146) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Availability date + time option missing in HikaShop 6 Business](/forum/26-product-category-display/909633-availability-date-time-option-missing-in-hikashop-6-business#368146 "-- HikaShop version -- : 6.0.0 Business -- Joomla version -- : 5.3.2 -- PHP version -- : 8,3,23 -- Browser(s) name and version -- : Chrome 138.0.7204.184  Hello,  I am using HikaShop 6 Business and want to display the product availability date including the time in the frontend. From the documentation and older forum posts, I understand there should be a global setting like &quot;Display availability date&quot; with options such as:  &#42; No  &#42; Yes (date only)  &#42; Yes + Time  However, in my installation, I cannot find this setting anywhere in System → Configuration → Display → Product options or Default parameters for products.  What I have tried so far:  I entered a &quot;Available from&quot; date and time for a product (in Restrictions and dimensions tab). Saved the product and checked the frontend → no availability date/time shown. Checked all display configuration sections → the option does not appear.  I am sure I am using the Business edition (purchased specifically for the date+time feature).  Question:  &#42; Has the &quot;Display availability date&quot; setting been moved or removed in HikaShop 6?  &#42; How can I enable the time to be shown together with the availability date without doing a custom view override?  Thank you in advance!  Best regards, Patrick")*

Hi,

The available date will appear automatically on the product details page on the frontend once entered in the "available from" input for the product in the backend.
There is no option to not display it.
If you don't see it, either you've already have a view override (made on your end or by your template provider) which removes it, or you have a translation override of the text for it on the frontend which removes it, or you have custom CSS which removes it, or you have some page caching in place preventing you from seeing the change and you need to clear it.
The code to display it is in the view file product / quantity : Code:

if($start_date &gt; 0 &amp;&amp; $start_date &gt; $now) { ?&gt; &lt;span class="hikashop_product_sale_start"&gt;&lt;?php echo JText::sprintf('ITEM_SOLD_ON_DATE', hikashop_getDate($start_date, $this-&gt;params-&gt;get('date_format', '%d %B %Y'))); ?&gt;&lt;/span&gt; &lt;?php }

So either that code is missing or there is a problem with the translation key ITEM_SOLD_ON_DATE

Last edit: 1 year 3 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")

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

- **[pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")**
- [![pkaeller's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83036-pkaeller "View pkaeller's Profile") Topic Author
- [ Offline](/forum/user/83036-pkaeller)

Less More

- Posts: 18
- Thank you received: 1
-
-

1 year 3 months ago [\#368166](#368166) by [pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")  Replied by *[pkaeller](/forum/user/83036-pkaeller "View pkaeller's Profile")* on topic *[Availability date + time option missing in HikaShop 6 Business](/forum/26-product-category-display/909633-availability-date-time-option-missing-in-hikashop-6-business#368166 "-- HikaShop version -- : 6.0.0 Business -- Joomla version -- : 5.3.2 -- PHP version -- : 8,3,23 -- Browser(s) name and version -- : Chrome 138.0.7204.184  Hello,  I am using HikaShop 6 Business and want to display the product availability date including the time in the frontend. From the documentation and older forum posts, I understand there should be a global setting like &quot;Display availability date&quot; with options such as:  &#42; No  &#42; Yes (date only)  &#42; Yes + Time  However, in my installation, I cannot find this setting anywhere in System → Configuration → Display → Product options or Default parameters for products.  What I have tried so far:  I entered a &quot;Available from&quot; date and time for a product (in Restrictions and dimensions tab). Saved the product and checked the frontend → no availability date/time shown. Checked all display configuration sections → the option does not appear.  I am sure I am using the Business edition (purchased specifically for the date+time feature).  Question:  &#42; Has the &quot;Display availability date&quot; setting been moved or removed in HikaShop 6?  &#42; How can I enable the time to be shown together with the availability date without doing a custom view override?  Thank you in advance!  Best regards, Patrick")*

Here’s what solved it for me on both the product details and the product listing views.

**Problem observed:**
The “available from” notice was shown, but only with the date (no hours/minutes). The reason was that the view used the date_format parameter (default %d %B %Y) which doesn’t include time.

**Product details view**
File adjusted (override): product/quantity.php
(That’s the file you referenced; I confirmed it on my setup.)

I kept the original condition and only made the format time-aware. If the chosen date_format doesn’t contain hours/minutes, I append %H:%M:
Code:

&lt;!-- SALE START MESSAGE --&gt; &lt;?php // $start_date kommt aus der Detail-View $startTs = is_numeric($start_date) ? (int)$start_date : strtotime((string)$start_date); if ($startTs &amp;&amp; $startTs &gt; time()) : // Format aus Params holen; Uhrzeit ergänzen, falls nicht vorhanden $fmt = (string) $this-&gt;params-&gt;get('date_format', '%d %B %Y'); if (strpos($fmt, '%H') === false &amp;&amp; strpos($fmt, '%I') === false) { $fmt .= ' %H:%M'; } ?&gt; &lt;span class="hikashop_product_sale_start"&gt; &lt;?php echo JText::sprintf('ITEM_SOLD_ON_DATE', hikashop_getDate($startTs, $fmt)); ?&gt; &lt;/span&gt; &lt;?php endif; ?&gt; &lt;!-- EO SALE START MESSAGE --&gt;

**Product listing view**
On my site the text is rendered not in listing_* files but in:

File adjusted (override): product/add_to_cart_ajax.php
(That’s where the listing replaces the add-to-cart area with the “available from …” notice before the sale starts.)

Same idea—keep the logic, enforce a time-aware format:
Code:

&lt;!-- SALE START MESSAGE --&gt; &lt;?php $startTs = is_numeric($start_date) ? (int)$start_date : strtotime((string)$start_date); if ($startTs &amp;&amp; $startTs &gt; time()) : // Format holen; Uhrzeit anhängen, falls nicht vorhanden $fmt = (string) $this-&gt;params-&gt;get('date_format', '%d %B %Y'); if (strpos($fmt, '%H') === false &amp;&amp; strpos($fmt, '%I') === false) { $fmt .= ' %H:%M'; } ?&gt; &lt;span class="hikashop_product_sale_start"&gt; &lt;?php echo JText::sprintf('ITEM_SOLD_ON_DATE', hikashop_getDate($startTs, $fmt)); ?&gt; &lt;/span&gt; &lt;?php endif; ?&gt; &lt;!-- EO SALE START MESSAGE --&gt;

**Notes / gotchas**
If your product_sale_start is stored without a time component, you’ll see … 00:00. If you want a fixed time (e.g. 08:00) whenever hours/minutes are zero, you can add a small check and adjust the timestamp before formatting.

Make sure there is no translation override removing the %s in ITEM_SOLD_ON_DATE, and clear Joomla cache (and any optimizer/minifier cache) after changes.

With the above two edits, both the detail page and listing now display date + time reliably.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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