Jump to content

Expanding Webservice Output For Orders


SWN

Recommended Posts

Hi, in order to integrate a third-party service in an older v1.5 PrestaShop, I need to add the 'unit_price_tax_incl' and 'unit_price_tax_excl' fields to the webservice output for orders, in the order_row section, just like it does in the latest version of prestashop.

 

From what I could tell, the only meaningful difference in this regard was that the fields weren't included in the webservice parameter definition in Order.php, but copying them over from latest version caused a weird error in which each field was just included in the output like this, lacking the actual value:

 

<unit_price_tax_incl notFilterable="true"/>

<unit_price_tax_excl notFilterable="true"/>

 

Does anyone know what is causing this, and what else needs to be done to get the fields included in the webservice output

 

Just updating PrestaShop is not an option.

Edited by SWN (see edit history)
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...