Forums / All Other Contributions/Addons / Category Specific Restriction of Product Price Display (OLD v1 mod)

Category Specific Restriction of Product Price Display (OLD v1 mod)

Locked

Views: 10,910

Results 21 to 40 of 41
This thread is locked. New replies are disabled.
5 Jun 2011, 7:31 AM
#21
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Category Specific Restriction of Product Price Display (OLD v1 mod)

ipanemasand:

.... In other words I just don't want unregistered users to be able to browse and see any of my products......

Bear in mind though, the more restrictions you implement, the less content the search engines can see. Effectively this means that your pages / products may not be indexed at all :no: and that surely defies the purpose of an online store.

It is a different story if you have highly sensitive products (eg adult stuff) for sale ....

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Jun 2011, 1:13 AM
#22
ipanemasand avatar

ipanemasand

New Zenner

Join Date:
Nov 2010
Posts:
13
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Hi Frank,

Thanks for your responses. I appreciate you helping others like this. If you'd be so kind, I've got a few more questions.

Where would I find the conditions 1 or 2? I only saw "Categories Specific Access Restriction" which allows me to input the categories id#. This is where I entered "1,2,3" for the first 3 categories. But I didn't see the conditions 1 or 2 anywhere.

Regarding this website, are you sure this is doing it right? As an unregistered user, I am still able to view all the categories and products within it. Maybe my understanding of what the mod is supposed to do is still off?

