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,220

Results 621 to 640 of 660
20 Sep 2012, 1:12 AM
#621
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

DivaVocals:

Yes that solves this one file.. the other files are not as clear cut as there seem to be pluses where no actual change occurred.. I really dunno what to do here.. In the name of expediency I may have to skip all of these patches and come back at them later.. It's taken me long enough to update the readme, and I simply do not have time to figure out these files to get down to the actual changes..:no:

Post them, I'll help you, shouldn't take long. Or, PM for my email and send them to me, I'll do it, should be a quick edit since I am familiar with this.


Zen Cart and it's community are the best!!

18 Oct 2012, 6:14 PM
#623
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]

Found one additional change that needs to be made.

In YOUR_ADMIN_FOLDER/edit_orders.php:

Find:

$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='$regular_product_id' ");

Replace it 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='$regular_product_id' AND pov.language_id = '" . (int)$_SESSION['languages_id'] . "' AND po.language_id = '" . (int)$_SESSION['languages_id'] . "'");

DivaVocals:

If the code above works (and I haven't tested it to know if it resolved the issues it was supposed to resolve) I believe that the code below is the better way of going about this.. I haven't tested this and I'll need someone to grade my homework and let me know if I got this right.. It should avoid anyone having to hard code in table names and language IDs. (which the posted code does and is not recommended) I've included the approximate line numbers to make finding things easier..

in YOUR_ADMIN_FOLDER/edit_orders.php

Around line 2267 find:

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

    $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");
> 
> Replace with:
> ```php
    // ############################################################################
    //   Get List of All Products
    // ############################################################################

        $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 where pd.language_id = '" . (int)$_SESSION['languages_id'] . "' ORDER BY categories_name");

Around line 2371 find:

        // Get Options for Products
        $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'"); 
> 
> Replace with:
> ```php
            // Get Options for Products
            $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 = '" . (int)$_SESSION['languages_id'] . "' AND po.language_id = '" . (int)$_SESSION['languages_id'] . "'"); 
10 Dec 2012, 10:30 PM
#624
drbyday avatar

drbyday

New Zenner

Join Date:
Mar 2008
Posts:
50
Plugin Contributions:
0

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

I have stock enabled on my store.

When adding a product, is it possible to only be able to select products from the dropdown that are:

a) Enabled Status
b) QYT > 0

That would be great.

21 Dec 2012, 8:10 PM
#625
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

HELP! Does anyone have the instructions for upgrading edit orders 1.53 in Zencart 1.39h to latest edit orders v3.0? the read me file does not have info on it. the installation link in the readme file doesn't work.

21 Dec 2012, 8:58 PM
#626
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]

twi:

HELP! Does anyone have the instructions for upgrading edit orders 1.53 in Zencart 1.39h to latest edit orders v3.0? the read me file does not have info on it. the installation link in the readme file doesn't work.
You need to UNZIP the files to view the readme. The instructions are there..

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.

21 Dec 2012, 11:33 PM
#627
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

Thanks for the speedy reply.
I have unzipped the file and opened the readme.html file/page. Somehow the link that says " installation" doesn't take me anywhere when clicked. I know it's supposed to. But it doesn't.
Are the instructions somewhere else that I can have other than from there?

Also, I have Ty Tracker V2.3a installed on Zencart 1.39h, with Edit Orders 1.5.3 installed as well. Edit ORders 1.5.3 does not work with adding products.

So How do I go about solving this problem?

Do I have to upgrade Ty Tracker from V2.3a to which version before upgrading to Edit Orders v3.03?
Or can I just upgrade to Edit Orders v3.03?

Any help and direction is greatly appreciated.

p.s.

I am able to get the instructions now. But still need some guidance in upgrading to Edit order v3.03

22 Dec 2012, 2:27 AM
#628
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]

twi:

Thanks for the speedy reply.
I have unzipped the file and opened the readme.html file/page. Somehow the link that says " installation" doesn't take me anywhere when clicked. I know it's supposed to. But it doesn't.
Are the instructions somewhere else that I can have other than from there?

