Zen Cart Logo
Forums / Addon Admin Tools / Quick Updates plugin [support]

Quick Updates plugin [support]

Views: 180,418

Results 181 to 200 of 670
12 Dec 2006, 5:17 PM
#181
ijyoung avatar

ijyoung

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Quick Updates plugin [support]

paulm:

Or the Zen Cart admin in general? In that case you need to start or join another topic (note: one of the reasons I did not feel like fixing all HTML errors in quick_updates is because the admin is full of it anyway).

{
and: I agree (most of) the HTML errors should be fixed, but since the next Zen version might have the same errors again I am not even trying
}

Thanks anyway.

I'll go start another topic. I just cannot believe how bad the admin is. Has two doctypes for starters. I think they are spending way to much time on front end - back office is what sells to clients really

Wish me luck.

Ian

12 Dec 2006, 5:34 PM
#182
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

ijyoung:

Wish me luck.Good luck Ian! :smartass:

12 Dec 2006, 6:53 PM
#183
ijyoung avatar

ijyoung

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Re: Quick Updates plugin [support]

Funny that

Leave computer for hours and then on return find some of what you are after.

Sorted the menu problem in general.php line 2784 change </UL> to </ul>

html_output.php change image end tags to /> (that is if we are going to have XHTML 1.0 pages). Doesn't seem to be much consensus here.

Now to find out why all the links that are generated do not have proper code.

Sheesh

Ian :no:

13 Dec 2006, 1:15 PM
#184
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

As no bug reports have been posted here, I have decided to upload v2.0 to the zen-cart.com downloads section at:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=101 (and attachements to previous posts will be removed)

#####################

Some ideas for **future **releases are:

Add feature for cross sell updates
Add "quick column on/off switches" (quickly disable unused columns to speed up the script without having to change the admin settings)
Markup by purchase price (currently markup is done by price only)
Add default markup value
Improve margin calculation updates (currently the shown margin is not always up to date)

(no idea if or when the above will be added though, and feel free to add it yourself of course ;-) ;-) )

13 Dec 2006, 7:17 PM
#185
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: Quick Updates plugin [support]

paulm:

As no bug reports have been posted here, I have decided to upload v2.0 to the zen-cart.com downloads

I haven't used it extensively, just tested a little here and there, and have found no bugs so far.

18 Dec 2006, 2:24 PM
#186
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Quick Updates plugin [support]

As there is no good way in ZC yet to modify a products "type", I went ahead and added it to this contrib on my site.

Would probably be a good feature to add officially because I think a lot of new product_info layouts could come from the use of more product types, but most people aren't willing to re-add all their products just to try a different product_info layout or type.

For example, my Tabbed Products Lite contrib uses a custom tpl_product_info_display.php file instead of a custom product type because people may not be able to easily use it if they have to change hundreds of products to a different type manually one by one.

Quick updates is a definite need for inclusion into the zen-cart core code and product_type switching would be ideal for upcoming layouts I am working on because I could make them separate product_types so people can choose different product_info layouts for each product separately and easily if they so choose, rather than having to globally override a specific type.

Currently I just made an easy change that allows manuall changing the products_type number in the database via text field, but a more robust version would be to get a list of all the product types and correlate them to database entries so you could use a drop down instead of text box.

18 Dec 2006, 3:56 PM
#187
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Quick Updates plugin [support]

Hi qhome,
PM if you need help.

19 Dec 2006, 4:14 AM
#188
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Quick Updates plugin [support]

Hi,

I have a (Dual prices modul).Can anyone guide me how to quick setup dual pricess on quicksetup1.3?:smartass: .At this time, i just can setup retail prices...

19 Dec 2006, 4:50 AM
#189
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: Quick Updates plugin [support]

kimsonvu:

Hi,

I have a (Dual prices modul).Can anyone guide me how to quick setup dual pricess on quicksetup1.3?:smartass: .At this time, i just can setup retail prices...

Hello! If I remember correctly, all you need to do once you have Quick Updates installed, is open admin\includes\extra_configures\quick_updates.php and change

@define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE', 'false');

to

@define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE', 'true');

19 Dec 2006, 5:01 AM
#190
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Quick Updates plugin [support]

craftzombie:

Hello! If I remember correctly, all you need to do once you have Quick Updates installed, is open admin\includes\extra_configures\quick_updates.php and change

@define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE', 'false');

to

@define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE', 'true');

Thanks for help.I will try to mod this file.

19 Dec 2006, 8:34 PM
#191
accurateoptics avatar

accurateoptics

New Zenner

Join Date:
Aug 2006
Location:
scottsdale
Posts:
15
Plugin Contributions:
0

Re: Quick Updates plugin [support]

Well I didn't see this in the thread so I apologize if it has already been addressed...

I got QU 1.3 to work on an old Zen Cart 1.3.0.2 installation. I put in a $5 increase on an entire category and click preview and the thing works like magic.

