Skip to main content

Display the stock only for registered group

More
3 years 7 months ago #349404 by verzevoul
-- HikaShop version -- : 4.7.1
-- Joomla version -- : 3.10.11

Hello!

Could i enable the stock in frontend only for the registered group?

Thank you

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

More
3 years 7 months ago - 3 years 7 months ago #349409 by Philip
Hello,

For this you will have to create an override view of your required view file, certainly add_to_cart_ajax.php but it depends from your settings.
1. From HikaShop Configuration, go to Advanced tab, then in Advanced Settings part, use the Display view files setting to get the good view file references.
2. Go to Display dropdown => Views
3. Use your 3 dropdown filters with Product/YourTemplate/Front end
4. Edit your required view file like shown on my screenshot :
Example in add_to_cart_ajax.php around 90 line :


Hope this will you to achieve your needs
Regards
Last edit: 3 years 7 months ago by Philip.

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

Time to create page: 0.160 seconds
Powered by Kunena Forum