- Posts: 2
COMMUNITY FORUM
Extra fields restrictions
- Mirko
- Topic Author
- Offline
- New Member
Less
More
9 years 2 months ago #142090
by Mirko
Extra fields restrictions was created by Mirko
Hi people,
I'm using K2 to create a products catalog but I have a problem I can't resolve: I need to give the opportunity to joomla users to see only some K2 extra fields depending on the user group they belongs to.
Example: in my Joomla site I have 2 user groups: A & B and 1 product (in k2) which extra fields are: price, color, dimensions. Now, I want that a user logged in my website can see all the extra fields if he belongs to group A and, for example, only the price and color if he belongs to group B.
How can I do to accomplish this ? Is there any K2 extension I can buy to obtain my aim ?
Thanks in advance and sorry for my bad English.
Mirko
I'm using K2 to create a products catalog but I have a problem I can't resolve: I need to give the opportunity to joomla users to see only some K2 extra fields depending on the user group they belongs to.
Example: in my Joomla site I have 2 user groups: A & B and 1 product (in k2) which extra fields are: price, color, dimensions. Now, I want that a user logged in my website can see all the extra fields if he belongs to group A and, for example, only the price and color if he belongs to group B.
How can I do to accomplish this ? Is there any K2 extension I can buy to obtain my aim ?
Thanks in advance and sorry for my bad English.
Mirko
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 2 months ago #142100
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Extra fields restrictions
You can render these extrafields directly in your template.
This post will help you do this: www.joomlaworks.net/forum/k2-en/31801-where-to-edit-k2-after-item-fields
Then by using Joomla!'s user object - docs.joomla.org/Accessing_the_current_user_object you can seperate which fields are intended for guests and which for registered users.
As for an extension I think Akeeba Subscriptions might do the trick.
This post will help you do this: www.joomlaworks.net/forum/k2-en/31801-where-to-edit-k2-after-item-fields
Then by using Joomla!'s user object - docs.joomla.org/Accessing_the_current_user_object you can seperate which fields are intended for guests and which for registered users.
As for an extension I think Akeeba Subscriptions might do the trick.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mirko
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
9 years 2 months ago #142110
by Mirko
Replied by Mirko on topic Extra fields restrictions
Ok.. thank you..I'll do a test
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 2 months ago #142113
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Extra fields restrictions
You 're welcome Mirko :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.