Post by lfairban » Tue Mar 17, 2015 5:30 am

How To: Add Files - That only dealers can see?

So I have a Dealers Group and I approve the dealers as they sign up.

I want to make certain files available to them only.
What's the best way to manage this?

Thanks.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Wed Mar 18, 2015 4:33 am

Anyone have an idea for me to try?

I suppose I could edit the tpl and put an IF statement that filters out users that aren't Dealers.

I was trying to avoid making edits to the code until I'm comfortable with vQMOD but this is the biggest thing I need before making the site live.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by IP_CAM » Thu Mar 19, 2015 12:34 am

it would not be a very efficient way, I guess, to check every product, before beeing listed, in any and every Section of OC, if it may be viewed by a 'qualified' person or not, it would slow down Shop Performance very badly, at best.

You better create a second shop, for Dealers only, only allowing them to enter the store, if logged in as 'qualified' dealer. I recall a Mod, doing such, somewhere in the extension section.

http://www.opencart.com/index.php?route ... 20required
http://www.opencart.com/index.php?route ... ers&page=2

Good luck
Ernie
bigmax.ch/shop/

Oops, Post Number 1'000, I have to slow down...

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by lfairban » Thu Mar 19, 2015 9:12 pm

This isn't a product; it's just a PDF file that I want all dealers to see/download from "Account" pages IF the user is part of the "Dealer" Group.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Tue Mar 24, 2015 12:00 am

I'm trying to warm up to the OpenCart structure; how do I do the following?

I have a PDF that I want on the Account page but only if they are Dealer group.
I have two customer groups, one is Standard (customer_group_id = 1) and the other is a Dealer (customer_group_id = 2).

I want the Dealers to see the file in their account page (only Dealers - not Standard).

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Thu Jun 09, 2016 9:34 pm

Update to my own post:

There are a few nice extensions that I purchased that work really well.

The Form Builder Pro: This is a form builder but it has the ability to restrict access to general content by customer type.
HTML Block Module Pro - UNLIMITED HTML Blocks Everywhere!
Restrict Catalog By Customer Group 2

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am
Who is online

Users browsing this forum: No registered users and 49 guests