New Zenner
- Join Date:
- Sep 2011
- Posts:
- 31
- Plugin Contributions:
- 0
Post #1 by wartht
im trying to put in an international checkout option. useing...international checkout.... anyway im having a hard time finding which file to put the code the gave me in.
this is the code:
<form name="icForm" id="icForm" method="post" action="https://www.internationalcheckout.com/cart.php"> <?php for($i = 1; $i <= TOTAL ITEMS IN YOUR CART; $i++) { ?> <input type="hidden" name="ItemDescription<?php echo $i?>" value="ITEM DESCRIPTION"> <input type="hidden" name="ItemSKU<?php echo $i?>" value="ITEM CODE VALUE"> <input type="hidden" name="ItemSize<?php echo $i?>" value="ITEM SIZE"> <input type="hidden" name="ItemColor<?php echo $i?>" value="ITEM COLOR"> <input type="hidden" name="ItemQuantity<?php echo $i?>" value="ITEM QUANTITY"> <input type="hidden" name="ItemPrice<?php echo $i?>" value="ITEM PRICE"> <input type="hidden" name="ItemDiscount<?php echo $i?>" value="ITEM DISCOUNT"> <input type="hidden" name="ItemImage<?php echo $i?>" value="https://www.abc.com/images/itemimage.jpg"> <input type="hidden" name="ImgHeight<?php echo $i?>" value="ITEM’S IMAGE HEIGHT"> <input type="hidden" name="ImgWidth<?php echo $i?>" value="ITEM’S IMAGE WIDTH"> <? } ?> <input type="hidden" name="Discount" value="ORDER’S DISCOUNTED VALUE"> <input type="hidden" name="p" value="test"> </form> <script>document.getElementById('icForm').submit();</script>i still have to add my "p"value but other than that i need to just put it in the file so it can be used.
any idea if im right about this or which file to put it in?