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 181 to 200 of 303
This thread is locked. New replies are disabled.
14 Jan 2009, 2:46 AM
#181
amazeme avatar

amazeme

New Zenner

Join Date:
Aug 2008
Posts:
9
Plugin Contributions:
0

WishList v0.4 -- v1.3.7 compatible

have included some pretty good feedback from a customer after I installed the wishlist.....feel free to offer code enhancements :-)

PRIORITY
I find that people usually think of "Priority 1" as being the highest priority, whereas on the wish list, 1 is the (almost) lowest priority and 4 is the highest priority. Having the explanations (Love to have, Must have etc) next to the numbers makes this clearer in the input page, but in the version of the wish list that can be viewed by others, only the number is displayed, not the explanation. It seems to be that this could well result in gift givers thinking that low priority items are actually the most wanted ones - the opposite effect to that intended!

DELETING ITEMS
I have had some trouble deleting items from a non-default wish list. When I click the delete icon, I am taken back to my default wish list, and the item I was trying to delete remains in the non-default wish list. The only way around this I found was to create a third wish list called "things I don't want", move the unwanted items into that, and then delete that whole list.

COMMENTS FIELD
It would be great to have a bigger box to input comments for each item on the input page - maybe 3 lines / enough for a short paragraph. There was one item for which I wanted to enter a longer explanation, but it felt awkward to do so in the small comments box.

DUPLICATING ITEMS
It seems that it is impossible to have the same item on more than one wish list. I discovered this as I had forgotten that a particular bead was in my non-default wish list (my "Vague Possibilities" list) and the next time I saw it on the website I tried to click "add to wishlist". No error message occurred, but the item simply failed to appear in my default wishlist where I expected it to be. After several attempts (and, I admit, a restart), I worked out what the problem must be and was able to add the item to my default wish list after removing it from my other one. I would allow items to be duplicated between lists for two reasons: a) There may be occasions on which a customer wants to put an item on more than one list (e.g. Their "Master list" and a temporary "Things you might want to give me for valentines day darling" list). b) Other forgetful customers like myself might be mystified as to why their attempts to "add to wish list" aren't working!

19 Jan 2009, 9:52 PM
#182
blue_grape avatar

blue_grape

New Zenner

Join Date:
Feb 2008
Posts:
53
Plugin Contributions:
0

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

untitled:

This error is of format DATABASE.TABLE.

First, mysql is saying it's looking for a database named "trendsde_zc2". Do you have a database named "trendsde_zc2"?

Second, mysql is saying it's looking for a table named "un_wishlists". Do you have a table named "un_wishlists"?

I'm guessing the error stems from step number 1 in the readme entitled "Create tables". It reads:

Create tables 'un_wishlists' and 'un_products_to_wishlists' using 'un_wishlist.sql'. Important: If in your implementation of ZenCart you defined a database table prefix (see file "includes/configure.php", line 52), add that prefix to the table names in the sql file ("un_wishlist.sql", lines 9, 10, 28 and 29).

Hello,

I'm also having the same database problem as other people were having.  The un_wishlist table doesn't exist.  I realise from reading the posts in this forum that I need to create the database table, but I don't have a clue how to create a database table and which settings I need to set everything on in MySQL Admin.

Apparently there is supposed to be a manual which gives examples of how to create a database table, but I have downloaded both versions of the unwishlist module and neither of them has any instructions.

Could someone please tell me where I can get these instructions from, or tell me how to create a database table please?  I don't want to do something wrong and mess up myZen Cart site.

I'm using Zen Cart version 1.3.8 and the unwishlist mod version 0.41.

Thanks for any help you can provide.
20 Jan 2009, 12:24 AM
#183
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

You need to look in the file you downloaded as there should be a file called 'un_wishlist.sql' which contains what you need.

20 Jan 2009, 1:01 AM
#184
blue_grape avatar

blue_grape

New Zenner

Join Date:
Feb 2008
Posts:
53
Plugin Contributions:
0

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

Thank you! I really appreciate your help and will use those settings from that file.

22 Jan 2009, 2:04 AM
#185
blue_grape avatar

blue_grape

New Zenner

Join Date:
Feb 2008
Posts:
53
Plugin Contributions:
0

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

untitled:

I've updated the WishList contribution to be compatible with ZenCart 1.3.7. You can download it here.

