Skip to content

Instantly share code, notes, and snippets.

@xcommerce-gists
Last active December 18, 2015 05:49
Show Gist options
  • Save xcommerce-gists/5735814 to your computer and use it in GitHub Desktop.
Save xcommerce-gists/5735814 to your computer and use it in GitHub Desktop.
service_calls.xml for Magento 2
<service_calls>
<service_call name="selectedProductDetails" service="Mage_Catalog_Service_Product" method="item">
<arg name="productId">{{request.params.id}}</arg>
</service_call>
<service_call name="selectedProductOptions" service="Mage_Catalog_Service_Product" method="getOptions">
<arg name="productId">{{request.params.id}}</arg>
</service_call>
<service_call name="relatedProducts" service="Mage_Catalog_Service_Product" method="getRelatedProducts">
<arg name="productId">{{request.params.id}}</arg>
</service_call>
</service_calls>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment