Forums / Zen Cart Code Suggestions / 1.5.7c - category_products_listing

1.5.7c - category_products_listing

Locked

Views: 148

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
8 Mar 2021, 10:17 AM
#1
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

1.5.7c - category_products_listing

version 1.5.7.c
Thanks for the changes. Might i suggest that line 875 of admin/category_products_listing.php

$zco_notifier->notify('NOTIFY_ADMIN_PROD_LISTING_DATA_B4_QTY', '', $extra_data);

be modified to

$zco_notifier->notify('NOTIFY_ADMIN_PROD_LISTING_DATA_B4_QTY', $product, $extra_data);

This would remove the need to rely on a global or $GLOBALS to set the data value for your additional columns assuming you have modified the select.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

8 Mar 2021, 2:02 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: 1.5.7c - category_products_listing

Appropriate comment also to line 906.

So, BrittainMark, what Pull Request (PR) number should we be looking for in github (https://github.com/zencart/zencart) where your above suggestion/revision is incorporated?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

8 Mar 2021, 2:20 PM
#3
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: 1.5.7c - category_products_listing

If I have done it correctly pull request it should be https://github.com/zencart/zencart/commit/7e029ee991db508162d530978d28ee9dad1cd99a
I am always nervous of changing code before asking.
Should I look at v1.5.8 and make the same change (tried there first) would need to look at it as it is a little different.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

9 Mar 2021, 10:15 AM
#4
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: 1.5.7c - category_products_listing

don't think i got it right last time. newish to git hub. I think the pull request is Update category_product_listing.php #4238
Do i need to make same change to v1.5.8

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

9 Mar 2021, 12:28 PM
#5
swguy avatar

swguy

Administrator

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

Re: 1.5.7c - category_products_listing

For next time:
It's better to do 1.5.8 first and then let the moderators worry about backporting it. Only super important fixes are being backported to 1.5.7 at this point.

Thanks for your contribution to the Zen Cart project!

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.

9 Mar 2021, 1:10 PM
#6
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: 1.5.7c - category_products_listing

Ok closed previous pull request and opened new one on 1.5.8. Update category_product_listing.php #4239
Still learning how to do these things. Happy to help.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

27 Mar 2021, 12:57 AM
#7
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 1.5.7c - category_products_listing

swguy:

For next time:
It's better to do 1.5.8 first and then let the moderators worry about backporting it. Only super important fixes are being backported to 1.5.7 at this point.

Thanks for your contribution to the Zen Cart project!

Forgive me for asking .... but does that mean when a fix is put up as a "you need to upgrade now because of this error" that a fixed older version may be out that that we could put the code up instead of doing a complete update?

Thank you!

27 Mar 2021, 2:16 AM
#8
dbltoe avatar

dbltoe

Totally Zenned

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

Re: 1.5.7c - category_products_listing

shrimp-gumbo-mmmhhh:

Forgive me for asking .... but does that mean when a fix is put up as a "you need to upgrade now because of this error" that a fixed older version may be out that that we could put the code up instead of doing a complete update?Still looking for that shortcut. :D

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

28 Mar 2021, 2:29 PM
#9
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 1.5.7c - category_products_listing

dbltoe:

Still looking for that shortcut. :D

:) Not necessarily the shortcut.... but like this last update.... Things are too busy in November-December to update the cart to with a full upgrade.... if I can just move some files over to get serious issues fixed would be easier to do.

28 Mar 2021, 5:17 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1.5.7c - category_products_listing

As always, the majority of major fixes are posted in the "Known bugs and fixes" thread.

Moderator comment: I'm locking this thread because it's now straying from its purpose and duplicating discussions already posted elsewhere.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.