Zen Cart Logo
Forums / All Other Contributions/Addons / WishList v0.4 -- v1.3.7 compatible

WishList v0.4 -- v1.3.7 compatible

Locked

Views: 67,642

Results 281 to 300 of 303
This thread is locked. New replies are disabled.
27 Dec 2010, 10:32 PM
#281
manojlo_bg avatar

manojlo_bg

New Zenner

Join Date:
Dec 2010
Location:
Belgrade
Posts:
15
Plugin Contributions:
0

WishList v0.4 -- v1.3.7 compatible

There is a little problem with that... This is the e shop I am planing to install wish list: http://www.legoshop.co.rs, so I have already my Zen Cart, but I am testing every module on my test shop to see does it works and how it works... Maybe I could try to install it on my live e shop website, maybe it will work there?

I don't know what to do man... I am so :frusty::frusty::frusty:

27 Dec 2010, 10:39 PM
#282
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: WishList v0.4 -- v1.3.7 compatible

hmm, i see. Well i wouldn't recommend putting it on the live site til it works ok on your test site.

I know there are complications with using prefixes with this module (see other posts in this thread). I think others have been able to get it working OK using the method posted above.

perhaps try another run-through the checklist to be sure spelling and all is setup OK. You may find it useful to run through the posts in this thread and see if others have found a different solution.

4 Jan 2011, 9:12 PM
#283
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

dealbyethan.com:

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

16 Jan 2011, 1:12 AM
#284
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,778
Plugin Contributions:
21

Re: WishList v0.4 -- v1.3.7 compatible

Hey Manojlo, did you manage to solve this issue?

Pozdrav :smile:

16 Jan 2011, 3:32 AM
#285
ken_joy avatar

ken_joy

New Zenner

Join Date:
May 2006
Posts:
62
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

THANK YOU THANK YOU THANK YOU!!!!

You are a LIFE-SAVER! The code you posted is PERFECT, and now my "add to my wishlist" icon shows up ON the product page... WOO HOO!!!!! Thanks, again... see it live at https://www.hojpub.com

Ken

17 Jan 2011, 4:52 AM
#286
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

MAJOR problems with this mod. I just realized that the only list that functions correctly is the default list. Does anyone else experience these problems?

  1. The delete buttons for product doesn't work in another list, it simply takes me to my default without deleting the item.

  2. When ever I try to add an item to the wishlist it will add the item to my cart.

Any help or insight appreciated.

17 Jan 2011, 5:01 AM
#287
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

Jeff_Mash:

I think I see a bug with the program, and I'd like to see if anyone else can see the same thing.

If you have more than one wishlist, it will only allow you to edit the items in your DEFAULT wishlist. If you try to change something in another wishlist which isn't the default, the changes do not stick.

So to test, create multiple wishlists. When you add items to the wishlist, it will put it in the default wishlist first (by design). Then you will move some of these items into your secondary wishlist.

Now when you try to change the priority of an item in the secondary wishlist (which is not your default wishlist), the changes will not stick. You have to set it as your primary wishlist in order to make the changes.

Is there any way around this?

Yep, just saw this post. Has anyone found a solution?

17 Jan 2011, 4:51 PM
#288
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: WishList v0.4 -- v1.3.7 compatible

novastar,

thank you for bringing this to my attention. #1 does appear to be a problem with the plugin, I can have a look and see what I can do - I am busy on other projects at the moment though, so I can't guarantee a time when this would be fixed.

I have not been able to replicate item #2 on your list, can you please specify the steps you take to see the problem? Perhaps there is an issue with your installation.

17 Jan 2011, 10:34 PM
#289
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

Quick responses increase my faith in community forums. But the second issue doesn't happen all the time. I tried to determine under what circumstances it did happen and I think its whenever the item that I'm trying to add is already in one of my list that this will occur. Thanks for the mod, quick reply and any help you can give for this problem.

17 Jan 2011, 10:35 PM
#290
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: WishList v0.4 -- v1.3.7 compatible

Ok, I will check into it and see what I can figure out. I didn't build the module, but the original creator has discontinued support so I'm trying to fill in best I can ;)

20 Jan 2011, 11:48 PM
#291
mrspiffy avatar

mrspiffy

New Zenner

Join Date:
Mar 2009
Posts:
29
Plugin Contributions:
1

Re: WishList v0.4 -- v1.3.7 compatible

novastar:

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_".

21 Jan 2011, 12:00 AM
#292
mrspiffy avatar

mrspiffy

New Zenner

