Page 8 of 23 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 224
  1. #71
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Ok. This is from the biggest log I have and I've removed a bit of the cache_data = "info".

    [03-May-2012 05:18:27] PHP Fatal error: 1062uplicate entry 'zc_3d63152cab3e001e45db0f8214ae796d' for key 'PRIMARY' :: insert into znc_db_cache set cache_entry_name = 'zc_3d63152cab3e001e45db0f8214ae796d',
    cache_data = ( removed from here )
    cache_entry_created = '1336043907' in /home3/username/public_html/domain_name.com/includes/classes/db/mysql/query_factory.php on line 101

    Now, I've removed the files and have done a restore of the database and here's what I see now.

    [03-May-2012 06:24:56] PHP Fatal error: 1146:Table 'theburg2_znc1.znc_customers_basket_later' doesn't exist :: select products_id, customers_basket_quantity
    from znc_customers_basket_later
    where customers_id = '2' in /home3/username/public_html/domain_name.com/includes/classes/db/mysql/query_factory.php on line 101


    Now, I'm no sql programmer nor do I know much about php but if you hum a few lines I can follow along.

    Thanks for your help.
    Last edited by Ajeh; 2 Aug 2012 at 06:15 PM.

  2. #72
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,304
    Plugin Contributions
    125

    Default Re: Save For Later Support Thread

    The second one is the relevant log. You forgot to create the tables. See step 3 in the instructions.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #73
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    I did create the tables and we have a prefix on the table structure of znc_ so i prepended that to the mysql_slf.sql file here:

    DROP TABLE IF EXISTS znc_customers_basket_later;
    CREATE TABLE znc_customers_basket_later

    and here:

    DROP TABLE IF EXISTS znc_customers_basket_later_attributes;
    CREATE TABLE znc_customers_basket_later_attributes (

    Now, those are the only 2 places I put that in and I copied and pasted the entire statement into the "Install SQL Patch" window and sent it. I was given a ( 4 lines processed ) message and then things didn't work.

    So, I restored the database that I had backed up approximately 10 minutes before and removed all the files I copied in.

    So Doc, what's the prognosis?

  4. #74
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,304
    Plugin Contributions
    125

    Default Re: Save For Later Support Thread

    If you use the Install SQL Patches facility under Tools, you should *not* manually add your own prefix. Install SQL Patches does this for you.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #75
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Then should I try just adding the mysql_sfl.sql ( the unchanged version ) again and retry the files?

  6. #76
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    I got it to work properly and thanks for your help.

    But I have one more question. Is there a way for the Save for Later to Total what is in there? For Example, I have 1 item at 2.00 and 1 item at 4.00 and so on. Can it be made to total what is in the saved cart?

    Thanks again for your help.

  7. #77
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,304
    Plugin Contributions
    125

    Default Re: Save For Later Support Thread

    No. There's no easy mechanism to arrive at a total for items which are not in the cart.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #78
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Q: How can I find how many people are using Save For Later?
    A: Run the following query against your database in phpMyAdmin:

    SELECT count(DISTINCT customers_id), count(distinct products_id) from customers_basket_later;
    Is there a way to do this from install SQL Patches?

  9. #79
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,304
    Plugin Contributions
    125

    Default Re: Save For Later Support Thread

    Quote Originally Posted by techextreme View Post
    Is there a way to do this from install SQL Patches?
    No. Install SQL Patches is for running SQL patches, not getting query results.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #80
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Ok. I have one more question.

    I'm wondering if it's possible to add a "Save For Later" button next to each product somewhere near the "Add To Cart" Button.

    The only reason I'm asking is this would make it simpler for logged in customers to create their "wish list" or "Save for Later" list instead of having to add them to the cart first.

    Thanks in advance.

 

 
Page 8 of 23 FirstFirst ... 67891018 ... LastLast

Similar Threads

  1. v150 Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 150
    Last Post: 17 Nov 2024, 09:29 PM
  2. v151 Autoresponder+ for ZCv1.5.x [Support Thread]
    By countrycharm in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 19 May 2019, 04:39 PM
  3. Autoresponder+ for ZC v1.3.x [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 229
    Last Post: 28 Jun 2017, 12:32 AM
  4. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 AM
  5. Image Handler / Tabbed Products Pro ... and Save for Later
    By ksoup in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 Jan 2011, 12:11 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR