Last active
December 20, 2015 16:49
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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