Results 1 to 10 of 312

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    127
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by dealbyethan.com View Post
    I dropped the tables zen_zen_un_wishlists and zen_zen_un_products_to_wishlists in phpmyadmin and reran the sql file. This time zen_un_wishlists and zen_un_products_to_wishlists were created. So I thought it would be working but it's not. I turned on the sidebox in the admin but it doesn't show up on my shop. And in my admin > Extras > Wishlists, I still get the following error. Please help.

    1146 Table 'dealbyet_zc4.un_wishlists' doesn't exist
    in:
    [SELECT w.id, w.customers_id, w.created, w.modified, w.name, w.comment, w.default_status, w.public_status, count(p.products_id) as items_count, c.customers_email_address, c.customers_firstname, c.customers_lastname FROM un_wishlists w LEFT JOIN un_products_to_wishlists p2w ON w.id=p2w.un_wishlists_id LEFT JOIN zen_products p ON p2w.products_id=p.products_id LEFT JOIN zen_customers c ON w.customers_id=c.customers_id GROUP BY w.id ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    deal by ethan how did you solve this problem

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Hey Manojlo, did you manage to solve this issue?

    Pozdrav

  3. #3
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Re: WishList v0.5 -- ZenCart 1.3.9 compatible

    Okay, I fixed a problem with the compact view on version .05 in firefox.

    If your compact view table has a big gap in it under the table heading and before the product listing, do the following.

    edit

    ./includes/templates/template_default/un_wishlist/tpl_un_wishlist_s.php


    and move the hidden inputs out of the table.

    So look for this:

    Code:
    <!-- product listing -->
    <table border="0" cellspacing="0" class="productlist">
    
            <tr class="heading">
    
            <?php echo $oWishlist->getTableHeader(); ?>
            </tr>
    
    <?php
    if ($listing_split->number_of_rows > 0) {
            $rows = 0;
            $products = $db->Execute($listing_split->sql_query);
            while (!$products->EOF) {
                    if ( $rows & 1 ) {
                            $tdclass = 'even';
                    } else {
                            $tdclass = 'odd';
                    }
    ?>
    
            <tr>
    <input type="hidden" name="products_id[]" value="<?php echo $products->fields['products_id']; ?>" />
    <input type="hidden" name="wishlist_quantity[]" value="<?php echo $products->fields['quantity']; ?>" />
    <input type="hidden" name="comment[]" value="<?php echo $products->fields['comment']; ?>" />
    
            <?php echo $oWishlist->getTableRow($tdclass, $products); ?>
    
            </tr>
                    <?php $rows++; ?>
                    <?php $products->MoveNext(); ?>
            <?php } // end while products ?>
    
    <?php } else { ?>
            <tr><td colspan="99"><?php echo UN_TEXT_NO_PRODUCTS; ?></td></tr>
    
    <?php } ?>
    </table>
    <!-- end product listing -->

    and set it like this:


    Code:
    <!-- product listing -->
    <table border="0" cellspacing="0" class="productlist">
    
            <tr class="heading">
    
            <?php echo $oWishlist->getTableHeader(); ?>
            </tr>
    
    <?php
    if ($listing_split->number_of_rows > 0) {
            $rows = 0;
            $products = $db->Execute($listing_split->sql_query);
            while (!$products->EOF) {
                    if ( $rows & 1 ) {
                            $tdclass = 'even';
                    } else {
                            $tdclass = 'odd';
                    }
    ?>
    
            <tr>
    
            <?php echo $oWishlist->getTableRow($tdclass, $products); ?>
    
            </tr>
                    <?php $rows++; ?>
                    <?php $products->MoveNext(); ?>
            <?php } // end while products ?>
    
    <?php } else { ?>
            <tr><td colspan="99"><?php echo UN_TEXT_NO_PRODUCTS; ?></td></tr>
    
    <?php } ?>
    </table>
    <input type="hidden" name="products_id[]" value="<?php echo $products->fields['products_id']; ?>" />
    <input type="hidden" name="wishlist_quantity[]" value="<?php echo $products->fields['quantity']; ?>" />
    <input type="hidden" name="comment[]" value="<?php echo $products->fields['comment']; ?>" />
    <!-- end product listing -->

  4. #4
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by novastar View Post
    deal by ethan how did you solve this problem
    edit the table names in /Admin/includes/extra_datafiles/un_database_tables.php in include the table prefix. In my case it was "zen_".

  5. #5
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by MrSpiffy View Post
    edit the table names in /Admin/includes/extra_datafiles/un_database_tables.php in include the table prefix. In my case it was "zen_".
    You're also going to need to do the same thing to ./includes/extra_datafiles/un_database_tables.php

  6. #6
    Join Date
    Jun 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    The problem I am having with wish list is if a product is out of stock add to cart button does not appear, which is correct, but the add to wish list still appears and the item can be added to the wish list then the customer can go to their wish list and add to product to the cart even if it is not in stock.

  7. #7
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by kappy1 View Post
    The problem I am having with wish list is if a product is out of stock add to cart button does not appear, which is correct, but the add to wish list still appears and the item can be added to the wish list then the customer can go to their wish list and add to product to the cart even if it is not in stock.

    Does this happen if the items are disabled?

    The quick solution then is to have your items disabled when they reach 0 qty. Config -> Stock -> Product status...

  8. #8
    Join Date
    Jun 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Works ok if I disable but I also use the addon back to stock so it defeats the purpose of this addon. I have a number of customers that use the back to stock so my only alternative is to put wish list on the back burner until I or someone can figure out a fix...

  9. #9
    Join Date
    Mar 2010
    Posts
    8
    Plugin Contributions
    1

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Would it be possible to make a guest wish list, just like the zen cart shopping cart? So that the guest don't need to login for the use of the default wish list.

    I've been looking around and tried to change the $_session['customers_id'] to a variable witch is $_session['customers_id'] when logged in, and zenid when not logged in. That didn't brake anything, but it didn't add anything either.

    Is there somebody how can help me or point me in the right direction.

 

 

Similar Threads

  1. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  2. 1.3 Compatible Contributions
    By borzoid in forum All Other Contributions/Addons
    Replies: 83
    Last Post: 26 Apr 2009, 11:50 PM
  3. MZMT compatible?
    By robeartoesart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Oct 2006, 01:29 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