Display the stock only for registered group

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
1 year 9 months ago #349404

-- 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.

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 9 months ago #349409

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: 1 year 9 months ago by Philip.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum