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

#   Product details button ? or use something else. But how?

##

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile") Topic Author
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

3 years 9 months ago -  3 years 9 months ago [\#348920](#348920) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#348920 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")* was created by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")*

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.1

The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.
[ ![Screenshot&#95;2023-02-02&#95;17-37-27.jpg](/forum/attachment/56434) ](/forum/attachment/56434 "...2&#95;17-37-27.jpg")

So on the blue buttons is the word REGISTER, for the course that is. The product we sell.
And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.

Is that possible?

---

I'll keep on trying!

- [ ![Screenshot&#95;2023-02-02&#95;17-37-27.jpg](/forum/attachment/56434) ](/forum/attachment/56434 "...2&#95;17-37-27.jpg") [ ](/forum/attachment/56434?download=1 "...2&#95;17-37-27.jpg")

Last edit: 3 years 9 months ago by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 9 months ago -  3 years 9 months ago [\#348923](#348923) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#348923 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

Hello,

There are several possible ways to do this, but in order to better guide you, can you provide an **Url link** in order to allow us to better understand the context ?
Another point, can you want to have the price **always displayed** (sold out or not)? Do you have other product in your website for free ? Do you want that your product will be sold out automatically or manually ? And list any important and specific elements that you want if possible.

Awaiting your returns to progress on your subject
Regards

Last edit: 3 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile") Topic Author
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

3 years 9 months ago -  3 years 9 months ago [\#348956](#348956) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  Replied by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#348956 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

> Philip wrote: Hello,
>
> There are several possible ways to do this, but in order to better guide you, can you provide an **Url link** in order to allow us to better understand the context ?
> Another point, can you want to have the price **always displayed** (sold out or not)? Do you have other product in your website for free ? Do you want that your product will be sold out automatically or manually ? And list any important and specific elements that you want if possible.
>
> Awaiting your returns to progress on your subject
> Regards

Hi Philip,
A url to a page (this is the old J3 site, soon it will be J4). So the question is mainly for J4.

This message contains confidential information

They sell only paid courses. Some are limited to a certain number others not. So with limited 'stock' it should preferably be automatic. The price can always be displayed, that's not an issue.

And they want to show also the dates, but that is already solved in other topic. I made extra field.

---

I'll keep on trying!

Last edit: 3 years 9 months ago by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile").

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

3 years 9 months ago [\#348963](#348963) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#348963 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

Hi,

I would first recommend changing the layout from "div" to "table" under the "products options" tab of your menu item settings in the Joomla menu manager.
That way it will be closer to what you have in your screenshot.

Then, I would recommend turning on the "add to cart button" display setting in the same place. That way, you'll have the add to cart button directly on the listing. And when there is no stock, you'll have the "no stock" message.

Finally, if you want to customize the look of the "no stock" message so that it looks like a red button, that's possible with some CSS coding.

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

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile") Topic Author
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

3 years 9 months ago [\#349000](#349000) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  Replied by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#349000 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

> nicolas wrote: Hi,
>
> I would first recommend changing the layout from "div" to "table" under the "products options" tab of your menu item settings in the Joomla menu manager.
> That way it will be closer to what you have in your screenshot.
>
> Then, I would recommend turning on the "add to cart button" display setting in the same place. That way, you'll have the add to cart button directly on the listing. And when there is no stock, you'll have the "no stock" message.
>
> Finally, if you want to customize the look of the "no stock" message so that it looks like a red button, that's possible with some CSS coding.

Ok, I'll try that. Thanks. That's clear. But I can't get a 'no stock' message I guess with 'products' that don't have a numbered inventory.

I don't like the table setup. CSS, and modifying the templatefiles, is no issue for me so layout I can solve, that's not the issue.

---

I'll keep on trying!

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

3 years 9 months ago [\#349001](#349001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#349001 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

Hi,

What do you mean by

> But I can't get a 'no stock' message I guess with 'products' that don't have a numbered inventory.

?
In a previous message, you said: Code:

they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.

Normally, if a product has stock and has no sale end date, or a sale end date in the future, HikaShop will display the add to cart button.
And if the product doesn't have any stock left, or has a sale end date in the past, it won't display the add to cart button and will display a message like "no stock" or "this item is not sold anymore". And both of these texts can be customized to display as a button with the text "register closed" with a translation override and a bit of CSS.
So I'm not clear on what's keeping you from doing what I recommanded. Maybe I don't have a full grasp of your need here.

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

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

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile") Topic Author
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

3 years 9 months ago [\#349008](#349008) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  Replied by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")* on topic *[Product details button ? or use something else. But how?](/forum/26-product-category-display/905830-product-details-button-or-use-something-else-but-how#349008 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.1  The client wants to display the productlisting as you can see in the picture I attached. They only sell courses for mainly older people. Like painting, learn the pc etc.  So on the blue buttons is the word REGISTER, for the course that is. The product we sell. And they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.  Is that possible?")*

> nicolas wrote: Hi,
>
> What do you mean by
>
> > But I can't get a 'no stock' message I guess with 'products' that don't have a numbered inventory.
>
> ?
> In a previous message, you said: Code:
>
> they want that button to change to REGISTER CLOSED when the course is sold out or after a certain date.
>
>
>
> Normally, if a product has stock and has no sale end date, or a sale end date in the future, HikaShop will display the add to cart button.
> And if the product doesn't have any stock left, or has a sale end date in the past, it won't display the add to cart button and will display a message like "no stock" or "this item is not sold anymore". And both of these texts can be customized to display as a button with the text "register closed" with a translation override and a bit of CSS.
> So I'm not clear on what's keeping you from doing what I recommanded. Maybe I don't have a full grasp of your need here.

Hi Nicolas,
Sorry for my bad English that makes the confusion. But I clearly understand what you are saying. So what I want is possible. I'll figure it out now.
So for me the problem is solved ![;)](/media/kunena/emoticons/24.png ";)").

---

I'll keep on trying!

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

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

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