Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Here is another example of adding a hidden parameter to a buy form in order to show a different theme:

Code Block
theme
themeDJango
languagexml
DJangolinenumberstrue
<form action="https://secure.ultracart.com/cgi-bin/UCEditor" method="post" onsubmit="return validate()">

<input type="hidden" name="merchantId" value="DEMO" />
<input type="hidden" name="add" value="TSHIRT" />
<input type="hidden" name="ShippingCheapestMethod" value="true" />
<input type="hidden" name="BillingSameAsShipping" value="true" />
<input type="hidden" name="ClearCart" value="true" />
<input type="hidden" name="ThemeCode" value="2NDTHEME" />
<input type="hidden" name="ImmediateThirdPartyHandoff" value="true" />
<input type="hidden" name="BillingCountry" value="United States" />
<input type="hidden" name="ShippingCountry" value="United States" />

... additional input elements below...