Hi
I need help. I've tried but obviously don't know what I'm doing. I'm using CSS Buttons and want the Save For Later button on the Product Info page to display the same as the other CSS buttons i.e., same appearance as the 'Add to cart' button.
By following and manipulating the code for a 'submit' button, I've got it looking right but it is not functioning correctly i.e., it is 'adding to cart' and not adding to 'save for later'.
Save for later button code:
Code:
<!-- bof save for later -->
<?php
if (isset($_SESSION['customer_id']) && $_SESSION['customer_id'] != '') {
echo "<br /><br />";
echo '<input type="submit" value="' . BUTTON_SAVE_FOR_LATER_ALT . '" name="sfl" />';
}
?>
<!-- eof save for later -->
My non-working code attempt:
Code:
<!-- bof save for later -->
<?php
if (isset($_SESSION['customer_id']) && $_SESSION['customer_id'] != '') {
echo " ";
echo zen_image_submit(BUTTON_IMAGE_SAVE_FOR_LATER, BUTTON_SAVE_FOR_LATER_ALT);
}
?>
<!-- eof save for later -->
I'm assuming that there is a value that needs to be specified to get the 'save for later' function instead of the 'add to cart' function, but I don't how or where this might be specified.
Appreciate any assistance.
Cheers
GAM
Bookmarks