Author Topic: Restrict frontend products access  (Read 1031 times)

spikespiegel

  • Beginner
  • *
  • Posts: 7
Restrict frontend products access
« on: January 20, 2018, 17:24:12 pm »
Is there any way to allow only the administrators to see the products listings in the frontend? This way the users will only be able to see their products in their control panel, but only the administrator will be able to buy.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2235
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Restrict frontend products access
« Reply #1 on: January 20, 2018, 20:31:32 pm »
but only the administrator will be able to buy.

Why is the admin going to be the only customer ?

What Do You mean with this ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

spikespiegel

  • Beginner
  • *
  • Posts: 7
Re: Restrict frontend products access
« Reply #2 on: January 20, 2018, 21:00:49 pm »
Because we need to buy pictures from people, but we will be the only customer.
We are making the website to purchase people's pictures. They come, they publish them, we buy, they receive a contract by email after we have made the purchase, they sign, we confirm it, they receive their payment.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3905
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Restrict frontend products access
« Reply #3 on: January 21, 2018, 00:02:22 am »
Why you need products in this case?
A form or perhaps 1 product only, with upload or a specific plugin to set your own price with shoppergroups control, to prevent upload and price changes for other peoples ?

spikespiegel

  • Beginner
  • *
  • Posts: 7
Re: Restrict frontend products access
« Reply #4 on: January 21, 2018, 03:25:06 am »
Why a store? Because a products store was the closest thing I could thought about to what we need. But I'm opened to suggestions too of course :D, here is what I need:

Must-have:
- User must be able to have his own control panel
- User should be able to upload a zip file
- User should never have access to other user's files
- Admin should have access to user's files

* Perhaps a mix of a gallery and a support's ticket system would work *

Things that would be great to have:
- A payment gateway
- Pictures preview for the zip file

Well I'm opened to new ideas.
Currently we're buying pictures from people when they send us the files by email, then we only require proof of their identity and that they sign up a contract allowing the pictures to be reused, for example, as advertisements in other websites.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3905
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Restrict frontend products access
« Reply #5 on: January 21, 2018, 03:33:22 am »
Quote
- User should be able to upload a zip file
1 product with upload and a specific plugin should work for your case.
Quote
- User must be able to have his own control panel
If the user check he's order, he see the uploaded image, if the plugin permit this.
Quote
- User should never have access to other user's files
Each user have only acces to own orders
Quote
- Admin should have access to user's files
if the plugin permit this, you can download the uploaded file and it's bind with the product.

If you need more advanced control panel to manage the files, this is possible with some plugin coding(no core hack needed in most case)

spikespiegel

  • Beginner
  • *
  • Posts: 7
Re: Restrict frontend products access
« Reply #6 on: January 22, 2018, 22:59:47 pm »
What about not using virtue mart? Is there any other components and plugins?

Quote
Must-have:
- User must be able to have his own control panel
- User should be able to upload a zip file
- User should never have access to other user's files
- Admin should have access to user's files

* Perhaps a mix of a gallery and a support's ticket system would work *

Things that would be great to have:
- A payment gateway
- Pictures preview for the zip file



Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3905
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Restrict frontend products access
« Reply #7 on: January 23, 2018, 02:13:02 am »
I prefer Vm + plugin, but you can check in the JED if you find another system that suit your needs.
See https://extensions.joomla.org/index.php
Note that in most case, when you have a very specific request, you need to change the code or pay something to do it for you, or add plugins, addons ...

spikespiegel

  • Beginner
  • *
  • Posts: 7
Re: Restrict frontend products access
« Reply #8 on: January 23, 2018, 18:11:44 pm »
Well thx, I had an idea yesterday: Tickets Support system + Events Gallery + Chat + (Maybe) Affiliate program....

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Restrict frontend products access
« Reply #9 on: January 25, 2018, 20:33:25 pm »
I would also use vm for that. You can extend it to Multivendor, also another way to have users their own products.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

spikespiegel

  • Beginner
  • *
  • Posts: 7
Re: Restrict frontend products access
« Reply #10 on: January 25, 2018, 21:48:53 pm »
Thanks guys, you've been of great help, but I'm still opened to new ideas.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3905
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Restrict frontend products access
« Reply #11 on: January 25, 2018, 22:41:56 pm »
If you need new ideas and want use other extensions, i think you should ask the question in the Joomla forum, but your request is to specific to find a ready to go solution.
Try to not mix different components because conflict on updates, need most times hacks, each have different design ...
If you use VM or not, find a solution that you can do it from A to Z or A to Y :) but dont try to mix 5 existing systems, else you are sure you get some problems a day.