Open to all! Ask other shopowners for help.
Denzel
Member
Posts: 87 Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Wed Aug 24, 2022 8:47 am
Are the manufacturers action-hooks still called ? I've made an additional manufacturer field, which is not more updated. Listener looks like this:
Code: Select all
class hook_admin_manufacturers_manufacturersNotes {
public function listen_insertSaveAction() {
// do stuff
}
}
But looks, as it isn't called
Any clues ?
Kofod95
Senior Contributor
Posts: 748 Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times
Post
by Kofod95 » Wed Aug 24, 2022 9:31 am
listen_updateProductAction()
and
listen_insertProductAction
Maybe?
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Denzel
Member
Posts: 87 Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Wed Aug 24, 2022 10:04 am
Kofod95 wrote: ↑ Wed Aug 24, 2022 9:31 am
listen_updateProductAction()
and
listen_insertProductAction
Maybe?
//Daniel
That's true. Thank you
Denzel
Member
Posts: 87 Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Thu Aug 25, 2022 3:53 pm
Sorry, it's me again... Where are those new Hook-calls hidden?
Again I can't find the productSaveAction() call... At some point it was in categories.php,
but I can't find any calls in catalog.php...
Kofod95
Senior Contributor
Posts: 748 Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times
Post
by Kofod95 » Thu Aug 25, 2022 4:44 pm
This is more basic than you need, but covers the topic somewhat.
viewtopic.php?p=10533#p10533
The changes happened in 1.0.8.5 (if I remember correctly)
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Denzel
Member
Posts: 87 Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times
Post
by Denzel » Thu Aug 25, 2022 5:23 pm
Ok, I think, I got it... every action (from admin/includes/actions) has an automaticly called hook, and some are still inside this actions (found insertCategoryUpdateCategoryAction still working)... TY again