Model in front of name

Open to all! Ask other shopowners for help.
Post Reply
randers
Member
Posts: 32
Joined: Mon Oct 26, 2020 8:22 pm
Phoenix Version: v1.0.8.16

Model in front of name

Post by randers »

Needs "Model" to appear before Name in Categories/Products in admin. Anyone know how it can be done?


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: Model in front of name

Post by ecartz »

There currently isn't a better way than

1. Modifying the source at https://github.com/CE-PhoenixCart/Phoen ... t.php#L134
2. Hacking it by overriding the Product class and changing how it shows the name whenever the page is catalog.php

The first method will only change it at that one location. The second will change every reference to the product name on that page.

We may eventually fix the catalog page to have the ability to change the columns, but we haven't yet.


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