- Posts: 221
- Thank you received: 8
disable access to product when category disable
9 months 1 week ago #370156
by sadaf3d
disable access to product when category disable was created by sadaf3d
hi.
when we disable category in hikashop , the products which in the category can purchase. how can i disable the product under the category without use mass action?
in the joomla by default when you disable an article category, the articles in that can not accessable and return 404. I need similar that in the hikashop process, but now i test in the hikashop demo and disable all category but user can add product to cart.
(Note: I implement system integrated with hikashop and need do similar this.)
when we disable category in hikashop , the products which in the category can purchase. how can i disable the product under the category without use mass action?
in the joomla by default when you disable an article category, the articles in that can not accessable and return 404. I need similar that in the hikashop process, but now i test in the hikashop demo and disable all category but user can add product to cart.
(Note: I implement system integrated with hikashop and need do similar this.)
Please Log in or Create an account to join the conversation.
9 months 1 week ago #370162
by nicolas
Replied by nicolas on topic disable access to product when category disable
Hi,
I've worked on this today and developed a new plugin for HikaShop to handle this:
www.hikashop.com/marketplace/product/295...ct-access-check.html
I've worked on this today and developed a new plugin for HikaShop to handle this:
www.hikashop.com/marketplace/product/295...ct-access-check.html
Please Log in or Create an account to join the conversation.
9 months 1 week ago #370168
by sadaf3d
Replied by sadaf3d on topic disable access to product when category disable
thank you
are you want to put this in the hikashop core in the next release?
are you want to put this in the hikashop core in the next release?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 415
- Thank you received: 18
9 months 1 week ago #370171
by sudkarting
Replied by sudkarting on topic disable access to product when category disable
Bonjour,
Je l'ai installé et publié mais cela m'empêche de vendre tous les produits (page 404)...même si la catégorie est active. Si je le désactive tout reviens OK.
Bizarre
Je l'ai installé et publié mais cela m'empêche de vendre tous les produits (page 404)...même si la catégorie est active. Si je le désactive tout reviens OK.
Bizarre
Please Log in or Create an account to join the conversation.
9 months 1 week ago #370175
by nicolas
Replied by nicolas on topic disable access to product when category disable
Hi,
@sadaf3d
It won't be included. There are good reasons why we don't do this by default. Products are not like articles. They can be in the cart, they can be linked to several categories, etc.
I can see the use case however, and that's why I've made a plugin for it.
@sudkarting
Je n'arrive pas à reproduire le problème de mon côté. Pourriez-vous faire des captures d'écran des options d'un produit avec le souci et des options d'une de ses catégories valides ?
@sadaf3d
It won't be included. There are good reasons why we don't do this by default. Products are not like articles. They can be in the cart, they can be linked to several categories, etc.
I can see the use case however, and that's why I've made a plugin for it.
@sudkarting
Je n'arrive pas à reproduire le problème de mon côté. Pourriez-vous faire des captures d'écran des options d'un produit avec le souci et des options d'une de ses catégories valides ?
The following user(s) said Thank You: oxido
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 415
- Thank you received: 18
9 months 1 week ago #370182
by sudkarting
Replied by sudkarting on topic disable access to product when category disable
Bonjour,
En fait, si j'active le plugin, j'ai le problème pour TOUS les produits ayant des caractéristiques. Un produit sans caractéristique s'affiche bien sinon page 404...
A suivre.
En fait, si j'active le plugin, j'ai le problème pour TOUS les produits ayant des caractéristiques. Un produit sans caractéristique s'affiche bien sinon page 404...
A suivre.
Please Log in or Create an account to join the conversation.
9 months 1 week ago #370185
by nicolas
Replied by nicolas on topic disable access to product when category disable
Bonjour,
En effet, cela explique le problème. Je testais avec des produits sans variantes, et j'avais oublié de prendre les produits avec variantes en compte dans la première version du plugin.
C'est chose faite. Je viens de publier une nouvelle version du plugin qui rajoute cela:
www.hikashop.com/marketplace/product/295...ct-access-check.html
En effet, cela explique le problème. Je testais avec des produits sans variantes, et j'avais oublié de prendre les produits avec variantes en compte dans la première version du plugin.
C'est chose faite. Je viens de publier une nouvelle version du plugin qui rajoute cela:
www.hikashop.com/marketplace/product/295...ct-access-check.html
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 415
- Thank you received: 18
9 months 4 days ago - 9 months 3 days ago #370218
by sudkarting
Replied by sudkarting on topic disable access to product when category disable
Bonjour,
Suite à la dernière mise à jour d'hier (6.2), tous les produits avec variantes ne peuvent être vendus..."Ajout au panier impossible" alors que les produits sans variantes sont vendables.
Si on désactive le plugin RAS
A voir,
PS : Problème toujours présent dans la 6.3
Suite à la dernière mise à jour d'hier (6.2), tous les produits avec variantes ne peuvent être vendus..."Ajout au panier impossible" alors que les produits sans variantes sont vendables.
Si on désactive le plugin RAS
A voir,
PS : Problème toujours présent dans la 6.3
Last edit: 9 months 3 days ago by sudkarting.
Please Log in or Create an account to join the conversation.
9 months 2 days ago #370251
by nicolas
Replied by nicolas on topic disable access to product when category disable
Bonjour,
Je viens de faire une nouvelle version du plugin pour corriger l'ajout au panier des variantes.
Je viens de faire une nouvelle version du plugin pour corriger l'ajout au panier des variantes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds