Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Foxycart subscriptions
<?xml version="1.0"?>
<transaction_template>
<shipping_total><![CDATA[6.8]]></shipping_total>
<custom_fields/>
<discounts/>
<transaction_details>
<transaction_detail>
<product_name><![CDATA[GOLF Bar - Chocolate Almond]]></product_name>
<product_price><![CDATA[56.95]]></product_price>
<product_quantity><![CDATA[1]]></product_quantity>
<quantity_min><![CDATA[0]]></quantity_min>
<quantity_max><![CDATA[0]]></quantity_max>
<product_weight><![CDATA[10.000]]></product_weight>
<product_code><![CDATA[]]></product_code>
<parent_code><![CDATA[]]></parent_code>
<image><![CDATA[http://www.ebars.com/assets/client_files/images/products/GOLF-ALMOND-mockup-vert.png]]></image>
<url><![CDATA[golf-bar-men]]></url>
<length><![CDATA[0]]></length>
<width><![CDATA[0]]></width>
<height><![CDATA[0]]></height>
<expires><![CDATA[0]]></expires>
<shipto><![CDATA[]]></shipto>
<category_code><![CDATA[DEFAULT]]></category_code>
<transaction_detail_options>
<transaction_detail_option>
<product_option_name><![CDATA[Box_of_30]]></product_option_name>
<product_option_value><![CDATA[Box of 30 with FREE Subscription]]></product_option_value>
<price_mod><![CDATA[0]]></price_mod>
<weight_mod><![CDATA[0.000]]></weight_mod>
</transaction_detail_option>
<transaction_detail_option>
<product_option_name><![CDATA[Payment]]></product_option_name>
<product_option_value><![CDATA[Credit Card]]></product_option_value>
<price_mod><![CDATA[0]]></price_mod>
<weight_mod><![CDATA[0.000]]></weight_mod>
</transaction_detail_option>
</transaction_detail_options>
</transaction_detail>
</transaction_details>
</transaction_template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.