News:

Looking for documentation? Take a look on our wiki

Main Menu

Modify product name progmatically

Started by sandomatyas, June 28, 2019, 14:59:36 PM

Previous topic - Next topic

sandomatyas

Is it possible to create a plugin or some script which can modify the product name by triggering a plugin method? I need to append some string after the product name based on the logged in user.
I need this at the productdetails page, the variant selector, in the cart and the order emails as well.
Maybe a method which is triggered after getProduct() ?

Studio 42

You can use a custom field plugin.
Some function use a product object as reference, so you can manipulate it.

Milbo

I wonder, maybe i can extend my plugin anumbers so, that you can use it for your purpose. It can do already most of it. Please write me a ticket, but consider that I am in holiday the next 2 weeks.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/