Forums / All Other Contributions/Addons / Wishlist 2.0 for ZC v1.5.x

Wishlist 2.0 for ZC v1.5.x

Views: 4,150

Results 1 to 12 of 12
9 Nov 2013, 7:09 AM
#1
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Wishlist 2.0 for ZC v1.5.x

Hi,

I have updated the wishlist. It works fine with version 1.5.x now.

Download here http://zucando.com/zen-cart-modules/seo-marketing-tools/wishlist-2-0-for-zen-cart-1-5-x

I have submitted to addon/plugin. Hope mods can enable it soon.

If you have any problem when install it, please post here.

Thanks

Chu

Our Site: http://zucando.com
Marketing Plugins: Marketing Modules
Free Response Templates: Responsive Templates

23 Nov 2013, 4:35 AM
#2
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

Running SQL, I get the following:

SQL Error (1136) in statement #8: Column count doesn't match value count at row 1

23 Nov 2013, 5:02 AM
#4
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

cvhainb:

I have tried to run SQL and it works fine for me.

Great. Doesn't for me.

Stepping through it now.

Doesn't like anything here:

INSERT INTO configuration VALUES (NULL, 'Wishlist Module Switch', 'UN_DB_MODULE_WISHLISTS_ENABLED', 'true', 'Set this option true or false to enable or disable the wishlist', @configuration_group_id, 710, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist sidebox header link', 'UN_DB_SIDEBOX_LINK_HEADER', 'true', 'Set this option true or false to make the sidebox header a link to the wishlist page.', @configuration_group_id, 711, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist allow multiple lists', 'UN_DB_ALLOW_MULTIPLE_WISHLISTS', 'true', 'Set this option true or false to allow for more than 1 wishlist', @configuration_group_id, 712, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist display category filter', 'UN_DB_DISPLAY_CATEGORY_FILTER', 'false', 'Set this option true or false to enable a category filter', @configuration_group_id, 713, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist default name', 'DEFAULT_WISHLIST_NAME', 'Default', 'Enter the name you want to be assigned to the initial wishlist.', @configuration_group_id, 714, now(), now(), NULL, NULL);
INSERT INTO configuration VALUES (NULL, 'Wishlist show list after product addition', 'DISPLAY_WISHLIST', 'false', 'Set this option true or false to show the wishlist after a product was added to the wishlist', @configuration_group_id, 715, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist display max items in extended view', 'UN_MAX_DISPLAY_EXTENDED', '10', 'Enter the maximum amount of products you want to show in extended view.<br />default = 10', @configuration_group_id, 716, now(), now(), NULL, NULL);
INSERT INTO configuration VALUES (NULL, 'Wishlist display max items in compact view', 'UN_MAX_DISPLAY_COMPACT', '20', 'Enter the maximum amount of products you want to show in extended view.<br />default = 20', @configuration_group_id, 717, now(), now(), NULL, NULL);
INSERT INTO configuration VALUES (NULL, 'Wishlist default view Switch', 'UN_DEFAULT_LIST_VIEW', 'extended', 'Set the default view of the list to compact or extended view', @configuration_group_id, 718, now(), now(), NULL, "zen_cfg_select_option(array('compact', 'extended'),");
INSERT INTO configuration VALUES (NULL, 'Wishlist allow multiple products to cart', 'UN_DB_ALLOW_MULTIPLE_PRODUCTS_CART_COMPACT', 'false', 'Set this option true or false to allow multiple products to be moved in the cart via checkboxes in compact view', @configuration_group_id, 719, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");

Register the configuration page for Admin Access Control

INSERT IGNORE INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order) VALUES ('configWishlist','BOX_CONFIGURATION_WISHLIST','FILENAME_CONFIGURATION',CONCAT('gID=',@configuration_group_id),'configuration','Y',@configuration_group_id);

Register the extras page for Admin Access Control

INSERT IGNORE INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('extrasWishlist', 'UN_BOX_WISHLISTS', 'UN_FILENAME_WISHLISTS', '', 'extras', 'Y', @configuration_group_id);

23 Nov 2013, 5:22 AM
#5
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Re: Wishlist 2.0 for ZC v1.5.x

I dont know what happened for you but if you download the package on my site, it will work.

Our Site: http://zucando.com
Marketing Plugins: Marketing Modules
Free Response Templates: Responsive Templates

23 Nov 2013, 5:27 AM
#6
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

I think the problem is that the script (tries) to insert 11 points of data, the table takes 12.

INSERT INTO configuration VALUES (NULL, 'Wishlist sidebox header link', 'UN_DB_SIDEBOX_LINK_HEADER', 'true', 'Set this option true or false to make the sidebox header a link to the wishlist page.', @configuration_group_id, 711, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");

CREATE TABLE dummy (
configuration_id INT(11) NOT NULL AUTO_INCREMENT,
configuration_title TEXT NOT NULL,
configuration_key VARCHAR(255) NOT NULL DEFAULT '',
configuration_value TEXT NOT NULL,
configuration_description TEXT NOT NULL,
configuration_group_id INT(11) NOT NULL DEFAULT '0',
sort_order INT(5) NULL DEFAULT NULL,
last_modified DATETIME NULL DEFAULT NULL,
date_added DATETIME NOT NULL DEFAULT '0001-01-01 00:00:00',
use_function TEXT NULL,
set_function TEXT NULL,
configuration_tab VARCHAR(32) NOT NULL DEFAULT 'General'
)

My twelfth field is the configuration_tab and most are set to 'General'.

23 Nov 2013, 5:27 AM
#7
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

cvhainb:

I dont know what happened for you but if you download the package on my site, it will work.

Thats where i pulled it from.

23 Nov 2013, 5:31 AM
#8
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Re: Wishlist 2.0 for ZC v1.5.x

Yes, I think you will have to add a value for configuration_tab at end of each row because this SQL need it.

Limitless:

I think the problem is that the script (tries) to insert 11 points of data, the table takes 12.

INSERT INTO configuration VALUES (NULL, 'Wishlist sidebox header link', 'UN_DB_SIDEBOX_LINK_HEADER', 'true', 'Set this option true or false to make the sidebox header a link to the wishlist page.', @configuration_group_id, 711, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");

CREATE TABLE dummy (
configuration_id INT(11) NOT NULL AUTO_INCREMENT,
configuration_title TEXT NOT NULL,
configuration_key VARCHAR(255) NOT NULL DEFAULT '',
configuration_value TEXT NOT NULL,
configuration_description TEXT NOT NULL,
configuration_group_id INT(11) NOT NULL DEFAULT '0',
sort_order INT(5) NULL DEFAULT NULL,
last_modified DATETIME NULL DEFAULT NULL,
date_added DATETIME NOT NULL DEFAULT '0001-01-01 00:00:00',
use_function TEXT NULL,
set_function TEXT NULL,
configuration_tab VARCHAR(32) NOT NULL DEFAULT 'General'
)

My twelfth field is the configuration_tab and most are set to 'General'.

Our Site: http://zucando.com
Marketing Plugins: Marketing Modules
Free Response Templates: Responsive Templates

23 Nov 2013, 5:58 AM
#9
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

After manually inserting the above SQL statements, I am getting

Parse error: syntax error, unexpected '"' in /home/shtf-gear/htdocs/adminXXXXXXXXXXXXXXXXXX/configuration.php(179) : eval()'d code on line 1

Also, not see anything that can actually be configured in the admin pages.

Missing the true/false options.

Attachment 13391

23 Nov 2013, 6:02 AM
#10
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

SQL Uninstall does not work either.

15 Feb 2014, 9:32 PM
#11
k1ra avatar

k1ra

New Zenner

Join Date:
Jul 2013
Posts:
57
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

I downloaded the Wishlist from your site and installed CSS/JS Loader from the Plugins area on this site. The Wishlist seems to install, but nothing shows up in the Configuration menu and hitting the Add To Wishlist button just adds product to cart.

9 Dec 2014, 3:20 PM
#12
simpledomaining avatar

simpledomaining

New Zenner

Join Date:
May 2011
Posts:
89
Plugin Contributions:
0

Re: Wishlist 2.0 for ZC v1.5.x

k1ra:

I downloaded the Wishlist from your site and installed CSS/JS Loader from the Plugins area on this site. The Wishlist seems to install, but nothing shows up in the Configuration menu and hitting the Add To Wishlist button just adds product to cart.

When i click on "add to wishlist" button on 1.5.1. my product is being added to a cart and to a wishlist. Is there a way just to add product to a wishlist when "add to wishlist" button is clicked? thanks.