Page 76 of 123 FirstFirst ... 2666747576777886 ... LastLast
Results 751 to 760 of 1222
  1. #751
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    I deleted all the files from the mod. I'm not familiar with SQL, but I am good at following instructions...if it's not too complicated to undo/delete the patch and if it's even necessary (I don't want it to interfere with any other mods/adjustments down the road).

    Robbie

  2. #752
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    I deleted all the files from the mod. I'm not familiar with SQL, but I am good at following instructions...if it's not too complicated to undo/delete the patch and if it's even necessary (I don't want it to interfere with any other mods/adjustments down the road).

    Robbie

  3. #753
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    You would need to enter these SQL commands the same as you did for the original installation. That is, open the admin panel, open Tools -> Install SQL Patches. Copy the three lines below into the text box and hit 'send'.

    IMPORTANT! You need to be sure to substitue "zc_" in the three lines below with whatever you used for your table prefix.

    ALTER TABLE zc_customers DROP COWOA_account;
    ALTER TABLE zc_orders DROP COWOA_order;
    DELETE FROM zc_query_builder WHERE query_name = 'Permanent Account Holders Only';

  4. #754
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    I only used whatever the mod gave me. Just to be 100% certain, here's the sql from the mod that was patched in:

    ALTER TABLE customers ADD COWOA_account tinyint(1) NOT NULL default 0;
    ALTER TABLE orders ADD COWOA_order tinyint(1) NOT NULL default 0;
    INSERT INTO query_builder ( query_id , query_category , query_name , query_description , query_string ) VALUES ( '', 'email,newsletters', 'Permanent Account Holders Only', 'Send email only to permanent account holders ', 'select customers_email_address, customers_firstname, customers_lastname from TABLE_CUSTOMERS where COWOA_account != 1 order by customers_lastname, customers_firstname, customers_email_address');


    So I would replace your "zc_" with....I have no idea!

    ALTER TABLE zc_customers DROP COWOA_account;
    ALTER TABLE zc_orders DROP COWOA_order;
    DELETE FROM zc_query_builder WHERE query_name = 'Permanent Account Holders Only';

    Robbie

  5. #755
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    When you set up Zen Cart, it asks you to specify a "database prefix". It is optional. If the commands that you executed before worked successfully just as you have noted them in your last post, then you don't have a database prefix.

    But you should really make sure before proceeding:

    I could not figure out any way in the Admin to see what the database prefix is. The only way that I know of is to look at this file:
    includes/configure.php

    If you know how to open that and look at it, scroll down to near the bottom to find the line that defines "DB_PREFIX". For me, it's defined to 'zc_'. If you didn't set up a prefix, yours should be defined to ''. In that case, this is the SQL that you want to execute.

    Code:
    ALTER TABLE customers DROP COWOA_account;
    ALTER TABLE orders DROP COWOA_order;
    DELETE FROM query_builder WHERE query_name = 'Permanent Account Holders Only';
    If it IS defined to something other than blank, let me know what it is. I'd be surprised because in that case the queries that you noted above should not have worked.

    Let me know how you make out.

  6. #756
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    I appreciate your help. Now I understand the prefix. I made it "zen_" when I installed the cart. So I changed your zc_ to zen_ and tried to patch it in and got this message:

    1146 Table 'alexcagift.zen_zen_customers' doesn't exist
    in:
    [show fields from zen_zen_customers]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    I added the original patch from this mod as is, without adjusting any text. So now I should try your code without any prefix? I trust that this won't cause any problem which I'm trying to avoid.

    R

  7. #757
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Yes, that will work. I actually don't use the Admin to do SQL changes, but now I understand that it automatically tacks on the prefix for you. SO ... yes, use my code without any prefixes.

    I apologize for my confusion!

  8. #758
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Okay, that worked. Thanks!

    Now let me know (hee-hee) if you're familiar with the Easy Sign-Up and Login mod, as I decided to go with that one and can't figure out something in the installation. ...And no response yet from the thread on his special site.

    R

  9. #759
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Sorry - no experience with that one. I've only used COWOA.

  10. #760
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    After doing that sql patch, I went to purchase a test item and, whether I entered my own made-up exisiting customer id or tried to create a new acc't, I got the following:

    1054 Unknown column 'COWOA_account' in 'where clause'
    in:
    [select count(*) as total from zen_customers where customers_email_address =

    This didn't happen last night. Any ideas? I'm thinking with this one I deleted (supposedly), installing two versions of Fast And Easy Checkout and not finishing the install of Easy Sign Up and Login, that I might as well delete everything, re-upload the untampered saved files and restore the database backup from right before all this.

    R

 

 
Page 76 of 123 FirstFirst ... 2666747576777886 ... LastLast

Similar Threads

  1. Checkout without account problem
    By weblasomnath in forum Addon Templates
    Replies: 0
    Last Post: 23 Nov 2010, 02:56 PM
  2. Checkout without account
    By GDOrn in forum All Other Contributions/Addons
    Replies: 194
    Last Post: 14 Sep 2010, 08:05 PM
  3. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  4. question about the checkout without account mod
    By hxkknba in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Oct 2009, 05:48 PM
  5. Changing checkout flow with Checkout Without Account (COWOA)?
    By pe7er in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Feb 2008, 06:09 PM

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