Jump to content
gamdev

adicionar produto na loja X e na Y com webservice

Recommended Posts

Oi,

Eu quero atualizar um produto com webservice.

quando é em uma loja eu posso assim:

 

$webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG);
 
$xml = $webService->get(array('resource' => 'products', 'id' => (int)$id_product));
$resources = $xml -> children() -> children();
 
Mas quero atualizar o mesmo produto na loja x e na loja Y do mesmo prestashop.
 
Como tenho de fazer? como fazo o filtro?
 
Muito obrigada =)
Edited by gamdev (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More