I have the Wishlist installed and working. I would like to remove the word 'Default' from the wish list page "Wish List: Default."

I would also like to remove from the Wishlist page these links:

Tell a Friend
Find a Friend's Wish List
Manage my Wish Lists
Move items between Wish Lists

I have managed to remove all links except Tell a Friend and Find a Friend's Wish List.

Which file do I have to edit to remove the word DEFAULT and the two links.

Thank you.

22 Jan 2009, 3:03 AM
#186
dharma avatar

dharma

Totally Zenned

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

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

Im not a programmer, so maybe someone else is better equiped to respond but....

'Default' from the wish list page "Wish List: Default."I remember I tried to change this once, but ran into a lot of issues, the mod is heavily coded around that word being "default". ugh.

I would also like to remove from the Wishlist page these links:

Tell a Friend
Find a Friend's Wish List
Manage my Wish Lists
Move items between Wish Lists
in the file /includes/templates/MY_TEMPLATE/un_wishlist/tpl_un_wishlist_default.php

remove:

	<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_EMAIL, 'wid='.$id, 'SSL'); ?>"><?php echo UN_TEXT_EMAIL_WISHLIST; ?></a></li>
	<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_FIND); ?>"><?php echo UN_TEXT_FIND_WISHLIST; ?></a></li>
	<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLISTS, '', 'SSL'); ?>"><?php echo UN_TEXT_MANAGE_WISHLISTS; ?></a></li>
	<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_MOVE, 'wid='.$id, 'SSL'); ?>"><?php echo UN_TEXT_WISHLIST_MOVE; ?></a></li>

proceed with caution, this is a great mod but it doesn't like to be messed with too much....

22 Jan 2009, 5:41 AM
#187
blue_grape avatar

blue_grape

New Zenner

Join Date:
Feb 2008
Posts:
53
Plugin Contributions:
0

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

Thank you for your help!

I think I will learn to live with the "default' word. I will try removing the links and if I run into problems I will upload the original file again and that should fix whatever I might have broken by editing the file.

Thanks again!

dharma:

Im not a programmer, so maybe someone else is better equiped to respond but....

I remember I tried to change this once, but ran into a lot of issues, the mod is heavily coded around that word being "default". ugh.

in the file /includes/templates/MY_TEMPLATE/un_wishlist/tpl_un_wishlist_default.php

remove:

<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_EMAIL, 'wid='.$id, 'SSL'); ?>"><?php echo UN_TEXT_EMAIL_WISHLIST; ?></a></li>
<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_FIND); ?>"><?php echo UN_TEXT_FIND_WISHLIST; ?></a></li>
<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLISTS, '', 'SSL'); ?>"><?php echo UN_TEXT_MANAGE_WISHLISTS; ?></a></li>
<li><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST_MOVE, 'wid='.$id, 'SSL'); ?>"><?php echo UN_TEXT_WISHLIST_MOVE; ?></a></li>
> 
> proceed with caution, this is a great mod but it doesn't like to be messed with too much....
23 Jan 2009, 8:58 PM
#188
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

I want to algin my 'add to wishlist' link button under the 'add to cart' button on my product details page.

I've searched my css stylesheet and tpl_product_info_display.php but cannot figure out WHAT to change or WHERE or HOW to change it.

I'm using zencart version 1.3.8 and the zencart_zen template

Here's a link to a product display page

http://www.zencrystals.com/index.php?main_page=product_info&cPath=68&products_id=269

Any help would be greatly appreciated.

Zencart ROCKS :clap:

9 Feb 2009, 10:47 PM
#189
chashd0 avatar

chashd0

New Zenner

Join Date:
Feb 2009
Posts:
2
Plugin Contributions:
0

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

I have wish list .41 installed in zen cart ver 1.38 and seems to be okay with the suggestions from forum, however when switched to spanish, site is broken by errors from db (to be expected )and other problems, is this for english only?If so is there a way to turn it off for other languages. Can it be adapted to support other language without a major overhaul :huh:? I would like to keep it even for english only but I must support my spanish clients.

thanks

10 Feb 2009, 12:48 PM
#190
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

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

I've installed the Wishlist mod and put it into a sidebox - but how do I make it display on every page? I want people to be able to access their wishlist wherever they are and not just on the product pages.

Any help appreciated.

Thanks

11 Feb 2009, 9:58 PM
#191
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

Craft Magick:

