Thread: Wishlist

Page 32 of 38 FirstFirst ... 223031323334 ... LastLast
Results 311 to 320 of 378
  1. #311
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Wishlist

    That is Odd! I had settings to open list after adding so I changed to test and it looks like this

    Name:  screen.jpg
Views: 179
Size:  12.8 KB

    what is your CSS for #mainwrapper? If you have a height setting try commenting out?

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

    Default Re: Wishlist

    #mainWrapper {
    background-color: #ffffff;
    width: 1200px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #3E7871;
    }

    I have tried the message stack code, mainwrapper, navmain, several other places.

    I even went to the tpl.product.info file -- I think that is the one --- to move it and did, i moved it up,down,bottom, just under the addtocart to no avail it still appear topside and on top of the links

    It is almost like there is another file governing where it should be and the css nor the product page will move it.

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

    Default Re: Wishlist

    it is definitely in the a header, nav or wrapper settings I would think. The tpl or product files should not affect the main/global settings. Do you have more than one stylesheet file? Also when doing these kinds of edits I often forget to clear my cache to get a fresh page loaded. I worked on a page for 2 days once because I forgot to do this, lol. The logo wrapper gave me fits also & I ended up commenting it out and using the nav & wrapper to achieve what I wanted.
    Another thing to try is your browser Developer Tools which will show Exactly what is being loaded in the page.
    Last edited by Lackew; 20 Jul 2014 at 08:09 PM.
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    me too but I tried it on two computers with several browsers and same effect.

    like the add to cart button and the wishlish button, you can move it up or down in that file to show it in a different location.

    but not this time. moving it all over that file did nothing, it likes it up there regardless of where located in the file.

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

    Default Re: Wishlist

    if you have it on your server can you PM the link?
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    I did a work around that works and makes it blend better with the store formatting.

    Now back to the wishlist.

    I tried your code, as I said, and it worked but not like it should.

    I was informed just now that the button does indeed add to wishlist but now so does the ADD to cart button.

    I have had to remove the coding for the wishlist again.


    this is the one that is in the readme:

    <!--bof Wishlist button -->
    <!--<br class="clearBoth" />
    optional depending where the code is added-->

    <?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 -->

    I am at my wits end as to what to do now.

    use your code and the css buttons work but the cart button does not add it to cart it sends to wishlist.

    add the above code and they both go to cart.

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

    Default Re: Wishlist

    WoW that is really strange! Are you using a different/new template from your old store? If so try uploading your previous/old tpl_product_info_display to see if it works with the new codes. The placement of the script should only effect the location/placement but Never the operational function.

    I have the scripts in different locations in 2 files for products & product_documents just to give them a different look but work exactly the same as they should!
    Last edited by Lackew; 21 Jul 2014 at 03:58 PM.
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    Quote Originally Posted by DarkAngel View Post

    Now back to the wishlist.

    I tried your code, as I said, and it worked but not like it should.

    I was informed just now that the button does indeed add to wishlist but now so does the ADD to cart button.

    I have had to remove the coding for the wishlist again.


    this is the one that is in the readme:

    <!--bof Wishlist button -->
    <!--<br class="clearBoth" />
    optional depending where the code is added-->

    <?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 -->

    I am at my wits end as to what to do now.

    use your code and the css buttons work but the cart button does not add it to cart it sends to wishlist.

    add the above code and they both go to cart.
    this is Exactly what I have

    <!--bof Add to Cart Box -->
    <?php
    if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
    // do nothing
    } else {
    ?>
    <?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
    if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
    // hide the quantity box and default to 1
    $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
    } else {
    // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
    }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
    ?>
    <?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
    echo $display_qty;
    echo $display_button;
    ?>
    </div>
    <?php } // display qty and button ?>
    <?php } // CUSTOMERS_APPROVAL == 3 ?>
    <!--eof Add to Cart Box-->

    <!--bof Tell a Friend button -->
    <?php
    if ($flag_show_product_info_tell_a_friend == 1) { ?>
    <div id="productTellFriendLink" class="buttonRow forward"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div>
    <?php
    }
    ?>
    <!--eof 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 -->
    Again both worked in 1.39 & 1.51
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    I noticed a subtle difference in your file scipt
    <!--bof Wishlist button -->
    <!--<br class="clearBoth" />
    optional depending where the code is added-->


    <?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 -->
    it should be
    <!--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 -->
    Also page brakes should Never be inserted inside scripts always outside of tags
    <!--<br class="clearBoth" /> so you should move above or below and use
    <br class="clearBoth" />
    not
    <!--<br class="clearBoth" />
    Another thing to check is to turn OFF CSS buttons. If it works with images then you may have just a prb with css buttons I had a prob with Back Buttons after upgrade, it worked with CSS buttons off but not on. I found there was a script to add to correct.
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Wishlist

    OOPS, sorry for the confusion but then that is my title too...Queen of Confusion and I do it very well I might add.

    No this is my own store, we fixed hers and it works as it should, I just moved where to see its message stack...rather any one of them should appear in that spot now.

    This is my own 1.3.9h store---

    http://fantasiesrealm.com/market

    I used the one you provided that worked, it sent to wishlist even if all you saw was the message and it stayed on product page.

    I am an idiot--of course it won't show in the default it is not installed in it.

    The add to order button did work too, I even tested both with a test account.

    But last night I ad a fellow send me a contact that the buttons were sharing the code and both sending to wishlist --- which he just used the button in there to get it into his cart.

    I tried both of the codes you provided and the code from very early on in this thread and this one that I just posted comes from the read me to the wish list itself, copy pasted.

    I even tried the older code that has zen_image_button instead of zen_image_submit and that shows the spot, but also does not do anything, just sits there as if it is not linked at all.

    I really would like this to work again. I have taken it down, uninstalled files/sql then cleared cache, quit browser, rebooted the cmoputer and come back and reuploaded the files several times and done its sql again after each uninstallation.

    This is making me crazy---not a far trip but still. It was working but not anymore. It just seems to crosstalk with the add to cart button.

    I turned off css buttons in layout settings then using your code it goes to shopping cart as does the read me code

    Code:
    <!--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 -->
    Code:
    <!--bof Wishlist button -->
    <!--<br class="clearBoth" />
      optional depending where the code is added-->
    
    <?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 -->
    my original code sends to wishlist but does not add it, just shows an enpty list and it is most assuredly NOT empty :

    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 -->
    also without my css buttons turned on the buttons are all crappy looking now too---so I have to fix the stylesheet again..

    store is with it turned on again now. and yes it is in default template it does not show at all -- no link no button.
    Last edited by DarkAngel; 21 Jul 2014 at 10:58 PM.

 

 
Page 32 of 38 FirstFirst ... 223031323334 ... 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