Thread: wishlists 0.6

Page 23 of 24 FirstFirst ... 1321222324 LastLast
Results 221 to 230 of 236
  1. #221
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    Quote Originally Posted by wtashby View Post
    How can I adjust the left to right (horizontal) alignment of the wishlist button?

    Thanks

    Change the class on the div that the back and submit buttons are in. Also, create a second div, give on a class="back" and the other class="forward" put code for back button into first div and second button code into second div. ... if we're talking about the same button... There are a few of them...
    Last edited by bumba000; 13 Nov 2014 at 06:24 AM.

  2. #222
    Join Date
    Nov 2014
    Location
    Fort Worth, TX
    Posts
    13
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    vickauto.com

  3. #223
    Join Date
    Nov 2014
    Location
    Fort Worth, TX
    Posts
    13
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    DarkAngel

    I tried that one you just posted, and it still just makes it add to cart.
    I do believe we have modified to use the css style.

    Anymore help?

    Matt

  4. #224
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    Quote Originally Posted by Mattvickauto View Post
    DarkAngel

    I tried that one you just posted, and it still just makes it add to cart.
    I do believe we have modified to use the css style.

    Anymore help?

    Matt
    http://www.zen-cart.com/showthread.p...42#post1260342

  5. #225
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    "Out of the box" wish list will add a button to the product info page. The button has value of "yes". In the wishlist_cart_actions.php file there is test on $_GET for 'cart_add' testing for the value of "yes".

    In a nutshell, here's the solution. Remove the button from the product info page and replace with a checkbox that if checked will have the value of "yes". Then hide the checkbox. Put up some text (likely "Add to Wishlist") that when clicked will "behind the scene" check the hidden check box and also submit the cart_add form. I did this with JS/Jquery...


    PHP Code:
    <div style="cursor: pointer;" id="productWishlistLink" class="pi-tell-ask-add biggerText">
            <
    span>Add to Wish list</span>
            <
    noscript><span class="smallerText">Check the box then click add to cart. Or enable javascript and reload the page!</span></noscript>
            <
    input style="display: none;" name="wishlist" value="yes" id="pInfoWishCheckbox" type="checkbox">        </div
    Then the JS that makes it all work...

    Code:
    $(document).ready(function() {
        $('#productWishlistLink').css('cursor', 'pointer');
        $("input#pInfoWishCheckbox").css('display', 'none');
    });
    $(document).on('click', '#productWishlistLink span', function(){
        $("input#pInfoWishCheckbox").prop('checked', true);
        if($("input[name='wishlist']").is(':checked')){
            $('form[name=cart_quantity]').submit();
        }    
    });
    Last edited by bumba000; 13 Nov 2014 at 07:44 PM.

  6. #226
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    So I have this figured out, over the tpl_wishlist_default.php, wishlist_class.php and wishlist_cart_actions.php file, need's to be passed the wishlist id of the wishlist that products are being edited in. Looking into these files and the chain of the process for update and remove, the query is told to match a class function that returns the customers default wishlist id. So beginning with the tpl_wishlist_default.php I began passing along the $_GET['wid'] as (int)zen_sanitize_string($_GET['wid']).

    So far the moveProduct and other functions seem to be fine as are.

    ...Also, everywhere in this mod that catches passed form data needs be sanitized, zen_db_prepare_input or something...

    I'm not done making it safe yet, but has anyone else noticed that using a quote or double quote in any of the form fields breaks the system?? That's not good!

    John

  7. #227
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    I have installed this plug-in and it's working fine - it generates wishlists and they can be retrieved. I'm using ZC 1.5.4
    My problem is that although the module is listed in configuration, there are no options when I click on the module.
    Also, is there a way to look at customer's wishlists? It doesn't look like I have access to these
    Thanks
    Carol

  8. #228
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: wishlists 0.6

    Quote Originally Posted by spminis View Post
    I have installed this plug-in and it's working fine - it generates wishlists and they can be retrieved. I'm using ZC 1.5.4
    My problem is that although the module is listed in configuration, there are no options when I click on the module.
    Also, is there a way to look at customer's wishlists? It doesn't look like I have access to these
    Thanks
    Carol
    Something went amiss during installation. Check that the admin files are all uploaded into the correct folders.

    For access to customers lists, you'd need to be able to log in as the customer. This plugin will allow you to do just that
    http://www.zen-cart.com/downloads.php?do=file&id=94

  9. #229
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Re: wishlists 0.6

    [QUOTE=jeking;1274559]Something went amiss during installation. Check that the admin files are all uploaded into the correct folders.

    I reinstalled the files and they are in the correct place. The listing for the module appears in configuration but there aren't any options listed. Any other ideas?

    Carol

  10. #230
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: wishlists 0.6

    Any errors when you run the sql statement (wishlist.sql)?

 

 
Page 23 of 24 FirstFirst ... 1321222324 LastLast

Similar Threads

  1. Wishlists & Attributes
    By glamourdolleyes in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Jul 2011, 08:28 PM
  2. Allow non-members access to search wishlists?
    By boutique in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Feb 2009, 11:16 AM
  3. Wishlists
    By fbords in forum Basic Configuration
    Replies: 1
    Last Post: 8 Sep 2007, 05:43 AM

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