If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Started by divavocals on 4 Dec 2010, 6:07 PM · Views: 84,221

Results 481 to 500 of 660
2 Jul 2012, 4:10 PM
#481
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

delia:

with the quotes folks! Thanks D

Okay, so this client installed edit orders for 1.3.9h and it was working. Then I installed the login as customer. There does not look to be any commonality in changes between the 2. Somewhere after his installation and maybe after my installation, edit orders started zeroing out the total when changing the order status. Does anyone remember this happening? I saw one post who said it happened to them but no one ever replied to that post.

No other file changes, but he did play with some order total things like turning off the sub-total. Could a change in admin settings cause problems?Like any other problem, unless it can be consistently replicated by more than one person it's difficult to pinpoint the issue.. That said, I've never run across this particular behavior at all..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Jul 2012, 4:30 PM
#482
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Thanks. So we will look elsewhere!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jul 2012, 4:40 PM
#483
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

delia:

Thanks. So we will look elsewhere!Wish I could have been more help.. :(

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Jul 2012, 7:14 PM
#484
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

But I figured it out - I uploaded the files again to be sure they were all there but it wasn't until I turned the subtotals back on and I did a new order did it work. So looks like turning off the subtotals screwed things up. Doesn't make any sense to me but it is working again.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jul 2012, 7:28 PM
#485
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

delia:

But I figured it out - I uploaded the files again to be sure they were all there but it wasn't until I turned the subtotals back on and I did a new order did it work. So looks like turning off the subtotals screwed things up. Doesn't make any sense to me but it is working again.This is good information to note, and I'll figure out the best way to add it to the readme for the new version..

Out of curiosity, why would your client want to turn off the subtotals??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Jul 2012, 7:36 PM
#486
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

um, because he didn't know any better? They are using the cart in an odd fashion so he turned off a lot of things. Never seen anyone do that before though.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jul 2012, 8:24 PM
#487
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

delia:

um, because he didn't know any better? They are using the cart in an odd fashion so he turned off a lot of things. Never seen anyone do that before though.
:laugh::laugh::laugh: Oh.. Okay.. Got it.. I just wanted to make sure I wasn't missing some special use case I didn't know about.. Sounds like this is not something I even need to document.. unless I was documenting all the things NOT to do.. :laugh::laugh::laugh:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Jul 2012, 10:37 PM
#488
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I'm glad I can make someone laugh today! Thanks again, dearie!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

3 Jul 2012, 12:09 AM
#489
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

futurist71:

Hi All,

I'm running 1.3.9h no Super Orders or Tracker installed. I'm using Edit Orders v3.0. I have read about what's happening to me in this thread but there is no answer. I just have Spanish Language and English installed, the main language is Spanish, the problem is when Adding a Product, I select Category --- Subcategory and when displaying products they are displayed in mixed language, the first 3 products are displayed in Spanish then the next 5 are in English. What should I modify?

Regards.

I'm having this exact same problem, but with French. When adding a product to an order, some of the products are showing in English and some are in French. My default admin language is English. Is there any way to force Edit Orders to use the English language only?

3 Jul 2012, 12:27 AM
#490
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

abcisme:

I'm having this exact same problem, but with French. When adding a product to an order, some of the products are showing in English and some are in French. My default admin language is English. Is there any way to force Edit Orders to use the English language only?

Here's a screenshot of what I mean:

Attachment 10735

There doesn't seem to be any rhyme or reason to it.

3 Jul 2012, 1:13 AM
#491
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Greetings;

I am getting the following error on top of the page, am i suppose to follow the instructions and delete the file;

Error The auto-loader /home/delights/public_html/store/****/includes/auto_loaders/config.eo.php has not been deleted. For this module to work you must delete this file manually.

3 Jul 2012, 1:41 AM
#492
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

abcisme:

I'm having this exact same problem, but with French. When adding a product to an order, some of the products are showing in English and some are in French. My default admin language is English. Is there any way to force Edit Orders to use the English language only?

Not sure if this is the correct code to modify, but can it be modified to somehow specify to select only products with a specific language_id?

		// ############################################################################
	//   Get List of All Products
	// ############################################################################

	//$result = zen_db_query("SELECT products_name, p.products_id, x.categories_name, ptc.categories_id FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON pd.products_id=p.products_id LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " cd ON cd.categories_id=ptc.categories_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " x ON x.categories_id=ptc.categories_id ORDER BY categories_id");
		$result = $db -> Execute("SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON pd.products_id=p.products_id LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " cd ON cd.categories_id=ptc.categories_id ORDER BY categories_name");
		#hile($row = zen_db_fetch_array($result)) 		{
      while (!$result -> EOF){
 		   extract($result->fields,EXTR_PREFIX_ALL,"db");
			$ProductList[$db_categories_id][$db_products_id] = $db_products_name;
			$CategoryList[$db_categories_id] = $db_categories_name;
			$LastCategory = $db_categories_name;
         $result -> MoveNext();
		}

		// ksort($ProductList);

		$LastOptionTag = "";
		$ProductSelectOptions = "<option value='0'>Don't Add New Product" . $LastOptionTag . "\n";
		$ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
		foreach($ProductList as $Category => $Products)
		{
			$ProductSelectOptions .= "<option value='0'>$Category" . $LastOptionTag . "\n";
			$ProductSelectOptions .= "<option value='0'>---------------------------" . $LastOptionTag . "\n";
			asort($Products);
			foreach($Products as $Product_ID => $Product_Name)
			{
				$ProductSelectOptions .= "<option value='$Product_ID'>   $Product_Name" . $LastOptionTag . "\n";
			}

			if($Category != $LastCategory)
			{
				$ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
				$ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
			}
		}
	// ############################################################################
	//   Add Products Steps
	// ############################################################################
3 Jul 2012, 6:18 AM
#493
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Wish I could help, but the answer is a LOT over my head.. Hopefully someone else in the community knows the answer and will share..

abcisme:

Not sure if this is the correct code to modify, but can it be modified to somehow specify to select only products with a specific language_id?

    // ############################################################################
//   Get List of All Products
// ############################################################################

//$result = zen_db_query("SELECT products_name, p.products_id, x.categories_name, ptc.categories_id FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON pd.products_id=p.products_id LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " cd ON cd.categories_id=ptc.categories_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " x ON x.categories_id=ptc.categories_id ORDER BY categories_id");
    $result = $db -> Execute("SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON pd.products_id=p.products_id LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " cd ON cd.categories_id=ptc.categories_id ORDER BY categories_name");
    #hile($row = zen_db_fetch_array($result))         {
  while (!$result -> EOF){
        extract($result->fields,EXTR_PREFIX_ALL,"db");
        $ProductList[$db_categories_id][$db_products_id] = $db_products_name;
        $CategoryList[$db_categories_id] = $db_categories_name;
        $LastCategory = $db_categories_name;
     $result -> MoveNext();
    }

    // ksort($ProductList);

    $LastOptionTag = "";
    $ProductSelectOptions = "<option value='0'>Don't Add New Product" . $LastOptionTag . "\n";
    $ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
    foreach($ProductList as $Category => $Products)
    {
        $ProductSelectOptions .= "<option value='0'>$Category" . $LastOptionTag . "\n";
        $ProductSelectOptions .= "<option value='0'>---------------------------" . $LastOptionTag . "\n";
        asort($Products);
        foreach($Products as $Product_ID => $Product_Name)
        {
            $ProductSelectOptions .= "<option value='$Product_ID'>   $Product_Name" . $LastOptionTag . "\n";
        }

        if($Category != $LastCategory)
        {
            $ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
            $ProductSelectOptions .= "<option value='0'> " . $LastOptionTag . "\n";
        }
    }
// ############################################################################
//   Add Products Steps
// ############################################################################

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Jul 2012, 3:58 PM
#494
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

Wish I could help, but the answer is a LOT over my head.. Hopefully someone else in the community knows the answer and will share..

Man, I hope so. I just don't understand why it's showing some products listed in English and some in French. It makes no sense. There must be some way to compile the product list in only one language, using a "WHERE language_id = 1" condition in that query somewhere.. I just have NO CLUE what the syntax would be or how to go about implementing it. I'm kind of glad to know it isn't just me having the problem though.

3 Jul 2012, 6:36 PM
#495
chava1106 avatar

chava1106

New Zenner

Join Date:
Jun 2012
Posts:
21
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

does anyone know of anyway to make this work for version 1.5?

Its really important!!!!

3 Jul 2012, 6:39 PM
#496
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

chava1106:

does anyone know of anyway to make this work for version 1.5?

Its really important!!!!

Did you read post #470? It's only three pages back.

3 Jul 2012, 7:35 PM
#497
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

laurelsstitchery:

Did you read post #470? It's only three pages back.Which is again why I always suggest reading through the support threads BEFORE posting...:smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Jul 2012, 7:43 PM
#498
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

abcisme:

Man, I hope so. I just don't understand why it's showing some products listed in English and some in French. It makes no sense. There must be some way to compile the product list in only one language, using a "WHERE language_id = 1" condition in that query somewhere.. I just have NO CLUE what the syntax would be or how to go about implementing it. I'm kind of glad to know it isn't just me having the problem though.

I found someone who could help me sort out this issue. Here is the fix to make it show only the default language, which in my case was language ID 1. If your language ID is something else, change language_id=1 to language_id=YOUR_ID

in admin/edit_orders.php

REPLACE:

$result = $db -> Execute("SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON pd.products_id=p.products_id LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . TABLE_CATEGORIES_DESCRIPTION . " cd ON cd.categories_id=ptc.categories_id ORDER BY categories_name");

WITH:

$result = $db -> Execute("SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM zen_products p LEFT JOIN zen_products_description pd ON pd.products_id=p.products_id LEFT JOIN zen_products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN zen_categories_description cd ON cd.categories_id=ptc.categories_id WHERE pd.language_id=1 ORDER BY categories_name");

THEN REPLACE:

$result = $db -> Execute("SELECT * FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa LEFT JOIN " . TABLE_PRODUCTS_OPTIONS . " po ON po.products_options_id=pa.options_id LEFT JOIN " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov ON pov.products_options_values_id=pa.options_values_id WHERE products_id='$add_product_products_id'");

WITH:

$result = $db -> Execute("SELECT * FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa LEFT JOIN " . TABLE_PRODUCTS_OPTIONS . " po ON po.products_options_id=pa.options_id LEFT JOIN " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov ON pov.products_options_values_id=pa.options_values_id WHERE products_id='$add_product_products_id' AND pov.language_id=1 AND po.language_id=1"); 
6 Jul 2012, 8:01 PM
#499
ted avatar

ted

Zen Follower

Join Date:
Jan 2004
Location:
Arkansas
Posts:
100
Plugin Contributions:
1

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

chava1106:

does anyone know of anyway to make this work for version 1.5?

Its really important!!!!

The new version Diva has on the website works fine, just installed and used it. So you can wait until they get the readmes tweaked and it gets in the Zen Plugins as stated or download it from the website. I had no problems installing and using the current install instructions.

Ted
Never say never, it's only a matter of time, energy and asking the right person the right question!

6 Jul 2012, 8:12 PM
#500
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

Yes this was already brought to my attention.. Will update the package later this evening..

re: post #474 - has the package been updated? if so, do I just install over the old files with the auto installer again? let me know. thanks so much! :)