Hello
Everything was OK with Phocacart, it was working without problem but a new problem happens now
When I test to add a product to my basket I have a poup answering : "Error, Product not added to cart. You do not have the right to order this product".
And when I check the basket, the answer is "no product in your basket" !!
I add that the stock of the product is 10, so not out of stock
If anybody has a solution ?
Thank you in advance
enable to add product to basket
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
Sorry to up my topic but anyone has a solution ?
Because I have another problem, the buttons +1 and -1 buttons do not work. The figure (and the number of articles) do not add or remove one article !!
I become to be completely lost !
Because I have another problem, the buttons +1 and -1 buttons do not work. The figure (and the number of articles) do not add or remove one article !!
I become to be completely lost !
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
To add information, I saw a error message on console saying :
Uncought TypeError : j is not a function
at n.value (content.js:1.143768)
at content.js:1.132176
Anybody understand how to fix that error ?
Thanks in advance for your help
Uncought TypeError : j is not a function
at n.value (content.js:1.143768)
at content.js:1.132176
Anybody understand how to fix that error ?
Thanks in advance for your help
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
for info my parameters are :
php Version : 8.1 (+ PHP Boost)
joomla Version : 4.4.1
Phocacart Version : 4.0.10
php Version : 8.1 (+ PHP Boost)
joomla Version : 4.4.1
Phocacart Version : 4.0.10
- Jan
- Phoca Hero
- Posts: 48396
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: enable to add product to basket
Hi,
1) "Error, Product not added to cart. You do not have the right to order this product" - check access rights to the product, check if the product can be sell the the customer group, you are, etc.
2) Do you have a link to the website, to see from which part the JS error comes. Yes, when there is Javascript error on your site, it can prevent then all other Javascript scripts from running successfully, so the error needs to be fixed.
Jan
1) "Error, Product not added to cart. You do not have the right to order this product" - check access rights to the product, check if the product can be sell the the customer group, you are, etc.
2) Do you have a link to the website, to see from which part the JS error comes. Yes, when there is Javascript error on your site, it can prevent then all other Javascript scripts from running successfully, so the error needs to be fixed.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
Hi Jan
Thanks for your answer and your help,
Yes all products and categories have public access in general options
Here is the link to the shop :
https://www.johaneblanc-ceramics.com/boutique-phocacart
You'll see that after choosing a product, you'll reach the detail of the product and when you try to click on buttton "ajouter au panier" (add to cart), you get the popup warning "Produit non ajouté au panier" (product no added to basket) and "Produit non trouvé" (product not found)
And also the two buttons + and - (to add or remove one item) are not working
Thank you very very much if you can help me to solve that big problem
Thanks for your answer and your help,
Yes all products and categories have public access in general options
Here is the link to the shop :
https://www.johaneblanc-ceramics.com/boutique-phocacart
You'll see that after choosing a product, you'll reach the detail of the product and when you try to click on buttton "ajouter au panier" (add to cart), you get the popup warning "Produit non ajouté au panier" (product no added to basket) and "Produit non trouvé" (product not found)
And also the two buttons + and - (to add or remove one item) are not working
Thank you very very much if you can help me to solve that big problem
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
Finally, I found a rough solution !!!
I desintalled all the component and plug ins and re-installed the whole package from the beginning.
I'll hope it will work now !
I'll let you know
I desintalled all the component and plug ins and re-installed the whole package from the beginning.
I'll hope it will work now !
I'll let you know
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
Unfortunately still not working
Again thé samedi error : "you're not allowed to Add product in your basket", Carte empty
Anyway solution
Again thé samedi error : "you're not allowed to Add product in your basket", Carte empty
Anyway solution
-
- Phoca Member
- Posts: 21
- Joined: 14 Dec 2023, 16:48
Re: enable to add product to basket
Unfortunately still not working
Again the same error : "you're not allowed to Add product in your basket", Cart empty
Any solution ?
Again the same error : "you're not allowed to Add product in your basket", Cart empty
Any solution ?
- Jan
- Phoca Hero
- Posts: 48396
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: enable to add product to basket
Hi, I don't see Phoca Cart products page on the site?
Can you switch to English language (for test only) and copy the exact error message you get there.
There can be a lot of reasons why products cannot be added to cart:
- not accessible
- only assigned to some groups
- not on stock
- price on demand products, etc. etc.
Jan
Can you switch to English language (for test only) and copy the exact error message you get there.
There can be a lot of reasons why products cannot be added to cart:
- not accessible
- only assigned to some groups
- not on stock
- price on demand products, etc. etc.
Jan
If you find Phoca extensions useful, please support the project