Also, I have Ty Tracker V2.3a installed on Zencart 1.39h, with Edit Orders 1.5.3 installed as well. Edit ORders 1.5.3 does not work with adding products.

So How do I go about solving this problem?

Do I have to upgrade Ty Tracker from V2.3a to which version before upgrading to Edit Orders v3.03?
Or can I just upgrade to Edit Orders v3.03?

Any help and direction is greatly appreciated.

p.s.

I am able to get the instructions now. But still need some guidance in upgrading to Edit order v3.03
I assume you realized that you have to unzip the WHOLE Edit Orders fileset file and not just the one readme HTML file in order to properly read the readme that is included.

That said, since the installation instructions were written with a fair amount of detail in them, I am not entirely sure how to answer your questions.

Have you attempted to to the upgrade following the instructions provided?? If so what issues are you having?? Is Edit Orders not working after you upgrade it?? Are you getting errors after the upgrade??

Honestly your questions are a tad too broad at this point.

The readme is quite detailed and if you are not clear on the instructions I need to know what you are getting hung up on to help.. Based on your posts so far, my answers will only consist of posting what was already written in the readme file (which I will not do). So it will help a lot if you can let me know what part of the installation instructions are not clear for you and then we might be able to move forward. I want to help, but the readme does answer the questions you've posted thus far.

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.

22 Dec 2012, 3:04 PM
#629
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

[QUOTE=DivaVocals;1173451]I assume you realized that you have to unzip the WHOLE Edit Orders fileset file and not just the one readme HTML file in order to properly read the readme that is included.

**Yes. I have done that and able to read the instructions according to info you previously offered in your reply.
That said, since the installation instructions were written with a fair amount of detail in them, I am not entirely sure how to answer your questions.

Have you attempted to to the upgrade following the instructions provided?? If so what issues are you having?? Is Edit Orders not working after you upgrade it?? Are you getting errors after the upgrade??

I have not attempted to upgrade yet. Since my site is live and doing business now, I can't afford to have it go down if something goes wrong. I had edit orders 1.53 installed for some time ago and found out "add products" doesn't work with Zencart 1.39h. But never had the time to upgrade it.

**My real questions are: **

Is edit orders 3.03 for zencart 1.39h competible with Ty Tracker V2.3a (already installed on ZC 1.3.9h)?

If edit orders v 30.3 is not competible with Ty Tracker V2.3a, **do I have to upgrade Ty Tracker 2.3a **to a version that is competible with ZC 1.39h before upgrading to Edit orders 3.03?

22 Dec 2012, 4:11 PM
#630
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]

twi:

DivaVocals:

I assume you realized that you have to unzip the WHOLE Edit Orders fileset file and not just the one readme HTML file in order to properly read the readme that is included.

Yes. I have done that and able to read the instructions according to info you previously offered in your reply.
That said, since the installation instructions were written with a fair amount of detail in them, I am not entirely sure how to answer your questions.

Have you attempted to to the upgrade following the instructions provided?? If so what issues are you having?? Is Edit Orders not working after you upgrade it?? Are you getting errors after the upgrade??

I have not attempted to upgrade yet. Since my site is live and doing business now, I can't afford to have it go down if something goes wrong. I had edit orders 1.53 installed for some time ago and found out "add products" doesn't work with Zencart 1.39h. But never had the time to upgrade it.

**My real questions are: **

Is edit orders 3.03 for zencart 1.39h competible with Ty Tracker V2.3a (already installed on ZC 1.3.9h)?

If edit orders v 30.3 is not competible with Ty Tracker V2.3a, **do I have to upgrade Ty Tracker 2.3a **to a version that is competible with ZC 1.39h before upgrading to Edit orders 3.03?Seriously these EXACT QUESTIONS really are covered (in a fair bit of detail) in the readme.. I am not going to simply re-post the contents of the readme file here. It's easy enough for you to review the readme file and then let me know what you are having issues with.

or