Maybe you can look at my current website (https://www.hijean.ca) and tell me if this mod will do what I am looking for. If you visit my website, you can see that all the general pages are accessible but the categories are all restricted and automatically takes you to the log in/registration page. Unfortunately, I had hired someone to build this website so I don't know how he did it.

By the way, I still don't know how I to merge the two files together. In WinMerge, under "Merge" category, I can "Copy Left", "copy right", "copy all left" or "copy all right", but there is no single "Merge" function. Which would I choose?

Thanks a lot,
ipanemasand

6 Jun 2011, 1:39 AM
#23
ipanemasand avatar

ipanemasand

New Zenner

Join Date:
Nov 2010
Posts:
13
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Frank,

I just noticed that the pod is kind of working on the site I'm working on (https://www.hijean.ca/demo). I didn't notice it before but it still shows the product listing, but it just doesn't go into the product info page. But is it possible to restrict even the listing page?

Would you be able to see my current website (https://www.hijean.ca) and see how it was done?

Thanks,
ipanemasand

6 Jun 2011, 9:07 AM
#24
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

ipanemasand:

...Where would I find the conditions 1 or 2? I only saw "Categories Specific Access Restriction" which allows me to input the categories id#. This is where I entered "1,2,3" for the first 3 categories. But I didn't see the conditions 1 or 2 anywhere.

conditions 1 or 2 are found in admin > configuration > customer details > customer shop status (this is a standard ZC feature)

Regarding this website, are you sure this is doing it right? As an unregistered user, I am still able to view all the categories and products within it. Maybe my understanding of what the mod is supposed to do is still off?

You can view the headings and a short description within the listing of this category, but I needed customers to be registered to view the full product descriptions, prices and to be able to add products to the cart - only within this category. It is a requirement by the manufacturer - unfortunately.

ipanemasand:

Frank,

I just noticed that the pod is kind of working on the site I'm working on (https://www.hijean.ca/demo). I didn't notice it before but it still shows the product listing, but it just doesn't go into the product info page. But is it possible to restrict even the listing page?

Would you be able to see my current website (https://www.hijean.ca) and see how it was done?

Had a look at your site but without seeing your file system I could not tell exactly what your developer has done.

Please check your PM

Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

16 Jul 2011, 7:49 PM
#25
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

hello Frank - great mod, I am running 1.3.9 and just going to install your mod as I think its what i'm looking for. Currently I have restrict access to browse and shop until logged in on my site. However on certain categories I want to take a step further and just allow showroom only (opt 3) not sure mod does this as it only seems to mention conditions 1 and 2??:unsure:

17 Jul 2011, 1:37 AM
#26
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

jagall:

hello Frank - great mod, I am running 1.3.9 and just going to install your mod as I think its what i'm looking for. Currently I have restrict access to browse and shop until logged in on my site. However on certain categories I want to take a step further and just allow showroom only (opt 3) not sure mod does this as it only seems to mention conditions 1 and 2??:unsure:

Hi jagall - the mod (as it is published now) does not cater for your requirements (eg showroom for some cats).

Having said that, I believe it can be further developed to do just that.

I had to expand my mod for one of my stores to do 2 things:

  1. some cats are restricted to login for price but descriptions are freely accessible.

  2. some cats are restricted to login to view descriptions, so no product pages are available until the customer is logged in.

Both restrictions are running side by side and can be configured from admin.

I have implemented another variant for a client recently. PM me if you need more info.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2011, 12:00 PM
#27
hausl avatar

hausl

New Zenner

Join Date:
Sep 2011
Posts:
4
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Hi Frank,

Firstly, I would like to thank you for the „Zen-Cart” modification "Category Specific Access Restriction", it looks like this is roughly what I required for my Project.

My Project looks like this: In the shop, products will be offered, however, only certain people will be allowed to buy them. The products should still be visible for all unregistered and registered (but not authorized) people, however the price will not be shown and they will not have the possibility to buy any parts.

That should be possible, or not? I have tried this several times unfortunately without success.

In your instructions, you have mentioned the following two pathes where the files needs to be changed:

includes/modules/YOUR_TEMPLATE/product_listing.php
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

By the file “tpl_product_info_display.php” I understand everything, however the file “product_listing.php”, is directly in the “Modules” File by me, and in this file there is no subordinate File for different Templates.

When the installation is completed, which configurations do I have to meet, so that the shop functions as I mentioned above?

I understand that in the Administration Menu under, Configuration -> Product Info, the respective category has to be put in. However, how the authorization of the specific Users needs to be defined so that they can see all of the products, without seeing the price, and how only released (authorized) Users can order the products, is still unclear to me.

Perhaps you would be able to help me further? Any information you could provide would be greatly appreciated.

Many greetings from Austria,

Martin D.

13 Sep 2011, 1:33 PM
#28
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Firstly, I would like to thank you for the „Zen-Cart” modification "Category Specific Access Restriction", it looks like this is roughly what I required for my Project.

Thanks Martin

My Project looks like this: In the shop, products will be offered, however, only certain people will be allowed to buy them. The products should still be visible for all unregistered and registered (but not authorized) people, however the price will not be shown and they will not have the possibility to buy any parts.

That should be possible, or not? I have tried this several times unfortunately without success.

If all categories are to be treated this way then in Admin > Configuration > Customer Details you would need to set this to "2= May browse but no prices unless logged in"

Here you would also need to set Customer Approval Status - Authorization Pending to "2= May browse but no prices unless Authorized"

If this meets your requirements then this mod would not be required at all.

In your instructions, you have mentioned the following two pathes where the files needs to be changed:

includes/modules/YOUR_TEMPLATE/product_listing.php
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

By the file “tpl_product_info_display.php” I understand everything, however the file “product_listing.php”, is directly in the “Modules” File by me, and in this file there is no subordinate File for different Templates.

You need to copy includes/modules/product_listing.php to includes/modules/YOUR_TEMPLATE/product_listing.php and then make the changes in the copied file

When the installation is completed, which configurations do I have to meet, so that the shop functions as I mentioned above?

I understand that in the Administration Menu under, Configuration -> Product Info, the respective category has to be put in. However, how the authorization of the specific Users needs to be defined so that they can see all of the products, without seeing the price, and how only released (authorized) Users can order the products, is still unclear to me.

The mod, as it stands now, does not cater for category specific authorization. This would require some more changes, don't know if it will be at all possible.....

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2011, 2:35 PM
#29
hausl avatar

hausl

New Zenner

Join Date:
Sep 2011
Posts:
4
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Thank you for your response.

Since my project with this mod, unfortunately, can not be implemented, I have to find another solution, unfortunately.

with friendly greetings, Martin

21 Oct 2011, 10:17 AM
#31
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

withlovestudio:

I posted a thread here:
http://www.zen-cart.com/forum/showthread.php?t=187420

Do you think your mod will work for what I am describing?

Post #3 in your thread answers your question - it should do the trick just fine.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Oct 2011, 5:03 PM
#32
local1970 avatar

local1970

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Another question for you - I use mod FILE LIBRARY and need to restrict accsses to main page of library only for registered clients.
Is there any way to do this ??

Thank you for help!!! :smile:

8 Jan 2012, 3:40 PM
#33
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Hello

I hope someone can help.

I've installed this mod and it works for me.
One problem. It won't redirect to the login page.

Looks like something is wrong with

zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));

in tpl_product_info_display.php

I use 1.3.8a

9 Jan 2012, 3:53 AM
#34
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Datax:

Hello

I hope someone can help.

I've installed this mod and it works for me.
One problem. It won't redirect to the login page.

Looks like something is wrong with

zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));

