Skip Navigation

[Resolved] I can not edit product variations

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 12 replies, has 2 voices.

Last updated by kennethK-2 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#2103093

Hi,

I have a multilingual shop where one country should only have admin access to edit pages and items in their language. This works really well with your plugin. But there is one problem.: The user can not edit product variations in WooCommerce. Everything else works: hidden link

What am I missing?

#2103179

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

Thank you for getting in touch.

I'm assuming you're using our Access plugin to do the restrictions based on the user roles that are named based on the countries correct?

Not quite sure I understand the full context of the setup. Also if you're using Access to do the restrictions does the same problem occur after access has been disabled ?

Please let me know so that I can understand a little better on how or why the issue occurs.

Thanks,
Shane

#2103591

Hi Shane,

Yes, i am using the Access plugin, more specifically WPML Groups: hidden link

This is working very well..! Only problem is that the user can't manage or edit product variations. Everyting else is editable.

#2103919

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

Thank you for the screenshot.

Would you mind allowing me to have admin access to the site so that I can have a more detailed look a at this for you ?

I may need to grab a copy of the site as well.

I've enabled the private fields for your next response.

Thanks,
Shane

#2104921

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2021-07-02 at 9.46.44 AM.png

Hi Kenneth,

I took a look at this for you and found that i was able to edit the variations, See Screenshot

So i'm not seeing any issues here.

Thanks,
Shane

#2106297

Hi Shane,

You need to login login with the Dutch user. It is the user with speical language access. Your login has administrator access, so you can access everything. Please login with Dutch user. Credentials are shared in same message.

#2106807

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

Thank you for the instruction.

The problem is the user role. Subscriber roles won't alloy you to edit the product. You will perhaps need to update the user's role to an Editor or create a custom role that copied the editor permissions and then restrict this new role accordingly.

I've tested it with a higher role and the user was able to edit the product without any issues.

Thanks,
Shane

#2106829

Okay.. Here is the case: I need a user that can manage, create, edit and delete pages, products and orders, but only on Dutch language. The user should not be able to manage other languages. There is four languages on the site: Danish, Norwegian, German and Dutch.

How do I achieve this? Please take a look again... I have almost achieved what I want. The Dutch user can edit products: hidden link but the user can't edit variables.

Please read what I want to do and login with the Dutch user and test for your self.

Thanks.

#2106931

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

I did some further digging and was able to understand the issue.

I'm currently in the process of trying to replicate the issue on a test site to provide to our 2nd tier team for further debugging.

Thanks,
Shane

#2106965

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

I believe i've found the issue. The subscriber permission is too low to manage some of the Woocommerce options and as such you'll need to assign the user a higher role such as the Shop Manager.

What you can do is to create a new role and copy the permissions from the Shop Manager role and then edit the role itself to remove the permissions that are not needed.

I went ahead and setup this for you. Please login with the holland user and let me know if you're able to edit the variations.

Thanks,
Shane

#2107255

Hi Shane,

Thanks alot! Hope we can find a solution 🙂

#2107639

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenneth,

I actually posted the solution to this in my response below.
https://toolset.com/forums/topic/i-can-not-edit-product-variations/#post-2106965

If you log in with the Holland user you will now see that the user is able to edit the product variations only in Dutch.

Thanks,
Shane

#2108159

My issue is resolved now. Thank you!