Join Date:
Mar 2009
Posts:
29
Plugin Contributions:
1

Re: WishList v0.4 -- v1.3.7 compatible

MrSpiffy:

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

21 Jan 2011, 12:15 AM
#293
mrspiffy avatar

mrspiffy

New Zenner

Join Date:
Mar 2009
Posts:
29
Plugin Contributions:
1

Re: WishList v0.4 -- v1.3.7 compatible

novastar:

MAJOR problems with this mod. I just realized that the only list that functions correctly is the default list. Does anyone else experience these problems?

  1. The delete buttons for product doesn't work in another list, it simply takes me to my default without deleting the item.

  2. When ever I try to add an item to the wishlist it will add the item to my cart.

Any help or insight appreciated.

I think the quick and dirty solution is to not allow users multiple wish lists. If you'd like to limit each registered user to one wishlist, set 'UN_ALLOW_MULTIPLE_WISHLISTS' to 'false' in the file 'includes/languages/english/extra_definitions/un_defines.php'

21 Jan 2011, 1:33 AM
#294
mrspiffy avatar

mrspiffy

New Zenner

Join Date:
Mar 2009
Posts:
29
Plugin Contributions:
1

Re: WishList v0.4 -- v1.3.7 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:

<!-- 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>
[B]<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']; ?>" />[/B]

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

<!-- 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>
[B]<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']; ?>" />[/B]
<!-- end product listing -->
24 Jan 2011, 8:29 AM
#295
kappy1 avatar

kappy1

New Zenner

Join Date:
Jun 2010
Posts:
10
Plugin Contributions:
0

Re: WishList v0.4 -- v1.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.

24 Jan 2011, 8:15 PM
#296
mrspiffy avatar

mrspiffy

New Zenner

Join Date:
Mar 2009
Posts:
29
Plugin Contributions:
1

Re: WishList v0.4 -- v1.3.7 compatible

kappy1:

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

25 Jan 2011, 2:18 AM
#297
kappy1 avatar

kappy1

New Zenner

Join Date:
Jun 2010
Posts:
10
Plugin Contributions:
0

Re: WishList v0.4 -- v1.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...

30 Jan 2011, 11:07 AM
#298
motoccnl avatar

motoccnl

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Re: WishList v0.4 -- v1.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.

1 Feb 2011, 5:42 AM
#299
markbolyard avatar

markbolyard

New Zenner

Join Date:
Oct 2010
Posts:
1
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

novastar:

MAJOR problems with this mod. I just realized that the only list that functions correctly is the default list. Does anyone else experience these problems?

  1. When ever I try to add an item to the wishlist it will add the item to my cart.

Any help or insight appreciated.

So I have this same issue and here is something I noticed.

In my tpl_product_info_display.php template, I added this code:

            <!--bof Wishlist button -->
            <?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_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT) . '</a>'); ?>
            <!--eof Wishlist button -->

next to my add to cart button. It appears exactly where I want it, however when you add to the wishlist, the item gets added to the cart too.

Now, in the readme, there is this code:

<?php 
// (un): start wishlist link
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') . '">' . UN_TEXT_ADD_WISHLIST . '</a>'; 
// (un): end wishlist link
?>

This is pretty much the same code, however instead of a image button, it display the text "Add to Wishlist". THIS WORKS and adds the item to the wishlist and NOT the cart.

So in either case, I can use both pcs of code, but if I use

zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT)

instead of

UN_TEXT_ADD_WISHLIST

it goes to the cart to. (So Image button adds item to cart, text link doesn't)

Next, I enabled the side column module, and that works as it should, but the code (when I view the source of the page) is different, and is in a <form>.

My guess is, using the image button option utilizes input fields of a form, and the store gets confused when the button is pushed and the item goes to both the cart and the wishlist. Is there a way I can just use <img src.....> in place of zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT)???

Any idea why this is. You can see my store here: http://joessecuritydepot.com (It's still in the works, but is active for testing purposes. Any help or suggestions you may have would be greatly appreciated. Thank you.

9 Mar 2011, 7:47 PM
#300
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: WishList v0.4 -- v1.3.7 compatible

markbolyard:

Any idea why this is. You can see my store here: http://joessecuritydepot.com (It's still in the works, but is active for testing purposes. Any help or suggestions you may have would be greatly appreciated. Thank you.
i didn't see any wishlist, not even after creating account, did you remove it?
I like the cart item in the bar, would you mind telling me where or how you got it implemented? (use pm as probably off topic here, thanks)