Jump to content

Change Custom Features Values in AdminProductController.php


mzutg

Recommended Posts

Hi,

 

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

Link to comment
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...