Jump to content

[RESOLUT] récupérer l'id_shop dans la classe category

Recommended Posts

Bonjour à tous.


Je créer un overridre sur la classe category, et j'aurai besoin de récupérer l'id_shop

mais toute mais tentative sont infructeuse

voici ce que j'ai essayé:

            echo "<hr>=".$shop_id;
            echo "<br>=".$id_shop;
            echo "<br>=".$id_shop_default;
            echo "<br>=".$category->id_shop;
            echo "<br>=".$cart->id_shop;
            echo "<br>=".$products->id_shop;


$id_shop = Shop::getContextShopID();

Edited by jd440 (see edit history)
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...