I have made a copy of the default.php file in the views/productdetails folder and named it default-equipbundles.php in same folder.
I then go to the product edit page in admin backend and select the new file under "Product Details Page" setting and click save.
When the page refreshes, my selection is not still selected and the current select is "no Override"
Why isn't it keeping this selection when saving?
Hi, it could be the - sign in the name. Rename the file to default_equipbundles.php (with an _ instead of - ) and try it again.
I had this about 2 months ago and I think this is how I fixed it.
I've changed the filename to : default_equipbundles.php and now it doesn't display in the selection list at all..... so I changed it to: defaultequipbundles.php (no special characters) and it displays again, but still does not show the saved selection after saving.
Ran into this myself today... found the answer and thought I'd share!
Rename the file something SHORTER - debugged it and found it saves the file name as a char(16) in the database. Renamed my file to 8 characters and Bingo!
Hope this helps someone.
:D
That was it! Renamed the file to a shorter filename - also - I DID NOT have to keep the prefix 'default' for it to show up in the list.
Thanks for pointing out the fix, I was tearing my hair out wondering what I was doing wrong.
Really think a small info popup saying filename must not be longer than 16 characters next to the override box would help.