in tpl_product_info_display.php

I use 1.3.8a

That code is correct.

I have installed this mod on several carts for a number of clients using the mod as it is available from the Free Downloads and did not experience your issue.

BTW: 1.3.8a is well outdated, you may want to consider upgrading to 1.5

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Jan 2012, 7:17 AM
#35
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

My need is exactly the FUNCTION of this add-on but it is needed that Group A sees the category A but not B, C and D. Then Group B sees the category B but not A, C and D etc. Can it be implemented easily?

I may be blond but at least I found Zen.

24 Jan 2012, 11:20 AM
#36
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Just a note to anyone trying to use this mod on zc1.5:

As it stands now, the mod does not work on zc1.5.

I am working on the code to make the mod compatible with zc1.5 and let you when a new version becomes available from the downloads section.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Apr 2012, 10:37 PM
#37
jtaylor42 avatar

jtaylor42

New Zenner

Join Date:
Apr 2012
Posts:
1
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

This is the closest I found to what I need to do but need to take it a step further. Instead of only assigning a category to one customer I need to assign multiple categories to a customer. Also need to make sure there is no way for any customer that doesnt have access to the category to see any of the products/pricing in the category. It appears with this mod that even though the category is hidden from you, you can still search all products and see the products/pricing contained in the category. Any thoughts or ideas how to accomplish this?

Thanks in advance.

16 Aug 2012, 11:22 PM
#38
jar3300 avatar

jar3300

New Zenner

Join Date:
Dec 2005
Posts:
62
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

frank18:

Just a note to anyone trying to use this mod on zc1.5:

As it stands now, the mod does not work on zc1.5.

I am working on the code to make the mod compatible with zc1.5 and let you when a new version becomes available from the downloads section.

I wish I had read this before I set it up. It seems to work part way. There is no way to add the approved customer to give them access.
This is at http://healthworksprofessional.com. Any chance you have a fix?
Thanks
Jim

1 Jan 2013, 2:56 PM
#39
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Hello Frank,

Any change on a working mod for 1.5.1 soon?

Thanx!

2 Apr 2013, 11:10 AM
#40
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Restriction of Product Price Display (OLD v1 mod)

Datax:

Hello Frank,

Any change on a working mod for 1.5.1 soon?

Thanx!

At long last I finally have an extended Beta version of this mod ready for testing.

So - before I submit the new mod to the plugin section, I am inviting a dozen or so beta testers to give it a test run.

I set up a demo site here. The names of the categories and manufacturers will tell you how they have been configured on this demo site.

Feel free to have sneaky - and if you want to install the Beta files on one of your sites (1.5.x only - no 1.3.9h and below sites please!) - please PM me and I send you the link to the Beta zip folder. Due to time restrictions I can only answer your PM's every 12 hours or so - please be patient for an answer - thanks.

Once all the bugs are ironed out I am planning to create a new support thread for this new mod.

At this stage I want to keep the Beta testing running for about 2 weeks from the date of this post before I submit the final version to the devs.

As an aside, special invitation to test this beta is extended to experienced zenners and of course the devs.

Last but not least, please bear in mind that I am not an IT professional......

Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.