how to overwrite image class, but only in catalog

Open to all! Ask other shopowners for help.
Post Reply
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

how to overwrite image class, but only in catalog

Post by loop »

Hi all
i need to override only the catalog imageclass and not in the admin part.
if i put it in system/override it's everywhere, is this possible?

thank you!


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: how to overwrite image class, but only in catalog

Post by ecartz »

Copy the original into admin/includes/classes and the modified version into includes/system/override

Then admin will use the admin copy and catalog will use the system copy.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply