Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    Default Dual Pricing 1.7 error

    Hey guys

    When I try to install the Dual Pricing 1.7 mod, I get this error:

    1054 Unknown column 'discount_price_w' in 'products_discount_quantity'
    in:
    [ALTER TABLE products_discount_quantity ADD discount_price_w VARCHAR( 150 ) DEFAULT '0' AFTER discount_price_w;]
    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.

    Any idea? Unfortunately I have no idea what its talking about, nor do I know how to fix it.

    This is the last thing I need for this project to work!

    Thanks much!



    This is the SQL file info:

    ALTER TABLE `customers` ADD `customers_whole` VARCHAR( 4 ) DEFAULT '0' NOT NULL;
    ALTER TABLE `products` ADD `products_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `products_price`;
    ALTER TABLE `products_attributes` ADD `options_values_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `options_values_price`;
    ALTER TABLE `products_discount_quantity` ADD `discount_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `discount_price_w`;
    ALTER TABLE `customers` ADD `customers_wholesale` VARCHAR( 4 ) DEFAULT '0' NOT NULL AFTER `customers_whole`;


    Version 1.3.9h

  2. #2
    Join Date
    Dec 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Dual Pricing 1.7 error

    Here's the correct code =)

    For everyone that is having problems with this mod and the sql problem here is the correct code without the zen_ prefix and also the code WITH the zen prefix. Use the code WITHOUT the prefix if you are running this through the Tools>>Install SQL patches in the admin of your website:

    WITHOUT THE ZEN PREFIX:

    ALTER TABLE `customers` ADD `customers_whole` VARCHAR( 4 ) DEFAULT '0' NOT NULL;
    ALTER TABLE `products` ADD `products_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `products_price`;
    ALTER TABLE `products_attributes` ADD `options_values_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `options_values_price`;
    ALTER TABLE `products_discount_quantity` ADD `discount_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `discount_price`;
    ALTER TABLE `customers` ADD `customers_wholesale` VARCHAR( 4 ) DEFAULT '0' NOT NULL AFTER `customers_whole`;


    WITH ZEN PREFIX:

    ALTER TABLE `zen_customers` ADD `customers_whole` VARCHAR( 4 ) DEFAULT '0' NOT NULL;
    ALTER TABLE `zen_products` ADD `products_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `products_price`;
    ALTER TABLE `zen_products_attributes` ADD `options_values_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `options_values_price`;
    ALTER TABLE `zen_products_discount_quantity` ADD `discount_price_w` VARCHAR( 150 ) DEFAULT '0' AFTER `discount_price`;
    ALTER TABLE `zen_customers` ADD `customers_wholesale` VARCHAR( 4 ) DEFAULT '0' NOT NULL AFTER `customers_whole`;

  3. #3
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Dual Pricing 1.7 error

    Hey there

    First, thanks much for the help! That was perfect, and the SQL stuff worked perfectly.

    However...

    the mod doesn't seem to work. It hasn't changed anything. I've uploaded the files, and from what I understand I've done what it says to add in WHOLESALE (editing a customer, for example) and theres nowhere to add in the wholesale option.

    Any ideas? Does this thing work?

  4. #4
    Join Date
    Dec 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Dual Pricing 1.7 error

    Are you not seeing where to add in the wholesale pricing?
    Let us know! Also....did you make sure and double check that all the files got uploaded. Always best to go through and re-load them all, just in case one got missed =)

    =0)

  5. #5
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Dual Pricing 1.7 error

    I'm not actually seeing anything anywhere. As I understand it, there should be a new box under a customers email address when I edit them in the admin panel. There isn't. Theres also no change to the product info layout page in the admin panel.

    Not sure if I am missing something....

    I've just reuploaded everything, and still no change. Used the latest files too, with the fix to the SQL above.


    Thanks very much for your help so far, its very appreciated!

  6. #6
    Join Date
    Dec 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Dual Pricing 1.7 error

    how to install Dual Pricing ? thx

 

 

Similar Threads

  1. [Dual Pricing Error] 1054 Unknown column 'COWOA_account' in 'where clause'
    By solarguy in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 9 May 2011, 03:28 AM
  2. 1064 Error - dual pricing mod
    By pidotcr in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 29 Aug 2007, 05:28 PM
  3. Dual Pricing Module & Dual Tax Classes
    By WILL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 25 May 2007, 10:44 PM
  4. dual pricing warnig message: error
    By blainbci in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 9 Feb 2007, 02:43 PM
  5. Bulk Order Dual Pricing ERROR HELP
    By justin.turner in forum Addon Payment Modules
    Replies: 2
    Last Post: 20 Aug 2006, 02:20 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