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

#   No stock before choosing characteristic

##

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

2 years 10 months ago [\#356993](#356993) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#356993 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.4
-- PHP version -- : 7.4

Hello!

Before i select characteristics in a product, there is the message "No stock" there and it's misleading.
How can i display a message there instead that says that you have to choose characteristics first?

Thank you

- [ ![nostock.jpg](/forum/attachment/58275) ](/forum/attachment/58275 "nostock.jpg") [ ](/forum/attachment/58275?download=1 "nostock.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDczNDgtbm8tc3RvY2stYmVmb3JlLWNob29zaW5nLWNoYXJhY3RlcmlzdGljP3RtcGw9bWFya2Rvd24=) 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: 86287
- Thank you received: 14264
-
-

2 years 10 months ago [\#356994](#356994) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#356994 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")*

Hi,

That's how it is supposed to be by default:
[ i.imgur.com/otyZyHk.png](https://i.imgur.com/otyZyHk.png)
So I'm not sure.
Could you provide the URL of that page so that we can check the HTML and better understand what's going on ?

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

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

2 years 10 months ago [\#356999](#356999) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#356999 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")*

Hi,

Yes we created a characteristic for the "Please select" option cause we needed that and that characteristic has 0 quantity.
So what can be done here? We need to keep the "Please select" option but fix the "Out of Stock" issue.

You can see an example [ here](https://www.php8.webintel.gr/art-metal/index.php/metallika-epipla/krevatia/stromata-ypnou/product/1912-stroma-ypnou-candia-phaistos).

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDczNDgtbm8tc3RvY2stYmVmb3JlLWNob29zaW5nLWNoYXJhY3RlcmlzdGljP3RtcGw9bWFya2Rvd24=) 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: 86287
- Thank you received: 14264
-
-

2 years 10 months ago [\#357001](#357001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#357001 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")*

Hi,

Ok, I understand now.
So why not remove the "please select" option and activate the "Characteristics dynamic display" setting ?
That way, it will work like you want as far as I understand.

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

2 years 10 months ago [\#357030](#357030) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#357030 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")*

We tried it as you will see in [ this thread](https://www.hikashop.com/forum/product-category-display/906355-add-a-please-select-to-characteristics.html)

And your suggestion was this. The client is pushing us to have the "Please select" on all characteristics but not with the dynamic diplay, they don't like that you have to select the first characteristic and then the second wil be available etc.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDczNDgtbm8tc3RvY2stYmVmb3JlLWNob29zaW5nLWNoYXJhY3RlcmlzdGljP3RtcGw9bWFya2Rvd24=) 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: 86287
- Thank you received: 14264
-
-

2 years 10 months ago [\#357053](#357053) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No stock before choosing characteristic](/forum/26-product-category-display/907348-no-stock-before-choosing-characteristic#357053 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 7.4  Hello!  Before i select characteristics in a product, there is the message &quot;No stock&quot; there and it's misleading. How can i display a message there instead that says that you have to choose characteristics first?  Thank you")*

Hi,

Then, you could either:
- create a translation override of the "no stock" message to have something else. However, this will change for all the products, even for the ones which really have no stock. So that might not be practical if you manage the stock of your products in HikaShop.
- instead of setting the stock to 0, you could set the sale end date in the past for that "please select" variant. That way, you would get another message than the "no stock" message, allowing you to have another text you can customize with a translation override, independently from the stock management.
- you could create a custom field of the table "product" and with the column name "product_stock_message". Whatever you write/select in this custom field in your product / variant will override the default stock message. Leaving the custom field empty for a product would let the system work normally with the default stock message.

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

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

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

[](#top)