I want to algin my 'add to wishlist' link button under the 'add to cart' button on my product details page.

I've searched my css stylesheet and tpl_product_info_display.php but cannot figure out WHAT to change or WHERE or HOW to change it.

I'm using zencart version 1.3.8 and the zencart_zen template

Here's a link to a product display page

http://www.zencrystals.com/index.php?main_page=product_info&cPath=68&products_id=269

Any help would be greatly appreciated.

Zencart ROCKS :clap:

In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php look for the <div> that contains your add to cart button. Add the wishlist button code right under the add to cart code, it's best to put a

<br class="clearBoth" />

in between the buttons. Here's the code I have from my file:

  <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
            ?>
<br class="clearBoth" />
    <?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') . '">' . zen_image_button(BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT) ?> </a>          
   
  </div>

Let me know if you need further help.

26 Feb 2009, 12:07 PM
#192
cleasterwood avatar

cleasterwood

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

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

Hi!
I'm new to ZenCart, but not necessarily to PHP & SQL, but I installed the wishlist, uploaded the sql file & am still getting this message when adding to my wishlist.
1146 Table 'finer_zc1.un_wishlists' doesn't exist
in:
[SELECT id FROM un_wishlists w WHERE w.customers_id=3 and w.default_status=1 ]

I'm a bit lost because the sql Query Executor said the script was executed properly. Can anyone point me in the right direction?
Thanks,
Lynn

P.S. Using the latest Zen Cart 1.3.8, I think?

26 Feb 2009, 5:11 PM
#193
cleasterwood avatar

cleasterwood

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

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

Ok, I figured it out. When you do an SQL query to add the tables, it automatically adds "zen_" in front of it. You have to go into MyAdmin PHP & omit the 'zen_' from the beginning of the table.

20 Mar 2009, 2:59 PM
#194
nicki_jo avatar

nicki_jo

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

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

Glamorousshoe:

I have tried your codes above to insert the add to wish list next to the add to cart But I can't get the image to show up in the product listing.

I can see the text where the image is suppose to be but I can't get the image"button" to show

Craft Magick:

I want to algin my 'add to wishlist' link button under the 'add to cart' button on my product details page.

I've searched my css stylesheet and tpl_product_info_display.php but cannot figure out WHAT to change or WHERE or HOW to change it.

I'm using zencart version 1.3.8 and the zencart_zen template

Here's a link to a product display page

http://www.zencrystals.com/index.php?main_page=product_info&cPath=68&products_id=269

Any help would be greatly appreciated.

Zencart ROCKS :clap:

lankeeyankee:

In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php look for the <div> that contains your add to cart button. Add the wishlist button code right under the add to cart code, it's best to put a

<br class="clearBoth" /> ``` > > in between the buttons. Here's the code I have from my file: > > ```php <div id="cartAdd"> <?php echo $display_qty; echo $display_button; ?> <br class="clearBoth" /> <?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') . '">' . zen_image_button(BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT) ?> </a> </div> ``` > > Let me know if you need further help.

Just in case anyone is struggling with a missing image and alternate text... like I was! I read and re-read these posts and still couldn't see it!

Here's how I solved it.

1.Made a wishlist_add.gif and uploaded it to
includes/template/YOUR_TEMPLATE/buttons/
2. Look in your includes/template/YOUR_TEMPLATE/templates/tpl_product_info_display.php
file for this:
<div id="cartAdd">
<?php echo $display_qty; echo $display_button; ?></div>

and change it to this:

*<div id="cartAdd">
<?php echo $display_qty; echo $display_button; ?></div><div>
<br class="clearBoth" />
<?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') . '">' . zen_image_button(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ALT) ?> </a>

</div>*

Yes, I know that the above posts said to do this, but the code on one of the posts giving you the code to insert on the product template page was slightly wrong.
It said :
<?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') . '">' . zen_image_button(**BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT**) ?> </a>

It should be:
<?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') . '">' . zen_image_button(**UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ALT)** ?> </a>

See the slight difference? Only a little change but it made my image show up and alternative text too!!

Took me ages to spot it though lol :oops:

29 Mar 2009, 5:13 AM
#195
datvtran avatar

datvtran

New Zenner

Join Date:
Mar 2009
Posts:
20
Plugin Contributions:
0

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

Hi,

