Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Turn text link into button

Turn text link into button

Locked

Views: 1,555

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
14 May 2007, 10:03 PM
#1
vatel avatar

vatel

New Zenner

Join Date:
Mar 2007
Posts:
13
Plugin Contributions:
0

Turn text link into button

Hello,

I am not exactly a php guru, so something banal in HTML becomes a complicated matter for me when php is involved :frusty:

I am trying to change this:

<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>

into a form button that says "Checkout"

and this:

<div class="buttonRow center"><?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_SHIPPING_ESTIMATOR) . '\')">' . zen_image_button(BUTTON_IMAGE_SHIPPING_ESTIMATOR, BUTTON_SHIPPING_ESTIMATOR_ALT) . '</a>'; ?></div>

into a form button that says "Shipping Estimator".

Any suggestion?
Thanks in advance