you can help me understand how your question is not addressed in the Edit Orders readme.. What part of the readme file on this particular topic is not clear??

Finally best practices are that you should NOT be upgrading a live store.. You SHOULD attempt this upgrade on a test version of your store. Meaning you need to create an identical version (clone) of your store so that you can test the upgrade first before doing it on your live store.

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.

24 Dec 2012, 3:06 PM
#631
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

thanks again for your patience and speedy reply. after carfully reading the instructions. my questions are actually answered there.

But more questions come up.

Should i upgrade to Ty tracker 3.11 first (if i decide to upgrade ty tracker too) before proceeding to upgrade Edit order 3.03?
Or can Ty tracker be upgraded after upgrading edit orders 3.03?

24 Dec 2012, 4:19 PM
#632
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]

twi:

thanks again for your patience and speedy reply. after carfully reading the instructions. my questions are actually answered there.

But more questions come up.

Should i upgrade to Ty tracker 3.11 first (if i decide to upgrade ty tracker too) before proceeding to upgrade Edit order 3.03?
Or can Ty tracker be upgraded after upgrading edit orders 3.03?The order you install these doesn't matter.. You do need to do some file merging so they work together correctly, and again the README file for Ty Package Tracker covers all of this in pretty good detail so you will need to review it. Any specific Ty Package Track questions need to be posted on the support thread for Ty Package Tracker..

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.

14 Jan 2013, 4:53 PM
#633
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

I am running Zencart 1.3.9h
Edit orders v1.5.3 & Ty Tracker v2.3a was inbstalled. (edit orders 1.53 did not work)

Thanks for the previous reply. As suggested, I have (installed a non live linux lampserver for the purpose) migrated my website to it to upgrade edit order v1.5.3 to edit orders 3.03.

I followed all the steps in the instructions from step 1 to 5, then step 2 of the upgrade section. (step 6 was skip to do step 2 of upgrade section is because I was not able to access the control panel without deleting the files mentioned in step two of upgrade instructions)

Then, I went back to step 6 of basic instructions to run the "edit_orders_install.sql" in the control panel.
("edit_orders_install.sql" file was dragged and dump in the control panel SQL Query Executor box; "send" was Clicked)

The reply I get is a pink bar on the top of the page that said "Failed".

What do I do to get this working> Please help.

14 Jan 2013, 7:28 PM
#634
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]

twi:

I am running Zencart 1.3.9h
Edit orders v1.5.3 & Ty Tracker v2.3a was inbstalled. (edit orders 1.53 did not work)

Thanks for the previous reply. As suggested, I have (installed a non live linux lampserver for the purpose) migrated my website to it to upgrade edit order v1.5.3 to edit orders 3.03.

I followed all the steps in the instructions from step 1 to 5, then step 2 of the upgrade section. (step 6 was skip to do step 2 of upgrade section is because I was not able to access the control panel without deleting the files mentioned in step two of upgrade instructions)

Then, I went back to step 6 of basic instructions to run the "edit_orders_install.sql" in the control panel.
("edit_orders_install.sql" file was dragged and dump in the control panel SQL Query Executor box; "send" was Clicked)

The reply I get is a pink bar on the top of the page that said "Failed".

What do I do to get this working> Please help.
copy the contents of the SQL file into the admin SQL executor in the Admin (Tools > Install SQL Patches) and then click "Send" to run it..

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.

14 Jan 2013, 8:02 PM
#635
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

will running the edit_orders_sql query in admin>tools be the same, as running it in "import" in phpmyadmin?

thanks for the reply. it works!

15 Jan 2013, 1:22 AM
#636
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]

twi:

will running the edit_orders_sql query in admin>tools be the same, as running it in "import" in phpmyadmin?

