Jump to content

"vous n'avez pas acces a ce produit"


Recommended Posts

Bonjour,

j'ai installé PRESTASHOP j'ai ajouté un article dans la boutique pour tester, mais quand je visite la boutique et que je clique sur 1 article j'ai ce message :

Il y a 1 erreur :
1. vous n'avez pas accès à ce produit


Et je n'arrive donc pas à accéder à la fiche du produit...
Link to comment
Share on other sites

Bonjour

Vérifier tout d'(abord dans le back office si l'article est bien enregistré, si l'url rewriting est activé (voir aussi fichier .hyaccess), et dans la partie seo s'il y a bien le nom du fichier.

Où tout simplement le supprimer et le recréer si ce n'est que ce produit.

Link to comment
Share on other sites

I apologize but I do not write french.

I had the same problem. This is related to group permissions.

Go to Admin > Customers > Groups, and set all customers to the group.

You can also do this in the database in "ps_groups. Normaly will be the group 1 for all customers.

Link to comment
Share on other sites

  • 2 years later...

Bonjour,

 

j'ai installé PRESTASHOP j'ai ajouté un article dans la boutique pour tester, mais quand je visite la boutique et que je clique sur 1 article j'ai ce message :

 

 

 

Et je n'arrive donc pas à accéder à la fiche du produit...

 

Ce souci pour ma part venait de l'id client non définie (cochez au moins une case dans le backoffice _clients_groupe clients_ défault)

Link to comment
Share on other sites

  • 6 months later...
  • 2 weeks later...
  • 2 years later...

Si comme moi vous avez importé vos clients d'une précédente version, il faut trouver tous les clients concernés :


SELECT id_customer FROM `presta_customer` where id_customer not in (select id_customer FROM `presta_customer_group`)

Puis exporter et les insérer

INSERT INTO `Mabase`.`presta_customer_group` (`id_customer`, `id_group`) VALUES ('94', '3'), ….. ('165', '3');

Avec la bonne requête il doit y avoir moyen d'aller plus vite...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...