Jump to content

PS 1.7. Wbeservice adding product. Does not display the product.


p.Góra

Recommended Posts

Hi I have such a problem. I am adding a product using api webservice from an external application. The product is added and I can see that there is a new record in the database. However, it is not visible under PS17. On the list of products in BO, I have something like the attached picture. Fragment of the code adding the product:

                $productFields->price = number_format($product->getFinalPrice(), 6, '.', '');
                $productFields->qty = 9999;
                $productFields->minimal_quantity = 1;
                $productFields->id_category_default = $categoryId;
                $productFields->name->language[0] = $product->getName();
                $productFields->id_shop_default = 1;
                $productFields->show_price = 1;

 

Przechwytywanie zawartości sieci Web_25-10-2022_15240_monochrome.netteria.net.jpeg

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