agarmur Posted December 1, 2022 Share Posted December 1, 2022 Hello, I try to add a feature on a product with a webservice, but I have a problem, the function addFeaturesCustomToDB or addFeaturesToDB do not work. Let me explain: Here is the idea of my code: $product = new Product(); $product->name = "test"; $product->price = 12; $product->addFeaturesCustomToDB(12,(int)Configurateur::get('PS_LANG_DEFAULT'), "testFeature"); then i go to the backoffice of prestashop, and my product does not a features : Link to comment 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