Thread: Wishlist

Page 31 of 38 FirstFirst ... 212930313233 ... LastLast
Results 301 to 310 of 378
  1. #301
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Wishlist

    Quote Originally Posted by Lackew View Post
    SQL would not take the old mod. So reinstalled new mod version... Wow the admin controls are There now, nothing in Extras altho. Ran additional SQL for admin but still cant find where to view customers list!
    so you reinstalled it totally then ran the sql?

    it now shows in admin?

    were you able to replace the customer/your test wish lists back into the database, tis tricky but I have had to do things like that before too. pm me if you want.

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

    Default Re: Wishlist

    Quick comparison on the old mod & new SQL file I found the new is missing.....

    INSERT INTO un_wishlists VALUES (1, 0, now(), now(), 'donotuse', 'donotuse', 0, 0);
    This was to insert the Customers Wish List in Admin. I am looking to see if a file is missing also that is used to populate this value
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    To help others

    so you reinstalled it totally then ran the sql?
    I had to remove all reference to Wish Lish in the Database. It seems the uninstall SQL only removes from Admin even if you uncomment

    #DROP TABLE IF EXISTS `un_wishlists`;
    #DROP TABLE IF EXISTS `un_products_to_wishlists`;
    So others may not have a prob with fresh installs until they want to Uninstall the mod.

    Oddly tho when I ran
    # 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);
    it did not return an error although this IS included in the install SQL. I would get the processed 1 statement confirmation every time!
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    quick comparison to the files I found this difference in

    /admin/includes/extra_datafiles/wishlist_filenames

    new
    // Wishlist
    define('UN_FILENAME_WISHLIST', 'wishlist');
    define('UN_FILENAME_WISHLISTS', 'wishlists');
    Old
    // Wishlist
    define('UN_FILENAME_WISHLIST', 'wishlist');
    define('UN_FILENAME_WISHLISTS', 'wishlists');

    define('BOX_CONFIGURATION_ZCA_WISHLIST', 'Wish List Module');
    since I had to old file uploaded at this point perhaps this is what made it finally show up correctly in admin
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    well it is my turn now.

    store: 1.3.9h
    wishlist version .09

    I have two codes to use in the tpl_product_info_display.php

    I have the first one added to the file right under the end of add to cart.


    Code:
    <!--bof Wishlist button -->
    <div id="productWishlistLink" class="buttonRow back"><?php 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_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT) . '</a>'); ?></div>
    <!--eof Wishlist button -->
    the problem is that when used it takes you to the wishlist but does not add a darn thing and if you happen to have others in there it says there is nothing. I have all its files uploaded to their correct places. It is displayed in admin/extras and shows all accounts with wishlists




    Code:
    <!--bof Wishlist button -->
                
                <?php if (UN_MODULE_WISHLISTS_ENABLED) { ?>
                <div id="productWishlistLink" class="buttonRow back">
                 <?php echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD,  UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"'); 
                //print_r($_REQUEST);
                ?></div>
        
            <?php }
                else
                {}
                ?>
    <!--eof Wishlist button -->
    this link also works but send the person to the shopping cart, not the wishlist.

    If I use this one from the example, it too sends to shopping cart:

    Code:
    <!--bof Wishlist button -->
                
                <?php if (UN_MODULE_WISHLISTS_ENABLED) { ?>
                <div id="productWishlistLink" class="buttonRow back">
                <?php echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"'); 
                //print_r($_REQUEST);
                ?></div>
        
            <?php }
                else
                {}
                ?>
    <!--eof Wishlist button -->
    Before we moved to new host this worked right...um before I turned on the CSS Buttons feature in admin/config/layout settings, which I have enabled so my buttons all appear correctly and not run off the button.

    Is there something I can do to altar the code for it to go to wishlist to add the item and NOT the shopping cart.

    http://fantasiesrealm.com/market

    Attachment 14305
    Last edited by DarkAngel; 19 Jul 2014 at 09:22 AM.

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

    Default Re: Wishlist

    DarkAngel the following code worked for me in both 1.39 & 1.51
    <!--bof Wishlist 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 UN_BOX_WISHLIST_LOGIN_TEXT;
    echo '</div>';
    }
    } else {}
    ?>
    <!--eof Wishlist button -->
    I to am using css buttons and wanted the button to show Even when customers are not logged in (the text script threw off my alignment with the Tell a Friend button)
    <!--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 -->
    I am glad I can offer some help for a change :)

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

    Default Re: Wishlist

    The bottom code worked perfectly and now I see the message stack success at the top as well as it adds to the wishlist and NOT the shopping cart. A little weird since it used to go to the wishlist when it did work before...LOL

    now I have another questions about this mod on 1.5.3 store. Trying to fix the stack success message at the top.

    the first image is the normal view prior to adding to wishlist....then the success just takes over. I have changed the stylesheet in many ways with margins and padding that either distorts the entire page or does not have any affect what so ever.

    Where can I find another place to edit so that the wishlist success does not stomp on the navigation links.

    Attachment 14308Attachment 14309

    The template used is a classic theme clone and I have compared the entries in there with the default stylesheet to no avail. I think everything is in there.

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

    Default Re: Wishlist

    Quote Originally Posted by DarkAngel View Post
    The bottom code worked perfectly and now I see the message stack success at the top as well as it adds to the wishlist and NOT the shopping cart. A little weird since it used to go to the wishlist when it did work before...LOL

    now I have another questions about this mod on 1.5.3 store. Trying to fix the stack success message at the top.

    the first image is the normal view prior to adding to wishlist....then the success just takes over. I have changed the stylesheet in many ways with margins and padding that either distorts the entire page or does not have any affect what so ever.

    Where can I find another place to edit so that the wishlist success does not stomp on the navigation links.

    Attachment 14308Attachment 14309

    The template used is a classic theme clone and I have compared the entries in there with the default stylesheet to no avail. I think everything is in there.
    is it Only the Wish message that is missaligned???? because it is suppose to be in the same place as all the others!
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    I have absolutely no space at the top of my website. This is what I have

    /*warnings, errors, messages*/
    .messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
    line-height: 1.8em;
    padding: 0.2em;
    border: 0px solid #9a9a9a;
    }
    and

    #navMain ul, #navSupp ul, #navCatTabs ul {
    margin: 0;
    padding: 0em 0em;
    list-style-type: none;
    text-align: center;
    line-height: 1.7em;
    }
    which loads all messages above the website by shifting the page down

    Name:  screenshot.jpg
Views: 124
Size:  19.0 KB
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    yes, with some testing we see that all of the stack stomps on the links. hers are:

    .messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {

    line-height: 1.8em;
    padding: 0.2em;
    border: 1px solid #000000;
    }


    #navMain ul, #navSupp ul, #navCatTabs ul {

    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    text-align: center;
    line-height: 1.5em;

    }

    changed it like yours and still does it:Attachment 14313

 

 
Page 31 of 38 FirstFirst ... 212930313233 ... 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