rladams1070 Posted July 4, 2023 Share Posted July 4, 2023 I have a python script that creates products through the api. I can see the product in the list of products in the admin area, but when I try to preview it I get an error saying You do not have access to this product. What would cause this? Link to comment Share on other sites More sharing options...
ps8modules Posted July 5, 2023 Share Posted July 5, 2023 Hi. Is the product in the right category? Is the default category set correctly? Is the category in which the product is placed allowed? Does the user group have access to the default product category? Is the SEO URL for the product set correctly? Is there a duplicate URL with another product? There are a lot of questions here, it would be easier if you gave us more information. Was the debugging mode turned on? Link to comment Share on other sites More sharing options...
rladams1070 Posted July 5, 2023 Author Share Posted July 5, 2023 Sorry for not giving you more info, but I figured out the problem from the questions you asked. i was not setting the categories correctly. Thanks for your help 1 Link to comment Share on other sites More sharing options...
ps8modules Posted July 6, 2023 Share Posted July 6, 2023 Hi. I'm glad you found the error according to the questions 😉 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now