Jump to content

Change Custom Features Values in AdminProductController.php


Recommended Posts



I would like to modify the display of custom feature value in a page product.


In back-office in product>feature>Custom value for a Feature, i can enter multi-space and back-line.


But on the product page, the display is different. multi-space and back-line are removed.


I remove some checks and pSQL() methods in AdminProductController.php and Product.php to be able to add html tag like : <br/>, <h1>....


But its not safe and not clean.


I was looking for rtrim() on AdminProductController.php, but didn't find it.



The ideal could be to add an embedded text modifier for custom feature value with policy, color,size, form decoration modifiers. But just keep multi-space and back-line could be great too.


Thank you

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More