I just installed the latest version 0.9 on 1.54. In the admin. I see the admin>configuration>wish list module but isn't there supposed to be another link in admin>extras>wishlists (so you can see customers wishlists and delete them if they are old)? i don't see that link and i triple checked that the files were uploaded to the correct directory. thank you.
For anyone interested, I have a version with fixes for CSS buttons and for the Add to Cart when clicking the Add to Wishlist button. If you are interested in TESTING it, please PM me. It is NOT ready for a lives sites.
I might be interested IF it works in 1.3.9 (right now am in this version but....) things are acting strange with the software so maybe I will need to go to 1.5.4 providing all my mods work in it now..LOL
I started using zen cart recently, Installed wishlist 0.9. However I can't create new wishlist, it seems it has something to do with this code.
please any help will be appreciated.
/**
* create a new wishlist
*
* @param string $name name for wishlist
# @param string $comment comment for wishlist
# @param boolean $default indicates default wishlist for customer
* @return integer $iWishlistId unique wishlist identifier
* @access public
/*----------------------------------------------------------*/
function createWishlist($name='', $comment='', $default_status=0, $public_status=1) {
if ( !isset($this->_iCustomerId) ) {
return false;
}
$sql = "INSERT INTO '" . UN_TABLE_WISHLISTS . "' (
`id`,
`customers_id`,
`created`,
`modified`,
`name`,
`comment`,
`default_status`,
`public_status`
) VALUES (
NULL,
'".$this->_iCustomerId."',
NOW(),
NOW(),
'".$name."',
'".$comment."',
'".$default_status."',
'".$public_status."'
)";
$result = $this->_oDB->Execute($sql);
if ( !$result ) {
$this->_oMessages->add($this->_sName, UN_ERROR_CREATE_WISHLIST);
return false;
}
return $this->_oDB->Insert_ID();
}
Bookmarks