List products without possibility to buy

  • Posts: 28
  • Thank you received: 0
11 years 10 months ago #132667

Hi,

Short version: Is it possible in anyway to have a webshop where one user can buy and other users can just see the products and either the inventory situation or at least only the products with inventory?
I'm open for "creative workarounds".

Longer version:
We are a small bike club, where the members should be able to see our clothes (in stock) and go to the local bike store and buy. The bike shop should be able to place an order when selling.

Thanks,

Claus

-- url of the page with the problem -- : Not online
-- HikaShop version -- : Starter
-- Joomla version -- : 3.2

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
11 years 10 months ago #132691

Hi,

It's possible yes.
To not display out of stock products, you can simply set the "display out of stock products" option of the configuration.
And if you want to restrict the add to cart button to only a product, you can restrict the price of the product to a specific user group which will be added only to that user. Then, make sure that the "display add to cart button for free products" option is turned off in the configuration so that other users don't see the add to cart button.
That means however that they won't see the price of the products either.
So one solution you could do would be to hide the normal price display and instead add the price in the description of the products or a custom product field.
Note that price restriction per user group is only available with the Business edition.

The following user(s) said Thank You: clucking

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

  • Posts: 28
  • Thank you received: 0
11 years 10 months ago #132695

Thanks a lot for the answer, Nicolas. I think the Business edition is cheap, but anyway just too much for a small bike club here in Denmark who should only use the shop for handling team clothes ;-)
I will see if we can live with the possibility for all users to create orders - or maybe I can find another solution.
Thanks anyway.

Last edit: 11 years 10 months ago by clucking.

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

  • Posts: 28
  • Thank you received: 0
11 years 9 months ago #134456

Hi,

Okay - I'm more or less ready to buy. I cannot find a better/cheaper alternative ;)
Anyway - it could be, that I will end up with a requirement that all users should be allowed to buy certain products and only a few users should be able to buy certain products. (All products should be visible to all users - okay with prices in text or a user defined field).
Will this be possible?

Thanks,

Claus.

Last edit: 11 years 9 months ago by clucking.

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
11 years 9 months ago #134489

Yes.

Yes, you can do that with the access level icon of prices which is available in the Business edition when you edit a product. It allows you to restrict each price to different user groups and then with the "display add to cart button for free products" option turned off, if a product doesn't have any price for the user groups of the current user, he won't be able to buy the product. And yes, you can always display the price in the description or a custom product field if you want to display it all the time regardless of the prices access levels.

The following user(s) said Thank You: clucking

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

  • Posts: 28
  • Thank you received: 0
11 years 9 months ago #134616

Okay - I have bought the product - and in a small test I can confirm that the above requirement is up and running.
But it looks like having the stock situation visible follows the possibility to buy. Can I in any way have the stock situation also for them who are not allowed to buy?
Thanks again for taking your time.

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
11 years 9 months ago #134704

Yes.
Simply add the line:
else{ echo JText::sprintf('X_ITEMS_IN_STOCK',$this->row->product_quantity); }

before the line:
$this->formName = $form;

in the file "show_default" via the menu Display>Views.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum