PrestashopUser03 Posted August 16, 2019 Posted August 16, 2019 Bonjour à tous, j'ai ajouté deux colonnes dans la table ps_product: isMotor et isDirect qui ont pour valeur 0 ou 1. Comment les utiliser sur twig? Je les ai déjà ajouté dans la class product.php (public $isMotor; public $isDirect; et 'isMotor'=>array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'isDirect'=>array('type' => self::TYPE_BOOL, 'validate' => 'isBool'). Lorsque j'ajoute {{ isDirect }} sur src/prestashopbundle/resources/views/admin/product/productpage/panels/essentials.html.twig Rien ne s'affihce, quelqu'un saurait pourquoi? Share this post Link to post Share on other sites More sharing options...
PrestashopUser03 Posted August 16, 2019 Posted August 16, 2019 Personne ne sait? Parce que ça me bloque pas mal là. Share this post Link to post Share on other sites More sharing options...
PrestashopUser03 Posted August 19, 2019 Posted August 19, 2019 up Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now