Page 29 of 32 FirstFirst ... 192728293031 ... LastLast
Results 281 to 290 of 312
  1. #281
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    manojlo,

    then there is an error in your SQL. please post it so I can look at it.

  2. #282
    Join Date
    Dec 2006
    Posts
    199
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Just having a quick go at this since a good customer asked. Nice bit of codework! I'll be tweaking it to fit my store. Something I'll add in tpl_account_default.php is this:

    PHP Code:
    <h2>Wishlist</h2>
    <ul id="myAccountGen" class="list">
    <a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST'''SSL'); ?>"><?php echo UN_HEADER_TITLE_WISHLIST?></a>
    </ul>
    Seems like a better place than the header to me. I'll also place the Add to Wishlist link by the Add to Cart button instead of the sidebox. Seems more logical. Thanks for giving the code bit for that!

    Thanks, JT! I'll be donating!

  3. #283
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    brushwoodnursery, glad you are enjoying the mod and customizing to your needs! I will keep your ideas in mind for the next release of Wishlist. Thanks for the donation :)

  4. #284
    Join Date
    Dec 2010
    Location
    Belgrade
    Posts
    15
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    This is the error I am having:

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

    This is part from configure.php file:
    Code:
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', 'zc_testshop_cors');
    And this is un_whislist.sql:
    Code:
    # WishList v0.5 SQL Load for MySQL databases
    
    
    # --------------------------------------------------------
    #
    # Table structure for table un_wishlists
    #
    
    DROP TABLE IF EXISTS `zc_testshop_cors_un_wishlists`;
    CREATE TABLE `zc_testshop_cors_un_wishlists` (
      `id` int(11) NOT NULL auto_increment,
      `customers_id` int(11) NOT NULL default '0',
      `created` datetime NOT NULL default '0000-00-00 00:00:00',
      `modified` datetime NOT NULL default '0000-00-00 00:00:00',
      `name` varchar(255) default NULL,
      `comment` varchar(255) default NULL,
      `default_status` tinyint(1) NOT NULL default '0',
      `public_status` tinyint(1) NOT NULL default '1',
      PRIMARY KEY  (`id`)
    ) TYPE=MyISAM;
    
    
    # --------------------------------------------------------
    #
    # Table structure for table un_products_to_wishlists
    #
    
    DROP TABLE IF EXISTS `zc_testshop_cors_un_products_to_wishlists`;
    CREATE TABLE `zc_testshop_cors_un_products_to_wishlists` (
      `products_id` int(11) NOT NULL default '0',
      `un_wishlists_id` int(11) NOT NULL default '0',
      `created` datetime NOT NULL default '0000-00-00 00:00:00',
      `modified` datetime NOT NULL default '0000-00-00 00:00:00',
      `quantity` int(2) NOT NULL default '1',
      `priority` int(1) NOT NULL default '2',
      `comment` varchar(255) default NULL,
      PRIMARY KEY  (`products_id`,`un_wishlists_id`)
    ) TYPE=MyISAM;
    This is the URL of my test website where I have promlems:
    http://testshop.internet.co.rs

    I have done everything from installation instructions and still nothjng... I have ‘Add to WhisList’ button, I also see the wishlist sidebox, but when I click on ‘Add to WhisList’ it breaks...

    Please, I WILL KILL MY SELF!

  5. #285
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    manojlo_bg, ok, here are a couple items to check:

    1. check your mysql database. does the database "internet_co_rs" exist? does the table "un_wishlists" exist?
    2. Did you change the db prefix in the includes/extra_datafiles/un_database_tables.php?

    Also, I noticed the graphic is missing for your Wishlist button. Make sure you upload it to includes/templates/YOUR_TEMPLATE/buttons/LANGUAGE/wishlist_add.gif

    where
    YOUR_TEMPLATE = the name of your template (looks like you're using template_default)
    LANGUAGE = your default language (english or other)
    Last edited by jackie.taferner; 27 Dec 2010 at 08:46 PM.

  6. #286
    Join Date
    Dec 2010
    Location
    Belgrade
    Posts
    15
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Yeah, here it is
    Code:
    define('DB_DATABASE', 'internet_co_rs');
      define('USE_PCONNECT', 'false');
      define('STORE_SESSIONS', 'db');
    Table un_whishlist exist when I checked in PhpMyAdmin, and it was with db prefix...

    I also added that prefix in include/extra_datafiles/un_database_tables.php

    It breaks when I click 'Add to whishlist'...

    What am I doing wrong?!@$#$@

  7. #287
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    ok, please check spelling make sure it's "wishlist" and not "whishlist"

    your code appears to be from a different file. Please make sure you checked this file for proper table prefixes.

    includes/extra_datafiles/un_database_tables.php

    Code:
    define('UN_TABLE_WISHLISTS', 'un_wishlists');
    define('UN_TABLE_PRODUCTS_TO_WISHLISTS', 'un_products_to_wishlists');

  8. #288
    Join Date
    Dec 2010
    Location
    Belgrade
    Posts
    15
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Code:
    <?php
    
    // Wishlist
    define('ZC_TESTSHOP_CORS_UN_TABLE_WISHLISTS', 'zc_testshop_cors_un_wishlists');
    define('ZC_TESTSHOP_CORS_UN_TABLE_PRODUCTS_TO_WISHLISTS', 'zc_testshop_cors_un_products_to_wishlists');
    
    ?>
    or like this:

    Code:
    <?php
    
    // Wishlist
    define('UN_TABLE_WISHLISTS', 'zc_testshop_cors_un_wishlists');
    define('UN_TABLE_PRODUCTS_TO_WISHLISTS', 'zc_testshop_cors_un_products_to_wishlists');
    
    ?>
    I have tried both, and still nothing... It keeps telling me that table does not exist in the database.

    Ok, can we go from the beginning, again?

    1. Run 'un_whishlist.sql' with added prefixes:
    lines 9 and 10:
    Code:
    DROP TABLE IF EXISTS `zc_testshop_cors_un_wishlists`;
    CREATE TABLE `zc_testshop_cors_un_wishlists` (
    and lines 28 and 29:
    Code:
    DROP TABLE IF EXISTS `zc_testshop_cors_un_products_to_wishlists`;
    CREATE TABLE `zc_testshop_cors_un_products_to_wishlists` (
    2. Upload all files - done!

    3. Activated sidebox - done!

    ?

  9. #289
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Yes, it should be like the second code example.

    Try clearing your browser cache and test again to see if it helps?

    I dont know what else the problem could be... perhaps you may find it easier to install your zen cart without table prefixes and use the Wishlist with no table modifications.

  10. #290
    Join Date
    Dec 2010
    Location
    Belgrade
    Posts
    15
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.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

 

 
Page 29 of 32 FirstFirst ... 192728293031 ... LastLast

Similar Threads

  1. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  2. 1.3 Compatible Contributions
    By borzoid in forum All Other Contributions/Addons
    Replies: 83
    Last Post: 26 Apr 2009, 11:50 PM
  3. MZMT compatible?
    By robeartoesart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Oct 2006, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg