Skip to content

Instantly share code, notes, and snippets.

@xcommerce-gists
Last active December 20, 2015 16:49
Show Gist options
  • Save xcommerce-gists/6164702 to your computer and use it in GitHub Desktop.
Save xcommerce-gists/6164702 to your computer and use it in GitHub Desktop.
service_calls.xml - Example 2 showing data and request in the same arg
<service_calls>
<service_call name="searchOptimizedProduct" class="Mage_Seo_Model_Product" method="findByAlias">
<arg name="alias">product_id_{{request.params.id}}_sku_{{data.selectedProduct.sku}}</arg><!-- gets a product alias similar to product_id_0_sku_iphone5345673563 -->
</service_call>
<service_calls>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment