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 101 to 120 of 303
This thread is locked. New replies are disabled.
9 Jan 2008, 11:53 PM
#101
softcorpse avatar

softcorpse

Zen Follower

Join Date:
Aug 2004
Posts:
96
Plugin Contributions:
0

WishList v0.4 -- v1.3.7 compatible

Hey, thanks for the awesome contrib, I have a slight problem though.

When I click add to wishlist, it takes you to the wishlist, but doesn't add the item.
I can manually add the item to my database and it shows up fine on the site.

I have tried v0.31 as well as v0.41, I am guessing that its not working because I am running an older version of zencart (Zen Cart 1.2.1, Patch: 1, Database Patch Level: 1.1.2).

If so, could you please help and tell me which files I should edit to get this working properly for this version of zen.

Thanks!

25 Jan 2008, 1:26 AM
#102
r_lo avatar

r_lo

New Zenner

Join Date:
Oct 2006
Posts:
29
Plugin Contributions:
0

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

Hi there, Thanks for this addon, it's great!
One thing I would like to know, is it possible to add a button on the actual product page 'Add to wishlist' instead of it being in a sidebox?

Also in my admin>extras>wishlists when I click it give me a 404 error page not found, but everything seems to be working fine on the front end of the site, strange.....any idea?

thx

25 Jan 2008, 5:37 AM
#104
r_lo avatar

r_lo

New Zenner

Join Date:
Oct 2006
Posts:
29
Plugin Contributions:
0

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

dharma:

  1. From back in the day:http://www.zen-cart.com/forum/showthread.php?t=35842&page=7
  2. sounds like u might try to re-install WL on the admin side
    thanks dharma, worked a treat, now just to work out how to change it from a text link to an image link....
25 Jan 2008, 6:43 AM
#105
lankeeyankee avatar

lankeeyankee

Totally Zenned

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

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

R-Lo:

thanks dharma, worked a treat, now just to work out how to change it from a text link to an image link....

Try this:

To create an actual button for your product pages ...

Go to includes/languages/english/button_names.php and add the following

define('BUTTON_IMAGE_WISHLIST', 'button_wishlist.gif');
define('BUTTON_WISHLIST_ALT', 'Add To Wishlist');

Now save that file to includes/languages/english/YOUR_CUSTOM_TEMPLATE_NAME/button_names.php

Create a button image that you'd like to include on your product page, save it as button_wishlist.gif to the includes/templates/YOURTEMPLATE/images/buttons/english folder.

On your product page add the following where you'd like the button to show up.

 <?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>
// (un): end wishlist link
?>

Hope that helps.

Matt

25 Jan 2008, 6:52 AM
#106
r_lo avatar

r_lo

New Zenner

Join Date:
Oct 2006
Posts:
29
Plugin Contributions:
0

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

Thanks matt I was almost there when I saw your reply, my php coding has alot to be desired, just missed out on 'zen_image_button' line of code

thanks for the reply

20 Mar 2008, 10:51 PM
#107
dnvy avatar

dnvy

New Zenner

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

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

:oops: Help! And, please forgive me, but I'm a genuine novice at this and don't understand all the lingo, etc.

I've copied all of the files to the appropriate modules except I don't understand the #1 instruction regarding 1. [Create Tables]. I checked my configure.php and I do not have a table, so am I supposed to insert the 'un_wishlists' and 'un_products_to_wishlists' on line 52 in the configure.php file?

I didn't and and when I launched, I received this message on my website:

Warning:
Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_un_wishlist.php' (include_path='.:/usr/local/lib/php') in /home/content/xxxx/html/includes/modules/sideboxes/un_wishlist.php on line **47

**I double-checked, and the file is there.

I apologize for being the pain and/or idiot I am, but please help me?

21 Mar 2008, 12:49 AM
#108
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

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

Create tables 'un_wishlists' and 'un_products_to_wishlists' using 'un_wishlist.sql'

The copy of the mod that you have should have a un_wishlist.sql file, you need to copy the contents of the file and then paste that into the text area in admin>tools>install sql patches and hit send. The install sql patches tool will insert DB prefixes for you so it is not necessary to add them before running the sql through the tool

21 Mar 2008, 8:57 PM
#109
digidiva_kathy avatar

digidiva_kathy

Zen Follower

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

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

My tables had a prefix. I ran the sql patch through the admin panel so it did add the appropriate prefix, but I get this error:

1146 Table 'count16_zc1.un_wishlists' doesn't exist
in:
[SELECT id FROM un_wishlists w WHERE w.customers_id=2 and w.default_status=1 ]

It isn't adding the prefix here so it isn't finding the table...help?

21 Mar 2008, 9:08 PM
#110
digidiva_kathy avatar

digidiva_kathy

Zen Follower

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

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

Never mind, I also figured it out, but I think I'll share the solution for future frustrated users ;)

