Thread: Wishlist

Page 33 of 38 FirstFirst ... 233132333435 ... LastLast
Results 321 to 330 of 378
  1. #321
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Wishlist

    OK, this was buggin me so I played with the code---as many of you know I do not code I edit fairly well with help...LOL

    but I managed to do this to the code from the readme file. perhaps it can be added to the readme or the text in the download area for others with 1.3.9h stores. I know that things go forward but when there is no need to the added security (for the stores without the use of paying with cash,check or moneyorder via store) and only using paypal we don't need 1.5+...yet

    This is what I did, unfortunately though.....IF CSS buttons in layout settings is set to yes---it will not work and the original code will not only send both wishlist and add to cart to shopping cart for 1.3.9h and using either wishlist .09 and .09a I have no clue if there are others with lower cart versions, theirs might still behave.

    this what I did---But it works only if CSS buttons is set to NO:

    moved to after <!--eof line: <!--<br class="clearBoth" />
    removed this totally: optional depending where the code is added-->

    Code:
    <!--bof Wishlist button -->
    
    <?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 -->
    
    <!--<br class="clearBoth" />

    Now they go to their respective areas. You still only see the message that it was successful, it does not show you our wishlist like before, no idea why, it just refreshes the page with the message topside.

    my button got smaller and no clue how to make it look bigger but will keep hacking away at the problem...LOL

    but I am happy so far...LOL

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

    Default Re: Wishlist

    Glad to hear to got it partially working DarkAngel!

    So I gather it isnt not showing in your admin either? If it is you can send customers to the list by changing the admin setting. If not run the SQL

    INSERT INTO configuration VALUES (NULL, 'Wishlist show list after product addition', 'DISPLAY_WISHLIST', 'true', 'Set this option true or false to show the wishlist after a product was added to the wishlist', @t4, 715, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
    to trigger the switch internally. The Original SQL has it set to false triggering the Message only.

    I am still trying to figure out why only half of the mod is showing in admin
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    Thank you kind sir, now it goes to the wishlist once it is added in there and no message stack showing since this is set to yes now.

    when you ran the SQL did you remember to take the # off of this:

    # 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_CONFIGURAT ION',CONCAT('gID=',@cid),'configuration','Y',@cid);
    Last edited by DarkAngel; 22 Jul 2014 at 05:03 AM.

  4. #324
    Join Date
    Apr 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Wishlist

    If this helps anyone, when I installed the wishlist there was no link in admin to see wishlists so I used the information here: http://www.zen-cart.com/content.php?...e-v1-5-0-admin and used the bottom part: Access Management->Admin Page Registration tool. It's for 1.5.0 and up though.

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

    Default Re: Wishlist

    Hi Opal,

    I think his problem is not that it does not show in admin under extras....but that the link is there but it just won't cough up the contents...you see the table headers but there is nothing showing for the customers that do have items in their wishlist. He would need to go to the store and look at each and every customer to see what they wish for vs going to admin section and seeing the list there.


    I forgot to ask everyone....now that I got it to work, how to show the button for the unlogged person instead of the link telling them to log in? 1.3.9h

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

    Default Re: Wishlist

    Quote Originally Posted by DarkAngel View Post
    I forgot to ask everyone....now that I got it to work, how to show the button for the unlogged person instead of the link telling them to log in? 1.3.9h
    It works in both version for me
    <!--bof my Wish button -->
    <?php if (UN_MODULE_WISHLISTS_ENABLED) {
    if ( $_SESSION['customer_id'] ) {
    echo '<input type="hidden" name="wishlist" value="yes" />';
    echo '<div id="productWishlistLink" class="buttonRow back">';
    echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
    echo '</div>';
    } else {
    echo '<div>';
    echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
    echo '</div>';
    }
    } else {}
    ?>
    <!--eof my Wish button -->
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    Quote Originally Posted by DarkAngel View Post
    Thank you kind Madam, lol, now it goes to the wishlist once it is added in there and no message stack showing since this is set to yes now.

    when you ran the SQL did you remember to take the # off of this:

    # 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_CONFIGURAT ION',CONCAT('gID=',@cid),'configuration','Y',@cid);
    I dont understand why others are saying to run this SQL when it is ALREADY included in the install file. But you should Not uncomment the 1st line since it has no relavance in effecting the DB function. I believe it is there for ppl like me that is SQL challenged

    What I think is missing from the SQL 1.5 version that the 1.39 version has is

    INSERT INTO un_wishlists VALUES (1, 0, now(), now(), 'donotuse', 'donotuse', 0, 0);
    which I believe is the Sample customer wish list for admin/extras
    And I am clueless on how to rewrite this for it to populate in 1.5 if you have any ideas on this Opal?????
    running it alone returns an error that a column is missing that could very well be the column/settings for the Attributes????(just a wild guess tho)
    Last edited by Lackew; 22 Jul 2014 at 03:55 PM.
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    To be absolutely clear:
    the Wish List Module setting is showing now in admin/config (after deleting all instances of the old version 1.39 wish & un_wish from DB then reran the SQL)
    However it is Not showing the customers wish list in admin/extras OR anywhere else in admin controls

    but I will study your link you provided Opal - altho it all looks greek to me
    blessed be the day we make tomorrow a better yesterday

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

    Idea or Suggestion Re: Wishlist

    Its a Miracle................... Thank You Opal
    I studied the instructions from the link and then studied wishlist for 1.39 then took a chance on running my own SQL & Shocker it worked !!!!!!
    this is what I ran for 1.51
    INSERT INTO `admin_pages` VALUES('WishLists', 'UN_BOX_WISHLISTS', 'UN_FILENAME_WISHLISTS','' , 'extras', 'Y', 50);
    being stubborn can be an asset at time!
    Hopefully it will help the others who have disappeared from this thread
    Last edited by Lackew; 22 Jul 2014 at 06:46 PM.

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

    Default Re: Wishlist

    DarkAngel
    IF CSS buttons in layout settings is set to yes---it will not work and the original code will not only send both wishlist and add to cart to shopping cart for 1.3.9h and using either wishlist .09 and .09a I have no clue if there are others with lower cart versions, theirs might still behave.

    this what I did---But it works only if CSS buttons is set to NO:
    This is what I found to correct my issue with CSS Buttons & Wishlist in 1.51 but you may want to try it
    in /includes/functions/html_output.php to provide the emulation required to allow the Wish List button to operate properly:
    Code:
    if ($type == 'submit'){
    // form input button
    //-bof-v1.0.3a
    if ($parameters != '') {
    // If the input parameters include a "name" attribute, need to emulate an <input type="image" /> return value
    // by adding a _x to the name parameter (thanks to paulm for providing the fix for Zen Cart v1.3.6!).
    if (preg_match('/name="([a-zA-Z0-9\-_]+)"/', $parameters, $matches)) {
    $parameters = str_replace('name="' . $matches[1], 'name="' . $matches[1] . '_x', $parameters);
    }
    // If the input parameters include a "value" attribute, remove it since that attribute will be set to the input
    // text string.
    if (preg_match('/(value="[a-zA-Z0=9\-_]+")/', $parameters, $matches)) {
    $parameters = str_replace($matches[1], '', $parameters);
    }
    }
    //-eof-v1.0.3a
    $css_button = '<input class="' . $mouse_out_class . '" ' . $css_button_js . ' type="submit" value="' .$text . '"' . $tooltip . $parameters . ' />';
    }
    Last edited by Lackew; 22 Jul 2014 at 07:15 PM.
    blessed be the day we make tomorrow a better yesterday

 

 
Page 33 of 38 FirstFirst ... 233132333435 ... 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