- Posts: 1184
- Thank you received: 13
Display the stock only for registered group
3 years 7 months ago #349404
by verzevoul
Display the stock only for registered group was created 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
-- 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.
3 years 7 months ago - 3 years 7 months ago #349409
by Philip
Replied by Philip on topic Display the stock only for registered group
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
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