thanks for the reply. it works!
No.. (which is why the readme doesn't tell you to use PHPMyAdmin)

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.

15 Jan 2013, 8:53 PM
#637
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

One more question before i attempt to upgrade my live site.

This question has to do with using winmerge. I have never used it before and don't know what i am supposed to do in this step.

In the process for upgrading to Edit Orders 3.0.3, I skipped the process using Winmerge to compare the Required_Core_edits files (namely: compairing orders.php file in my site to the one in the require_core_edits forlder in v3.0.3)

The offline website in my lamp server appears to be working properly after the upgrade.

The only modifications I made to the origial zencart v1.3.9h setup was added:

  1. Easy Populate 3.0.3 (this does not change any core files to the v1.3.9h)
  2. Ty Tracker 2.3a (this does not overwrite any core files to v1.3.9h)
  3. edit orders 1.5.3 (this required some modifications to the core file order.php file)

The question is:

I used Winmerge to compare the order.php file in my current website, with the orders.php file in the "2_Required_Core_Edits"
Winmerge indicates some differences.

So in Winmerge, do I just use the "Merge>Copy to Right" function to create this merged file for upload? (File on the left is current order.php file in my live site. The file on the right is orders.php file in edit orders 3.0.3)

What exactly happens to the file on the left when I do this?
(I did it, and then, compare the original orders.php file in my live website with the resulting merged order.php file. The two files are identical)

Is this the result that I am looking for in the comparison? (are the two files are supposed to be different?) (or, is using the orders.php file in the Require_core_edits to replace the order.php file in my live website the same thing as the merged fiel?)

I am Really lost. Please help.

15 Jan 2013, 9:13 PM
#638
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]

twi:

One more question before i attempt to upgrade my live site.

This question has to do with using winmerge. I have never used it before and don't know what i am supposed to do in this step.

In the process for upgrading to Edit Orders 3.0.3, I skipped the process using Winmerge to compare the Required_Core_edits files (namely: compairing orders.php file in my site to the one in the require_core_edits forlder in v3.0.3)

The offline website in my lamp server appears to be working properly after the upgrade.

The only modifications I made to the origial zencart v1.3.9h setup was added:

  1. Easy Populate 3.0.3 (this does not change any core files to the v1.3.9h)
  2. Ty Tracker 2.3a (this does not overwrite any core files to v1.3.9h)
  3. edit orders 1.5.3 (this required some modifications to the core file order.php file)

The question is:

I used Winmerge to compare the order.php file in my current website, with the orders.php file in the "2_Required_Core_Edits"
Winmerge indicates some differences.

So in Winmerge, do I just use the "Merge>Copy to Right" function to create this merged file for upload? (File on the left is current order.php file in my live site. The file on the right is orders.php file in edit orders 3.0.3)

What exactly happens to the file on the left when I do this?
(I did it, and then, compare the original orders.php file in my live website with the resulting merged order.php file. The two files are identical)

Is this the result that I am looking for in the comparison? (are the two files are supposed to be different?) (or, is using the orders.php file in the Require_core_edits to replace the order.php file in my live website the same thing as the merged fiel?)

I am Really lost. Please help.

Sorry but this support thread is not the right place to provide intructions on how to use Winmerge or any other file comparison program.. that said I do not use Winmerge (I prefer Beyond Compare) and couldn't help. I suggest searching on the forum or web for help using Winmerge..

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.

15 Jan 2013, 9:14 PM
#639
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

What exactly happens to the file on the left when I do this?

I meant what happens to the file on the RIGHT , not the left.

16 Jan 2013, 3:34 PM
#640
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

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

Zencart v1.3.9h
ty tracker v2.3a
upgraded to edit orders v3.0.3 from V1.5.3

I took a gamble and merged the order.php files with winmerge and it worked.

There's One thing I am still confused.
Currently there are 4 "Action Flags" (round or icon buttons) at the Ty Tracker v2.3a page that are clickable. They are:

  1. Add Tracking ID
  2. Display Invoice
  3. Display Picking Slip
  4. Delete order

The Question is:
Is there supposed to be a 5th Action Flag (Button) for Edit Order along with the other 4 mentioned above?

Reason I ask this is because I see The "Edit Order" icon at the top along with the other 4 icons mentioned before. But there is no Action button for edit orders.