leonardomarinio Posted December 12, 2023 Share Posted December 12, 2023 I try to send via webservice in presashop 1.7.8 php 7.4 the product combinations, they are already created correctly, but when I send the association as indicated in combinations https://devdocs.prestashop-project.org/1.7/webservice/resources/combinations / Sending the following xml (using the prestapyt directory) <prestashop xmlns:xlink='http://www.w3.org/1999/xlink'> <combination> <id_product>3666</id_product> <location></location> <ean13></ean13> <isbn></isbn> <upc></upc> <mpn></mpn> <quantity>1300</quantity> <reference></reference> <supplier_reference></supplier_reference> <wholesale_price></wholesale_price> <price></price> <ecotax></ecotax> <weight></weight> <unit_price_impact></unit_price_impact> <minimal_quantity>1</minimal_quantity> <low_stock_threshold></low_stock_threshold> <low_stock_alert></low_stock_alert> <default_on></default_on> <available_date></available_date> <associations> <product_option_values> <product_option_value> <id>5550</id> <id>5496</id> <id>5959</id> <id>6087</id> </product_option_value> </product_option_values> </associations> </combination> </prestashop> I can't find where the error could be since it doesn't return an error but it creates a single combination with the first id indicated. What are we doing wrong? 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