Page 1 of 1
Replace tep_get_parent_categories and tep_get_product_path
Posted: Fri Oct 22, 2021 10:23 am
by vmn
The functions below are deprecated:
tep_get_parent_categories
tep_get_product_path
How to replace?
There is no working code below the trigger line.
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Fri Oct 22, 2021 12:33 pm
by Fiber
vmn wrote: ↑Fri Oct 22, 2021 10:23 am
The functions below are deprecated:
tep_get_parent_categories
tep_get_product_path
How to replace?
There is no working code below the trigger line.
Google Docs
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Fri Oct 22, 2021 3:35 pm
by vmn
Thanks, @Fiber, but I couldn't find the functions above in the spreadsheet.
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Sat Oct 23, 2021 7:29 am
by raiwa
vmn wrote: ↑Fri Oct 22, 2021 3:35 pm
Thanks, @Fiber, but I couldn't find the functions above in the spreadsheet.
You are right. These were missing.
I added them now, line 88+91
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Sat Oct 23, 2021 1:28 pm
by Fiber
raiwa wrote: ↑Sat Oct 23, 2021 7:29 am
You are right. These were missing.
I added them now, line 88+91
I really don't understand this at all, when I linked through it was there.. only tep_get_product_path was not there..
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Sat Oct 23, 2021 1:50 pm
by raiwa
I also saw something in the history. Maybe someone messed up and deleted it. That’s the risk when it is public editable.
Re: 1.0.8.6 Questions / Comments / Concerns
Posted: Sat Oct 23, 2021 2:35 pm
by Omar_one
raiwa wrote: ↑Sat Oct 23, 2021 1:50 pm
I also saw something in the history. Maybe someone messed up and deleted it. That’s the risk when it is public editable.
maybe it will be good to have the doc as read only ,,,
in office 365 they have restore to previous versions.. so if it was go mess .. you can restore it from file history or from restore points
Re: Replace tep_get_parent_categories and tep_get_product_path
Posted: Sat Oct 23, 2021 2:50 pm
by Omar_one
I just check google sheet and they have same option
11121211.gif
Re: Replace tep_get_parent_categories and tep_get_product_path
Posted: Tue Oct 26, 2021 8:30 am
by vmn
Thank you all!
Looks like this is still missing from the spreadsheet:
deprecated:
tep_parse_category_path( $cPath )
replace:
array_unique(array_map('intval', explode('_', $cPath)), SORT_NUMERIC)
Re: Replace tep_get_parent_categories and tep_get_product_path
Posted: Tue Oct 26, 2021 11:06 am
by raiwa
Just add it. It’s a community project open for everybody.
Thank you!