Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I wish to add text to the cart that explains the difference in payment methods when choosing the "Proceed to Checkout" button and the "PayPal checkout buttons".
I would like to add the following text:
If you wish to pay by check, then click the Proceed to Checkout button.
If you wish to pay by credit card or PayPal, click the PayPal Checkout button.
How would I do this?
Thank you as usual and immensely grateful for your help!
Terry
just mucking my way through this stuff...
www.terrygipsonphotography.com
Offline
The only way I can think of is using jQuery via the phplugins ttg_scripts hook.
try this. Put it in a phplugins file associated with the Cart's page template:
function ttg_scripts( $style, $path ) {
echo '
<script>
$("<div class=\'cart-instructions\'><p>Cart Instructions</p></div>").insertBefore("form#cart #cart-buttons");
</script>
';
} //END
It should appear directly above the row of checkout choices
I've added the class "cart-instructions" to the div so you can target it with custom css if needed.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I'll give it a try. Thanks!
just mucking my way through this stuff...
www.terrygipsonphotography.com
Offline
Pages: 1