Jump to content

Replace default product title with modules customized (change controller or module?)


kstepyra

Recommended Posts

Hello,

 

I need to create module that allows replacement of default title and other stuff on the product page.

Data must be customizable within my module. How can i access and modify product object within my module (the only way i SEE it is via var_dump of $this->context->controller but there will be no way to modify this due to PROTECTED visibility)? Or only one option is to modify (override class in /override/ folder) productController to fetch my data?

 

It's important to me, if anyone knows please help.

Jakub

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...