Thread: Wishlist

Results 1 to 10 of 378

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    Quote Originally Posted by rbarbour View Post

    If you already have this plugin installed, just run the Admin Access Control query:
    Code:
    # Register the configuration page for Admin Access Control
    INSERT IGNORE INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order) VALUES ('configZCAWishListModule','BOX_CONFIGURATION_ZCA_WISHLIST','FILENAME_CONFIGURATION',CONCAT('gID=',@cid),'configuration','Y',@cid);
    And re-upload the \admin\includes\extra_datafiles\wishlist_filenames.php

    That's it! good to go for 1.5.x

    New Installs should run the entire wishlist (sql file) and upload all folders and files.

    Folder structure will work in all zc versions. I did not spend much time creating separate folders, sql queries and docs for 1.5.x for my replacement changes all drastically.
    Everything worked after upgrade to 1.5 except for missing Admin view of Wish List. Followed the above instructions with SQL statement of 1 item processed but the admin module is still blank listing Only the header of Title -Value - Option????? This is to turn the module on & off but there still nothing in the Extras to View Customers Wish Lists
    Last edited by Lackew; 17 Jun 2014 at 05:48 PM.
    blessed be the day we make tomorrow a better yesterday

  2. #2
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    Quote Originally Posted by Lackew View Post
    Everything worked after upgrade to 1.5 except for missing Admin view of Wish List. Followed the above instructions with SQL statement of 1 item processed but the admin module is still blank listing Only the header of Title -Value - Option????? This is to turn the module on & off but there still nothing in the Extras to View Customers Wish Lists
    After several weeks on uninstall & Re re reinstalls I got rid of the entire mod since I could not access customers Wish Lists. At least I thought I did. The Wish List Module in Configuration of admin is still listed but still blank when clicked. How do I get rid of in ENTIRELY?????
    blessed be the day we make tomorrow a better yesterday

  3. #3
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Wishlist

    Quote Originally Posted by Lackew View Post
    After several weeks on uninstall & Re re reinstalls I got rid of the entire mod since I could not access customers Wish Lists. At least I thought I did. The Wish List Module in Configuration of admin is still listed but still blank when clicked. How do I get rid of in ENTIRELY?????
    I can't remember if there was any SQL to add so maybe check the read me and see what it says.

    If still showing check for the idea of maybe you uploaded more than 1 of some of the files or put them into the wrong spot. I could not get the editor to show either and found I did just that, dropped a file into the wrong area and missed the folder I wanted it in.



    dlcohenzc




    Has anyone added Wishlist link to product listing page? I would like to add it below Sold Out items. I see the code I need in wishlist_cart_actions.php, and know where to put the link in functions_general.php, but am a bit stumped after that. Would like "which list" link under "sold out" in product listing to add that product to wish list, and hopefully show a nice message that it was added. Anyone done this?



    Have you tried moving that bit of code into different area of the file it goes in to see exactly where it shows. I do not have a sold out button but I put mine down and just above the additional images.

    The readme tells you what file to place it in for the product page and about where but you can still move it around to suit you.

  4. #4
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    I can't remember if there was any SQL to add so maybe check the read me and see what it says.

    If still showing check for the idea of maybe you uploaded more than 1 of some of the files or put them into the wrong spot. I could not get the editor to show either and found I did just that, dropped a file into the wrong area and missed the folder I wanted it in.
    Thank you Dark Angel for your reply....The mod has been removed from the store side which operated properly. The reason I wanted to remove it is because it will not load correctly in admin so I cannot view the customers wish list nor can I enable or disable the mode from admin. It worked wonderful in 1.39 but after upgrade to 1.5 the admin config page is blank and there is nothing in admin Xtras.

    So if you have any ideas of how to get it to load the right way in Admin I would love to keep the mod. It is very helpful with sending customers suggestions for similar or alternative products!!!!
    blessed be the day we make tomorrow a better yesterday

  5. #5
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    It worked wonderful in 1.39 but after upgrade to 1.5 the admin config page is blank and there is nothing in admin extras.
    To clarify: even after uninstall the Wish List Module link shows altho the page is blank like it was when it was installed!!!
    blessed be the day we make tomorrow a better yesterday

  6. #6
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Wishlist

    Quote Originally Posted by Lackew View Post
    To clarify: even after uninstall the Wish List Module link shows altho the page is blank like it was when it was installed!!!
    The last time this happened to me with a mod was when I did not get everything uploaded correctly, did not install the SQL right or files were chmodded with wrong permissions or corrupted on upload.

    I would suggest that you upload all the files again by manually highlighting a few at a time in the zip then uploading to the proper folders. Run the SQL to make sure they get "seen". Then clear the cache for your browser/quit the browser and come back to the store.

    Check to see if the mod is showing like it should.

    depending on the last version you had you might have had to remove all files for it to start with. There are quite a few files in the read me that should have been deleted from the server too, did you by chance do them. I always take out all files from a mod even if I am just updating the files.

    In configuration or is it modules, somewhare there is the area to turn it on too. this is sometimes overlooked.

    Hopefullly that helps....a little

  7. #7
    Join Date
    Sep 2011
    Posts
    21
    Plugin Contributions
    0

    Default Re: Wishlist

    A reply to my own post about adding wish list link to product listing page. I was able to do this via AJAX: a link underneath 'sold out' items calls the wishlist AJAX module I wrote to add the product to wishlist, and to show confirmation box. The code that calls it is in includes/functions/functions_general.php zen_get_buy_now_button, in 'case' for sold out:
    Code:
        	if (UN_MODULE_WISHLISTS_ENABLED) { 
              if ($_SESSION['customer_id']) {
                $return_button .= "<br /><a href='javascript:AddToWishlist($product_id);'>add to wish list</a>";
              }
            }
    also added to templates/tpl_modules_product_listing.php, at end - assumes you have jquery in /ajax dir:
    Code:
    <script language="javascript">
    if (!window.jQuery) 
    {
      var jq = document.createElement('script'); jq.type = 'text/javascript';
      // Path to jquery.js file, eg. Google hosted version
      jq.src = '/ajax/jquery.js';
      document.getElementsByTagName('head')[0].appendChild(jq);
    }
    function AddToWishlist(product_id)
    {
      var url = '/wishlist_ajax.php' + '?nocache=' + new Date().getTime() + '&product_id=' + product_id;
      $.get(url,'',AddToWishlistDone);
    }
    function AddToWishlistDone(data,status)
    {
      alert(data);
    }
    </script>
    Finally, this is the simple wishlist_ajax.php file in store home directory:
    Code:
    <?php
    require('includes/application_top.php');
    if (!$_SESSION['customer_id'])
    {
      echo "Please login.";
      exit;
    }
    if (!isset($_GET['product_id']))
    {
      echo "Invalid product.";
      exit;
    }
    $product_id = (int)$_GET['product_id'];
    if (!$product_id)
    {
      echo "Invalid product.";
      exit;
    }
    $data = $db->Execute("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = 1" );
    $product_name = $data->fields['products_name'];
    require_once(DIR_WS_CLASSES . 'wishlist_class.php');
    $oWishlist = new un_wishlist($_SESSION['customer_id']);
    $oWishlist->addProduct($product_id, array());
    echo "$product_name added to Wish List";
    ?>
    Pretty simple, works great. In action: www.capriflavors.com

  8. #8
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    Unfortunately Dark Angel I have attempted to uninstall several times deleting all files running SQL then using Dev Tool to query wish, wishlist & un_wish with nothing found (except in product template & english files). Cleared cache then logged in on IE, Chrome, Firefox, my tablet, & 2 cell phones.

    One would think if it was installed incorrectly the customer side would not be operational but it was, but in Admin, Config, Wishlist the page was formatted but no defines & absolutely nothing in Admin, Extras where I could once view customers Wish List. See pic Click image for larger version. 

Name:	cart.gif 
Views:	251 
Size:	12.8 KB 
ID:	14284 the path shows http://domain.com/admin/configuration.php?gID=41
    blessed be the day we make tomorrow a better yesterday

 

 

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

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