Jump to content

Product creatiion web service Unit_Price_Ration has not effect


JCV

Recommended Posts

  •  

Hello / Bonjour,

J'envoie par web service mes produits depuis mon ERP. Dans le fichier XML je précise l'unité et le ratio. A la création l'info n'a visiblement pas d'impact car le prix à l'unité reste à 0. Si je renvoie l'article (modif) le prix se calcule correctement.

I use webservice to send my products from my erp to PS 1.7.2.4. Unit and Unit_Price_Ratio are specified. When I send for the first time, the product is created but the ratio is not used because the unit price stay at 0. When I send a modification, the price then is calculated. I need to send 2 times my product to be well configurated.

 

At the creation :

image.png.38707423102492db86faed5960539fb4.png

Answer :

image.png.c643d13c8cd23e4807081f688ceb40d1.png

Result :

image.png.c09f8ad21bab1735f7785aa0f37a2438.png

 

When i resend the product (modif) :

image.png.9a65d5588d507658b6357fe615bba42c.png

Answer :

image.png.23592c10ac483540e61b8c18ad68fde3.png

Result :

image.png.a2d50de7d778caa7525b636010b1c605.png

 

Any idea ? une idée ?

 

J'ai également vu que le flag on_sale activait le drapeau PROMO. Curieux ??

I also see that on_sale enable PROMO flag. Curious ?

 

JC

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