I'm a having problem with un_wishlist 0.41 on zencart 1.3.8a. When clicking on "Add to wish list" button it would load index.php?main_page=un_wishlist which is a blank page. I am wondering where I went wrong on my installation. It would be great if someone help me figure this out. the link is http://trendshop.ca/index.php?main_page=un_wishlist .

Thank you in advance.
Dat

1 Apr 2009, 3:38 PM
#196
webform avatar

webform

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

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

bluefusionweb:

I found it by just going into the templates/unwishlist folder and editing the file called tpl_un_wishlist_default.php

where it adds the image you will see somehting like:

echo zen_image(DIR_WS_IMAGES . $products->fields['products_image'], $products->fields['products_name'], '', '',

> 
> In the 2 '' simple enter the values of width and height you want like '200','200' and hey presto. You will need to also do it in the un_wishlist_find folder on the default one in there, for when people search for wishlists etc the images were really big too.
> 
> Hope this helps someone.
> 
> james


I know i answer on an year old post, but this may help somebody:

If you want to use the image values you enter in admin (Configuration -> Images) , then change the code to this:

echo zen_image(DIR_WS_IMAGES . $products->fields['products_image'], $products->fields['products_name'], MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'class="productlist"');

2 Apr 2009, 2:26 AM
#197
dharma avatar

dharma

Totally Zenned

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

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

datvtran:

Hi,

I'm a having problem with un_wishlist 0.41 on zencart 1.3.8a. When clicking on "Add to wish list" button it would load index.php?main_page=un_wishlist which is a blank page. I am wondering where I went wrong on my installation. It would be great if someone help me figure this out. the link is http://trendshop.ca/index.php?main_page=un_wishlist .

Thank you in advance.
Dat

try reinstalling the mod. See:

http://www.zen-cart.com/forum/announcement.php?f=2&a=12

2 Apr 2009, 10:27 PM
#198
datvtran avatar

datvtran

New Zenner

Join Date:
Mar 2009
Posts:
20
Plugin Contributions:
0

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

Hi,

Awesome for telling me about the Debug Error Logging Utility. It really help me figure out what was missing.

Thank you,
Dat

8 Apr 2009, 3:44 PM
#199
gyphon avatar

gyphon

New Zenner

Join Date:
Apr 2007
Posts:
30
Plugin Contributions:
0

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

I have installed the wishlist 0.41 on a 1.3.8 cart and I am having two major problems.

  1. If a customer A has more then 10 items in there public wishlist (which causes multipages), and customer B logs in, finds a friend's wishlist (which happens to be customer A). The list is display with page 1 2 [Next >>]. Clicking the [Next >>] will take back to Find a friend wishlist form. I know why this is happening, the orginal find did not put the get string of &wid=X (X is the wishlist number) in the URL string. If you come to the wishlist from the email that customer B received, the url has the &wid=X in the URL thus everything works just find. So does any know where that [Next >>] is built and how to add the get string to it?

  2. On the admin side, when I view the customer's wish list, I have no idea where it is pickup the Price, it is not even close to the right amount.

Thanks for the help
Larry

8 Apr 2009, 6:56 PM
#200
dharma avatar

dharma

Totally Zenned

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

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

Gyphon:

I have installed the wishlist 0.41 on a 1.3.8 cart and I am having two major problems.

  1. If a customer A has more then 10 items in there public wishlist (which causes multipages), and customer B logs in, finds a friend's wishlist (which happens to be customer A). The list is display with page 1 2 [Next >>]. Clicking the [Next >>] will take back to Find a friend wishlist form. I know why this is happening, the orginal find did not put the get string of &wid=X (X is the wishlist number) in the URL string. If you come to the wishlist from the email that customer B received, the url has the &wid=X in the URL thus everything works just find. So does any know where that [Next >>] is built and how to add the get string to it?

  2. On the admin side, when I view the customer's wish list, I have no idea where it is pickup the Price, it is not even close to the right amount.

Thanks for the help
Larry

  1. I have the same issue, it may be yet another bug that has not been fixed yet. I think the issue stems from th WL # not being in the url (hidden) changing the sort creates a WL# in the url and everything seems ok. But I do not know how to code this page tp default to a WL# in the URL.

Another workaround would be to make the items per page 100 instead of 10 but I don't know how to code that either.

perhaps someone else has found a solution?

  1. in my WL admin the prices are not displayed, but never pursued the issue as the prices have no use in the admin side with my set up, as long as they are displayed in the shop.