disable access to product when category disable

  • Posts: 220
  • Thank you received: 8
2 weeks 12 hours ago #370156

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.)

Please Log in or Create an account to join the conversation.

  • Posts: 85055
  • Thank you received: 13871
  • MODERATOR
1 week 6 days ago #370162

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

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 8
1 week 6 days ago #370168

thank you
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.

  • Posts: 330
  • Thank you received: 12
  • Hikaserial Standard
1 week 6 days ago #370171

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

Please Log in or Create an account to join the conversation.

  • Posts: 85055
  • Thank you received: 13871
  • MODERATOR
1 week 6 days ago #370175

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 ?

The following user(s) said Thank You: oxido

Please Log in or Create an account to join the conversation.

  • Posts: 330
  • Thank you received: 12
  • Hikaserial Standard
1 week 5 days ago #370182

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.

Please Log in or Create an account to join the conversation.

  • Posts: 85055
  • Thank you received: 13871
  • MODERATOR
1 week 5 days ago #370185

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

Please Log in or Create an account to join the conversation.

  • Posts: 330
  • Thank you received: 12
  • Hikaserial Standard
1 week 2 days ago #370218

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

Last edit: 1 week 1 day ago by sudkarting.

Please Log in or Create an account to join the conversation.

  • Posts: 85055
  • Thank you received: 13871
  • MODERATOR
1 week 7 hours ago #370251

Bonjour,

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.085 seconds
Powered by Kunena Forum