Totally Zenned
- Join Date:
- Oct 2007
- Location:
- Emporia, Kansas
- Posts:
- 1,729
- Plugin Contributions:
- 0
wishlists 0.6
neparker:
When I change the tpl_product_info_display.php for the wislist from
<!--bof Wishlist button --> <!--<br class="clearBoth" /> optional depending where the code is added--> <?php if (UN_MODULE_WISHLISTS_ENABLED) { if ( $_SESSION['customer_id'] ) { echo '<div id="productWishlistLink" class="buttonRow back">'; echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"'); echo '</div>'; <!--eof Wishlist button --> to <!--bof Wishlist button --> <?php if (UN_MODULE_WISHLISTS_ENABLED) { echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, 'products_id=' . (int)$_GET['products_id'] . '&action=wishlist_add_product', 'NONSSL') . '">' . zen_image_button(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"') . '</a>'; } ?> <!--eof Wishlist button -->
question is...why did you change the coding to the one you changed it to...
as it is the original code was not all in your post either...it should have been the part in red was not in your post...maybe it needs to be in the new code you did insert:
<!--bof Wishlist button --> <!--<br class="clearBoth" /> optional depending where the code is added--> <?php if (UN_MODULE_WISHLISTS_ENABLED) { if ( $_SESSION['customer_id'] ) { echo '<div id="productWishlistLink" class="buttonRow back">'; echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"'); echo '</div>'; } else { echo '<div>'; echo UN_BOX_WISHLIST_LOGIN_TEXT; echo '</div>'; } } else {} ?> <!--eof Wishlist button -->