If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Admin Tools / Quick Quantity Update Support Thread

Quick Quantity Update Support Thread

Started by swguy on 5 Apr 2014, 12:40 PM · Views: 11,035

Results 21 to 34 of 34
31 Jan 2017, 2:24 PM
#21
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Quick Quantity Update Support Thread

Great, Brilliant, Fantastic!!

All working as it should now. Went through the install again, don't know what I did different but it all sprung into life.

Thanks again for your help.:D

21 Jul 2017, 6:05 PM
#22
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Quick Quantity Update Support Thread

How about using an extra_definitions file versus the two file additions. Might aid in upgrades/revisions.

Make a file for YOUR_ADMIN/includes/languages/english/extra_definitions/quick_quantity_update.php with the following:```

<?php/* $Id: quick_quantity_update.php, v 1.2 2016/09/18 $ By swguy > 09.18.2016 Powered by Zen-Cart (www.zen-cart.com) Portions Copyright (c) 2006 The Zen Cart Team Released under the GNU General Public License available at www.zen-cart.com/license/2_0.txt or see "license.txt" in the downloaded zip DESCRIPTION: Quick Quantity Update Definitions */ define('TEXT_INFO_HEADING_CHANGE_QUANTITY', 'Change Quantity'); define('TEXT_CHANGE_QUANTITY_INTRO', 'Please set the quantity for:<br /> %s.'); define('ICON_CHANGE_QUANTITY', 'Change Quantity'); ?>
Works a charm with 1.5.5e and thru PHP 7

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Aug 2017, 5:01 PM
#23
cherbalist avatar

cherbalist

Inactive

Join Date:
Mar 2014
Location:
St. Louis, MO
Posts:
25
Plugin Contributions:
0

Re: Quick Quantity Update Support Thread

Working great! Installed on 1.5.1

17 Dec 2018, 6:52 PM
#24
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Quick Quantity Update has now been updated for 1.5.6.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Apr 2020, 7:16 PM
#25
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Updated for 1.5.6c.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

27 Feb 2021, 2:51 PM
#26
joff avatar

joff

New Zenner

Join Date:
Feb 2021
Location:
Chicago
Posts:
1
Plugin Contributions:
0

Re: Quick Quantity Update Support Thread

Does 'Quick Quantity Update' appear to work with Zen Cart version 1.5.7?

28 Feb 2021, 1:33 PM
#27
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

I haven't done the merges yet - the core files have changed a lot.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

5 May 2021, 2:49 PM
#28
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Quick Quantity Update has been updated to support Zen Cart 1.5.7.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

26 May 2021, 3:30 PM
#29
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Quick Quantity Update Support Thread

I noticed a small bug with updating the quantities using this on a 1.5.7c build.

If the sub-category has more than one page, you can only use this to update quantities on the first page. Attempting to update quantity on subsequent pages results in it looping back to page 1, and not updating the quantity.

This can be overcome by setting the Maximum Categories Products Display List number in the Maximum Values settings to a number higher than the number of products in any given sub-category.

27 May 2021, 10:12 AM
#30
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Please revert to smaller number of products per page and try this fix:

under
<!-- bof That Software Guy Quick Quantity Update -->

change

                  <?php echo '<a href="' . zen_href_link(FILENAME_CATEGORY_PRODUCT_LISTING, 'cPath=' . $cPath . '&pID=' . $products->fields['products_id'] . '&action=change_quantity') . '">'; ?>

to

                  <?php echo '<a href="' . zen_href_link(FILENAME_CATEGORY_PRODUCT_LISTING, 'cPath=' . $cPath . '&pID=' . $product['products_id'] . '&action=change_quantity') . '">'; ?>

(You're basically changing $products->fields to $product.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

27 May 2021, 10:31 AM
#31
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Also please bear in mind that when this action is done from search in 1.5.7, it doesn't work. This is fixed in 1.5.8. Fixing in 1.5.7 is a bit tricky; you would have to backport the original fix done for

https://github.com/zencart/zencart/pull/4288

I'll update the mod as soon as I can.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 May 2021, 5:53 PM
#32
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Quick Quantity Update Support Thread

swguy:

Please revert to smaller number of products per page and try this fix:

under
<!-- bof That Software Guy Quick Quantity Update -->

change

                  <?php echo '<a href="' . zen_href_link(FILENAME_CATEGORY_PRODUCT_LISTING, 'cPath=' . $cPath . '&pID=' . $products->fields['products_id'] . '&action=change_quantity') . '">'; ?>

to

                  <?php echo '<a href="' . zen_href_link(FILENAME_CATEGORY_PRODUCT_LISTING, 'cPath=' . $cPath . '&pID=' . $product['products_id'] . '&action=change_quantity') . '">'; ?>

(You're basically changing $products->fields to $product.)

I just got a chance to try this fix, unfortunately it didn't work. It is still not updating and now bounces to the last page on click.

There is only one category where this poses an issue, and I did see your post that there will be fixes/changes coming with 1.5.8, so not a biggie. I will just change the quantity shown when I have to edit this category.

Thanks!

17 Oct 2022, 8:06 PM
#33
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Quick Quantity Update Support Thread

Hi Scott,
Are there any plans to update this module for 1.5.8, or will it work 'out of the box'?

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

17 Oct 2022, 8:44 PM
#34
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Quick Quantity Update Support Thread

Why don't you try it and report back?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.