On another site I build I installed QU 1.3 with Zen Cart 1.3.6 and enter a $5 increase on a category and click preview and the values don't change. Anybody have a clue for me?

Thanks. This is a stellar contribution!

19 Dec 2006, 8:55 PM
#192
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

AccurateOptics:

On another site I build I installed QU 1.3 with Zen Cart 1.3.6 and enter a $5 increase on a category and click preview and the values don't change. Anybody have a clue for me?This has been fixed in the latest version.

I renamed it to 2.0 (since there have been so many changes recently) and uploaded it to: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=101
Note that lots of credits should also go to Andrew (a_berezin) for the 1.1+ versions (a part of the latest upload description that said so is missing).

I am currently working on a version that features product searches, single product selection,vertical tabbing (very handy when updating lots of values of the same type) and margin calculations using a margin table (i.e.: low prices => high % margins and high prices => lower % margins) and auto rounding of prices. And some new features I mentioned before.

21 Dec 2006, 7:47 AM
#193
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: Quick Updates plugin [support]

Is anyone having any problems with Quick Copy not copying the product attributes? I never noticed this before. It may just be me and this could be why...

I have the Dual Prices mod installed. There was a fix to that mod that had to do with the attributes. Without the fix, when you try to copy a product, you would get an error. The fix to this was here:

In admin/includes/functions/general.php, find the following line:
'" . $products_copy_from->fields['options_values_price'] . "',

Right under it, add this line:
'" . $products_copy_from->fields['options_values_price_w'] . "',

Now in the same file, just a little further down, find this line:
options_values_price='" . $products_copy_from->fields['options_values_price'] . "',

Add this line right underneath:
options_values_price_w='" . $products_copy_from->fields['options_values_price_w'] . "',

I don't know if this would affect anything on Quick Updates, but I thought I'd mention it just in case. Any ideas Paul?

21 Dec 2006, 9:43 AM
#194
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

Is anyone having any problems with Quick Copy not copying the product attributes?I am not having any problems with it :P But it's correct that the copier does not copy the attributes.

The copier uses a modified piece of core code which has the option to copy attributes, but since I was in a hurry to implement the copier and didn't have the need to copy attributes (and also didn't have any products with attributes to test it) I did not make it an option for the quick updates copier.

I think it's very easy to enable though, and I will post the piece of related code.

21 Dec 2006, 9:59 AM
#195
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

The quick_copy_product function resides in admin/includes/functions/extra_functions/quick_copy.php

And the piece of (currently disabled) code is

/////////////////////////////////////////////////////////////////////////////////////////////
// Copy attributes to duplicate product

  $products_id_to= $dup_products_id;
  $products_id = $dup_products_id;
/*
if ( $_POST['copy_attributes']=='copy_attributes_yes' and $_POST['copy_as'] == 'duplicate' ) {
  // $products_id_to= $copy_to_products_id;
//            $copy_attributes_delete_first='1';
//            $copy_attributes_duplicates_skipped='1';
//            $copy_attributes_duplicates_overwrite='0';

            if (DOWNLOAD_ENABLED == 'true') {
              $copy_attributes_include_downloads='1';
              $copy_attributes_include_filename='1';
            } else {
              $copy_attributes_include_downloads='0';
              $copy_attributes_include_filename='0';
            }

            zen_copy_products_attributes($products_id_from, $products_id_to);
}
*/
// EOF: Attributes Copy on non-linked
/////////////////////////////////////////////////////////////////////

To make it always copy the attributes you can try to change it to:

/////////////////////////////////////////////////////////////////////////////////////////////
// Copy attributes to duplicate product

  $products_id_to= $dup_products_id;
  $products_id = $dup_products_id;

//if ( $_POST['copy_attributes']=='copy_attributes_yes' and $_POST['copy_as'] == 'duplicate' ) {
  // $products_id_to= $copy_to_products_id;
//            $copy_attributes_delete_first='1';
//            $copy_attributes_duplicates_skipped='1';
//            $copy_attributes_duplicates_overwrite='0';

            if (DOWNLOAD_ENABLED == 'true') {
              $copy_attributes_include_downloads='1';
              $copy_attributes_include_filename='1';
            } else {
              $copy_attributes_include_downloads='0';
              $copy_attributes_include_filename='0';
            }

            zen_copy_products_attributes($products_id_from, $products_id_to);
//}

// EOF: Attributes Copy on non-linked
/////////////////////////////////////////////////////////////////////

If you try it out, and it works well, I might add it as an option to the quick updates copier.

(I have no ideas about the Dual Prices mod and the fix for it, but it seems unrelated to me)

21 Dec 2006, 10:30 AM
#196
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: Quick Updates plugin [support]

paulm:

If you try it out, and it works well, I might add it as an option to the quick updates copier.

It works! Thanks (again and again and again)! You have saved me from wasting hours and hours of precious Zen Cart time. :smile:

9 Jan 2007, 11:45 PM
#197
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Quick Updates plugin [support]

Just a couple of small buglets maybe (or perhaps I'm missing something?) ...

  1. If you add a new product (using 'copy x1') on the QU page, the empty product appears on the QU page, and can be edited, but the product name isn't saved when you 'update' (the product name field is blank after update).

  2. The newly-entered product doesn't appear under any category in admin->catalog->categories/products, although it now shows up on the drop-down products 'copy' list on the QU page and is in the database.

  3. If you hover your cursor over the 'edit' icon at the end of the newly-entered product line (after a 'copy x1'), the path is missing the 'product' in 'admin/product.php?cpath=...' - ie. it looks like 'admin/.php?cpath=...'

  4. If you click the edit icon (as above) on another product (that has been previously entered the normal way through admin) the edit now doesn't work (page isn't found) - the path shown is:

... /admin/product.php?cpath=0&product_type=1&piD=123&action=new_product

The edit icon only doesn't work just after you've used the 'copy x1' and the 'copy' button becomes visible on the QU page header.

If you log out and clear your cookies/cache then login to admin again (so there's no 'Copy' button in the QU page header) then the edit icons work fine again.

10 Jan 2007, 9:09 AM
#198
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

Hi Pixxie,

it seems to work fine here except for one thing, and that is that the edit (and preview) link shows the current selected category (which is "cPath=0" when the "Top category" is selected).

Actually it's seems weird to me that this link needs cPath at all, since we are editting the product (which is identified by its products_id not by the category it is in). But that is way the core code works too, so I assume there is logic behind it.

Anyway, if a cat id is needed, I think it should be the master cat id i.s.o. the id of the current selected cat.

To change this find in admin/quick_updates.php:

    //// links to preview or full edit
    $type_handler = $zc_products->get_admin_handler($products->fields['products_type']);
    if(QUICKUPDATES_DISPLAY_PREVIEW == 'true')
      echo '<td class="smallText"><a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . $current_category_id . '&pID=' . $products->fields['products_id'] . '&action=new_product_preview&read=only' . '&product_type=' . $products->fields['products_type']) . ' target="blank">' .  zen_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a></td>' . "\n";
    if(QUICKUPDATES_DISPLAY_EDIT == 'true')
      echo '<td class="smallText"><a href="' . zen_href_link($type_handler, 'cPath=' . $current_category_id . '&product_type=' . $products->fields['products_type'] . '&pID=' . $products->fields['products_id']  . '&action=new_product') . '" target="blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a></td>' . "\n";
    echo '</tr>';

And 2x change $current_category_id to $products->fields['master_categories_id']

So that it reads:

     //// links to preview or full edit
    $type_handler = $zc_products->get_admin_handler($products->fields['products_type']);
    if(QUICKUPDATES_DISPLAY_PREVIEW == 'true')
      echo '<td class="smallText"><a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . $products->fields['master_categories_id'] . '&pID=' . $products->fields['products_id'] . '&action=new_product_preview&read=only' . '&product_type=' . $products->fields['products_type']) . ' target="blank">' .  zen_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a></td>' . "\n";
    if(QUICKUPDATES_DISPLAY_EDIT == 'true')
      echo '<td class="smallText"><a href="' . zen_href_link($type_handler, 'cPath=' . $products->fields['master_categories_id'] . '&product_type=' . $products->fields['products_type'] . '&pID=' . $products->fields['products_id']  . '&action=new_product') . '" target="blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a></td>' . "\n";
    echo '</tr>';

And maybe that solves (some of the) issues you mentioned?

10 Jan 2007, 9:26 AM
#199
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Quick Updates plugin [support]

Also, if you still have issues after those changes, could you tell me what version of quick_updates you are using (v2.0 from the Zen downloads section?) and the Zen Cart version?

BTW: I am still working on a new version, but I am not sure if I will release it or not. The main problem is that it already took quite some time to make the new features work for myself, and to make it work correctly for others and support it, would take a multiple amount of that time again....

10 Jan 2007, 4:06 PM
#200
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Quick Updates plugin [support]

Hi Paul,

Thanks for your reply.
Ok. Now that I'm awake (it was late last night when I posted) ... :smile:

The problem only happens if you choose the default option on the copy - 'id:1 - (default QC Product)'. This is with QU v 2.0 and zen 1.3.7.

I'd assumed that was for creating a blank new product - but maybe not :smile:

If you choose that option, you get the problems outlined in my last post, and the master_categories_id is set to zero in the products table (before the fix in your last post was applied).

Also, there is no entry for the 'new product' in the products_description table, hence the product name not being saved.

I guess it's not very useful creating a new (blank) product in QU in any case - you might as well do it in categories/products, since you have to fill all the fields in anyway.

Perhaps that 'copy' drop-down could be set to 'Please Select ...' or something similar (ie. non-active) - unless there is another use for it?

But again, maybe I'm missing something here ...

Thanks again for clearing it up. :smile: