Thread: Wishlist

Page 25 of 38 FirstFirst ... 15232425262735 ... LastLast
Results 241 to 250 of 378
  1. #241
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Wishlist

    Quote Originally Posted by blackriver View Post
    Thanks DarkAngel - I reinstalled from original and now working fine - just need to make those edits again - very carefully!
    sometimes just leaving out a } or misspelling a word will kill our stores/sites

  2. #242
    Join Date
    May 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Wishlist

    Just installed this module few days ago. It works great ! Thank you for this contribution!

    There are a few kinks that needed to be worked out. Finally resolved them and here are my solutions in case someone finds this useful.

    1. Problem #1:
    if not logged in, adding an item to wishlist sends you to shopping cart after logging in. There was a solution to ask people to login first, but i did not like that. I found this code to work perfectly well instead:

    PHP Code:
    <!--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 -->
    2. wishlist default template has 'SSL' hard coded which may result in switching to SSL when it's not needed.
    Solution is to find and replace every instance of 'SSL' by $request_type in tpl_wishlist_default.php file .


    3. two calls to zen_href_link function in wishlist default template have a bug in them, which results in "Security Warning" in certain situations.

    in file tpl_wishlist_default.php need to replace the following lines:

    PHP Code:
             <?php echo zen_draw_form('wishlist',  zen_href_link(UN_FILENAME_WISHLIST,  zen_get_all_get_params(array('action'), 'SSL') .  'action=un_update_wishlist')); ?>
    by

    PHP Code:
             <?php echo zen_draw_form('wishlist',  zen_href_link(UN_FILENAME_WISHLIST,  zen_get_all_get_params(array('action')) . 'action=un_update_wishlist',  $request_type)); ?>

    and


    PHP Code:
    echo zen_draw_form('cart_quantity'zen_href_link(UN_FILENAME_WISHLIST,  zen_get_all_get_params(array('action'), 'SSL') . 'action=add_product')); 
    by

    PHP Code:
             echo zen_draw_form('cart_quantity',  zen_href_link(UN_FILENAME_WISHLIST,  zen_get_all_get_params(array('action')) . 'action=add_product',  $request_type)); 

  3. #243
    Join Date
    Apr 2009
    Posts
    80
    Plugin Contributions
    0

    Default Re: Wishlist

    I basically an using the example provided in the download for tpl_product_info_display.php and I get the following error when I click on the add to wishlist to add a product to the wishlist.

    1054 Unknown column 'attributes' in 'field list'
    in:
    [INSERT INTO un_products_to_wishlists ( `products_id`, `un_wishlists_id`, `created`, `modified`, `quantity`, `priority`, `comment`, `attributes` ) VALUES ( '6449', '2', NOW(), NOW(), '1', '2', '', 'a:3:{i:1;s:1:"1";i:2;s:1:"2";i:3;s:1:"3";}' )]


    Please advise, thanks.

  4. #244
    Join Date
    May 2005
    Posts
    535
    Plugin Contributions
    0

    Default Re: Wishlist

    I seem to have the heading on the wishlist page as "Product: Default" not "Wishlist: Default" -

    any reason why this is not recognising the page and using its heading correctly?

  5. #245
    Join Date
    Aug 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: Wishlist

    Does anybody know how I could use the wishlist on the product info page? I would need to have the button just like the "multiple products to cart button" (including attributes). Hope someone can help

    Cheers

  6. #246
    Join Date
    Mar 2012
    Posts
    3
    Plugin Contributions
    0

    Idea or Suggestion Re: Wishlist

    I recently was asked to install Wishlist into Zencart v1.5, and tried some of the solutions in this thread to add item to wishlist from product page using a text link instead of input submit with image. Examples posted did not work for me... so,

    Here is my solution using javascript:

    PHP Code:
    <?php if (UN_MODULE_WISHLISTS_ENABLED) { ?>
          <script type="text/javascript">
          <!--
              function addWishlist(){ var hWish = document.createElement("input"); hWish.setAttribute("type","hidden"); hWish.setAttribute("name","wishlist"); hWish.setAttribute("value","yes"); var cartForm = document.getElementsByName("cart_quantity").item(0); cartForm.appendChild(hWish); cartForm.submit(); }
          //-->
          </script>
          <a href="javascript:addWishlist()"><?php echo UN_BUTTON_WISHLIST_ADD_ALT?></a>
    <?php ?>

  7. #247
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Wishlist

    I was having the same problem many are having. Add to cart button adding product to cart and wishlist button adding product to cart and all the combinations in between described in this thread. I followed all the possibilities and nothing worked until I made a silly change and now it finally works.

    Hope this helps anyone with the same problem.
    tpl_product_info_display.php
    PHP Code:
    <?php echo ('<a href="' zen_href_link(UN_FILENAME_WISHLISTzen_get_all_get_params(array('action''products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '">' zen_image_button(UN_BUTTON_IMAGE_WISHLIST_ADDUN_BUTTON_WISHLIST_ADD_ALT) . '</a>'); ?>
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  8. #248
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Wishlist

    I have it working on 1.5.1 test site but when you press wish list nothing shows up ..
    Will it be make 1.5 compatible

    cheers

  9. #249
    Join Date
    Aug 2007
    Posts
    118
    Plugin Contributions
    0

    Default Re: Wishlist

    Really want (need) to install this with a new v1.5.1 build but it doesn't appear to be compatible/working with Zen-Cart v1.5.1. My list of add-ons to install is vast and I don't want to risk installing this without some certainty that it will work.

    So, if someone has or gets this working with v1.5.1, please post (to let me know) and I will proceed.

    Cheers
    GAM

    ps. Or if anyone knows of an alternative that provides similar functionality and works with 1.5.1, please advise. So far I'm only aware of 'save for later', which is what I will be going with in the meantime (not quite the functionality that I sought though).
    Last edited by GAM; 20 May 2013 at 11:04 PM.

  10. #250
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wishlist

    Quote Originally Posted by GAM View Post
    Really want (need) to install this with a new v1.5.1 build but it doesn't appear to be compatible/working with Zen-Cart v1.5.1. My list of add-ons to install is vast and I don't want to risk installing this without some certainty that it will work.

    So, if someone has or gets this working with v1.5.1, please post (to let me know) and I will proceed.

    Cheers
    GAM

    ps. Or if anyone knows of an alternative that provides similar functionality and works with 1.5.1, please advise. So far I'm only aware of 'save for later', which is what I will be going with in the meantime (not quite the functionality that I sought though).
    Just wanted to post a suggestion here.. Instead of waiting for someone to confirm if this works with v1.5.1, you can (should) setup a test/dev store to do your work.. If you backup EVERYTHING (DB & files) in your test/dev site before you proceed with your installation, and all hell breaks loose, then you can EASILY roll your test/dev store back to the state it was before installing this module..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 25 of 38 FirstFirst ... 15232425262735 ... LastLast

Similar Threads

  1. v151 Wishlist
    By Kevin205 in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2013, 01:45 AM
  2. Wishlist
    By simplemedia in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 20 Apr 2012, 08:40 PM
  3. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  4. 1.5.0 wishlist?
    By trickobrien in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 21 Oct 2011, 07:16 PM
  5. Wishlist
    By Dutchman in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Oct 2007, 02:37 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR