Results 1 to 10 of 312

Hybrid View

  1. #1
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    untitled:

    I have another question if that's okay.

    I have added "Add To My Wishlist" at the bottom of each product page but instead of a link I would like it be that gray box like you had on the first distribution. It use to show up on the side. I tried looking through the files and got lost. . I don't want a sidebox. I hope I explained it ok.

  2. #2
    Join Date
    Feb 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by Linux View Post
    I have added "Add To My Wishlist" at the bottom of each product page but instead of a link I would like it be that gray box like you had on the first distribution. It use to show up on the side. I tried looking through the files and got lost. . I don't want a sidebox. I hope I explained it ok.
    Sounds like you want a "form button", as is used in the sidebox. That would require a little more effort. I'd recommend simply "styling" the link as desired. For example:

    Code:
    <?php 
    // (un): start wishlist link
    echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '" style="background:#ccc; padding: 5px;">' . UN_TEXT_ADD_WISHLIST . '</a>'; 
    // (un): end wishlist link
    ?>
    Notice I added some CSS to the <a> element via the "style" attribute. You can use inline style definitions like this or external style sheets to control the appearance of any link. You might want to check out the following site for more info: http://www.w3schools.com/css/css_intro.asp

    Another option is to create an image. Replace "UN_TEXT_ADD_WISHLIST" with your image tag and you have complete control over the appearance of the "link".

  3. #3
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    I add this to tpl_product_info_display.php

    <?php
    // (un): start wishlist link
    echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '">' . zen_image_button(UN_TEXT_ADD_WISHLIST) . '</a>';
    // (un): end wishlist link
    ?>


    and nothing is showing up.


    sorry for all the questions.

  4. #4
    Join Date
    Feb 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by Linux View Post
    I add this to tpl_product_info_display.php <snip> and nothing is showing up.
    You'll have to do some personal troubleshooting to determine where it's failing (because it's specific to your implementation). A very simple test would be to add the following code to the file:

    Code:
    <?php echo 'THIS IS A TEST'; ?>
    If that works, go from there... start adding more of the "link" code... what's not showing up...

  5. #5
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    customer issue Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by untitled View Post
    You'll have to do some personal troubleshooting to determine where it's failing (because it's specific to your implementation). A very simple test would be to add the following code to the file:

    Code:
    <?php echo 'THIS IS A TEST'; ?>
    If that works, go from there... start adding more of the "link" code... what's not showing up...
    Untitled: Please forgive me as you completely misunderstood me. My site is fine I meant the Wishlist image or link is not showing up under the product page. Just for the record, I used your original Wishlist and it seemed to have worked fine I have no idea why this one is giving me a hard time :) Oh well, going to keep trying. Thanks again.

  6. #6
    Join Date
    Feb 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by Linux View Post
    My site is fine I meant the Wishlist image or link is not showing up under the product page.
    Do the test. Does it show up? If yes, then put a link in there. If no, then you probably placed the code in the wrong place on the product page. See what I what mean?...

  7. #7
    Join Date
    Jul 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by untitled View Post
    Sounds like you want a "form button", as is used in the sidebox. That would require a little more effort. I'd recommend simply "styling" the link as desired. For example:

    Code:
    <?php 
    // (un): start wishlist link
    echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '" style="background:#ccc; padding: 5px;">' . UN_TEXT_ADD_WISHLIST . '</a>'; 
    // (un): end wishlist link
    ?>
    Notice I added some CSS to the <a> element via the "style" attribute. You can use inline style definitions like this or external style sheets to control the appearance of any link. You might want to check out the following site for more info: http://www.w3schools.com/css/css_intro.asp

    Another option is to create an image. Replace "UN_TEXT_ADD_WISHLIST" with your image tag and you have complete control over the appearance of the "link".
    good,Your very good example ah helpful!

 

 

Similar Threads

  1. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  2. 1.3 Compatible Contributions
    By borzoid in forum All Other Contributions/Addons
    Replies: 83
    Last Post: 26 Apr 2009, 11:50 PM
  3. MZMT compatible?
    By robeartoesart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Oct 2006, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg