Out of Stock - Contact Us For More Information

  • Posts: 28
  • Thank you received: 5
  • Hikashop Business
9 months 1 week ago #359690

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 5.0.3

When setting stock numbers how can "Contact Us For More Information" be displayed when the stock falls to 0?
I tried to follow previous older posts but can not find this plugin or how to activate this feature.
Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
9 months 6 days ago #359701

Hi,

There is no feature to do that directly.

There are two close features :
- You have the setting "Activate Waitlist feature" which you can turn on to have a waitlist system. In that case, when the stock of a product reaches 0, a button "Add me to the waitlist" will appear on the product page. When clicking on it, the customer will be able to provide his email address. And with the help of the HikaShop cron task and the waitlist plugin, which you can configure via the joomla plugins manager, when the product gets stock back, the user will be automatically notified with an email.
- You have the setting "Display a contact button on the product page". With that setting activated, your products will have a "contact us for more information" button on their page. When clicking on it, the customer will see a contact form and when validating, you'll receive an email with the information the user provided. This form can contain extra fields (like a selector for the reason of the contact request for example), which you can configure via the Display>Custom fields menu.

Now, there is a way to do exactly what you want, but it requires a bit of tinkering:
- First, you could set the "Display a contact button on the product page" setting to "on a per product basis". That way, each product will have its own contact button option when you edit it in the backend.
- Then, in the System>Mass actions menu, you could configure mass actions to run periodically in order to change the value of that per product option based on the stock of the product. You would need 2 mass actions:
1. One with a filter product_quantity != 0 and with an action "update the values" on the "product_contact" column with the value 0
2. One with a filter product_quantity = 0 and with an action "update the values" on the "product_contact" column with the value 1

Doing it like this, the contact button would only appear when the stock reaches 0 and disappear if product is restocked.
Note however that you will have some delay since you'll have to wait for the mass actions to be triggered by the cron task for them to update the products.
Note also that in the "limitations" area of a mass action, it is limited to only processing 500 elements. If you have thousands of products, you would need to increase the limit, but this requires that you server can support loading so many products' data at once...

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 5
  • Hikashop Business
9 months 6 days ago #359728

Thank you for your quick response. I have decided to go with both the waitlist and contact us options as they are the easiest to implement and maintain. Does the waitlist send an email to the administrator when someone adds themselves to the waitlist?

Last edit: 9 months 6 days ago by GrandLodgeIL.

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
9 months 5 days ago #359732

Hi,

It can. But for that, you first need to enable the "Wait list administrator notification" email in the System>Emails menu of HikaShop.
Also, you can see the details of who subscribed for which product in the Customers>Waitlists menu. You can even add new waitlist entries there if necessary.

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 5
  • Hikashop Business
9 months 5 days ago #359771

Thank you for walking me through this. This is a much better solution than my first request for a "Contact Us For More Information".
And you saved me hours of reading documentation for a feature I never knew Hika shop had. I'm impressed.

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 5
  • Hikashop Business
9 months 5 days ago #359774

One more question on this topic. Can I also display the "Notify me when available" button on the category listing?

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
9 months 4 days ago #359777

Hi,

Yes. If you edit the settings of the menu item via the Joomla menu manager, under the "products options" tab, you should find a "waitlist button" display setting which you can activate.

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 5
  • Hikashop Business
9 months 4 days ago #359799

Awsome! Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum