I've got this far with this custom field but am stumped by this if statement
vAmount = Data.Web_price
vItemNo = Data.Stock_no
vItemName = Data.Description
vShipping = Data.Shipping
if vshipping = 0 then
In this spot i need it to be an email link to [email protected] as a hyperlink behind the words "Get freight Quote"
else
lst = <<%html%
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="item_name" value="{vItemName}">
<input type="hidden" name="item_number" value="{vItemNo}">
<input type="hidden" name="amount" value="{vAmount}">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="shipping" value="{vShipping}">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_SM.gif:NonHostedGuest">
<input type="image" src="https://www.paypal.com/en_AU/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
%html%
lst = evaluate_string(lst)
Buy_now_render = (lst)
end if
I'm not sure how to get the red bit into html or xbasic code
Eric
vAmount = Data.Web_price
vItemNo = Data.Stock_no
vItemName = Data.Description
vShipping = Data.Shipping
if vshipping = 0 then
In this spot i need it to be an email link to [email protected] as a hyperlink behind the words "Get freight Quote"
else
lst = <<%html%
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="item_name" value="{vItemName}">
<input type="hidden" name="item_number" value="{vItemNo}">
<input type="hidden" name="amount" value="{vAmount}">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="shipping" value="{vShipping}">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_SM.gif:NonHostedGuest">
<input type="image" src="https://www.paypal.com/en_AU/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
%html%
lst = evaluate_string(lst)
Buy_now_render = (lst)
end if
I'm not sure how to get the red bit into html or xbasic code
Eric
Comment