Totally Zenned
- Join Date:
- May 2005
- Location:
- England
- Posts:
- 733
- Plugin Contributions:
- 0
setting up attributes file to not show display only in 2.10
php 8.2 zencart 2.10
I have been using the Numinix Google Product Search feeder to add google product categories for many years. I have just upgraded to 2.10, and it seems the code I have added as per their instructions is redundant. The goal is to stop showing display only attributes on the product info page, otherwise it looks a little confusing for the customer.
I have to add this element:-
and patrib.attributes_display_only = 0
I was getting an error regarding the '=' symbol
So I think it needs to be :-
and patrib.attributes_display_only == 0
But now I get an error log as below:
PHP Fatal error: Uncaught Error: Undefined constant "patrib" in
I think the attributes has been re-worked now, I guess there is a new constant to replace 'patrib'? Or maybe the whole code needs altering, am not sure.