in includes>extra_datafiles>un_database_tables.php

add the prefix to the table names defined here.

21 Mar 2008, 10:45 PM
#111
dnvy avatar

dnvy

New Zenner

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

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

:no:> dnvy:

:oops: Help! And, please forgive me, but I'm a genuine novice at this and don't understand all the lingo, etc.

I've copied all of the files to the appropriate modules except I don't understand the #1 instruction regarding 1. [Create Tables]. I checked my configure.php and I do not have a table, so am I supposed to insert the 'un_wishlists' and 'un_products_to_wishlists' on line 52 in the configure.php file?

I didn't and and when I launched, I received this message on my website:

Warning:
Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_un_wishlist.php' (include_path='.:/usr/local/lib/php') in /home/content/xxxx/html/includes/modules/sideboxes/un_wishlist.php on line **47

**I double-checked, and the file is there.

I apologize for being the pain and/or idiot I am, but please help me?
Hi Again,

I've copied, pasted and sent the sql patch, and get the same when I launch and view my website:

Warning: main(includes/templates/template_default/sideboxes/tpl_un_wishlist.php): failed to open stream: No such file or directory in /home/content/xxx/html/includes/modules/sideboxes/un_wishlist.php on line 47

Warning: main(includes/templates/template_default/sideboxes/tpl_un_wishlist.php): failed to open stream: No such file or directory in /home/content/xxx/html/includes/modules/sideboxes/un_wishlist.php on line 47

Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_un_wishlist.php' (include_path='.:/usr/local/lib/php') in /home/content/xxx/html/includes/modules/sideboxes/un_wishlist.php on line 47

HELP??????

21 Mar 2008, 11:14 PM
#112
digidiva_kathy avatar

digidiva_kathy

Zen Follower

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

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

digidiva-kathy:

Never mind, I also figured it out, but I think I'll share the solution for future frustrated users ;)

in includes>extra_datafiles>un_database_tables.php

add the prefix to the table names defined here.

also the same defines are in admin>includes>extra_datafiles>un_database_tables.php and must be changed there as well.

22 Mar 2008, 12:17 AM
#113
dnvy avatar

dnvy

New Zenner

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

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

:clap: THANK YOU! THANK YOU! THANK YOU! After I followed your instructions on the sql, and retraced my steps on all the uploads, it works like a dream! Turns out that with all my distractions, I failed to upload an entire module! I went back through all, and wahlah! WOOHOO! I love it!

22 Mar 2008, 1:26 PM
#114
dnvy avatar

dnvy

New Zenner

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

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

**Hi Again! :frusty:

I thought that everything was working until I tested the "email to a friend" on on my website and received the following error messages:

Warning**: main(includes/templates/template_default/templates/tpl_un_wishlist_email_default.php): failed to open stream: No such file or directory in /home/content/xxxx/html/includes/templates/template_default/common/tpl_main_page.php on line 119

Warning: main(includes/templates/template_default/templates/tpl_un_wishlist_email_default.php): failed to open stream: No such file or directory in /home/content/xxxx/html/includes/templates/template_default/common/tpl_main_page.php on line 119

Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_un_wishlist_email_default.php' (include_path='.:/usr/local/lib/php') in /home/content/xxxx/html/includes/templates/template_default/common/tpl_main_page.php on line **119

I've checked out line 119 of ****tpl_main_page.php which shows the following verbiage: "require($body_code); ?>"

Can anyone help me figure this out? Please?????:cry:
**

22 Mar 2008, 9:52 PM
#115
dnvy avatar

dnvy

New Zenner

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

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

When I tested the "Tell a Friend", I'm having a problem. Everything seems to work fine because I receive notification that my email has been sent, but no email ever arrives in my mailbox when I test this feature. Please help?

22 Mar 2008, 10:35 PM
#116
dnvy avatar

dnvy

New Zenner

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

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

Please disregard. I fixed it! :clap:

22 Mar 2008, 10:36 PM
#117
dnvy avatar

dnvy

New Zenner

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

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

Please disregard, I fixed it!:clap:

22 Mar 2008, 10:37 PM
#118
dnvy avatar

dnvy

New Zenner

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

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

dnvy:

When I tested the "Tell a Friend", I'm having a problem. Everything seems to work fine because I receive notification that my email has been sent, but no email ever arrives in my mailbox when I test this feature. Please help?

I haven't fixed this problem, yet. Please help?

2 Apr 2008, 7:13 AM
#119
sand avatar

sand

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

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

Is it possible to make a wishlist for non-registered users? I want to make a toy store where children can make a wishlist and print it.

3 Apr 2008, 5:43 AM
#120
athomas avatar

athomas

New Zenner

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

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

supersnow:

Did anyone find out how to change the product image sizes?

Anyone figure this out yet?