Jump to content

Recommended Posts

Posted

Hopefully a pretty simple question. I would like to customize /plugins/order/views/templates/ajax/config_packageoptions.pdt but I'm unfamiliar with this framework. What is the appropriate way I can override that template without hacking core Blesta?

 

Thanks!

Posted

Many of those field parameters are set by whatever module the package belongs to. If you're looking to update them all in a general case, then you'll have to update that template directly (i.e. make a core change). Alternatively, you could create your own order template by copying /plugins/order/views/templates/ajax/ into a new directory, e.g. /plugins/order/views/templates/custom_ajax/. Then update config.json to rename it accordingly. Since you now have a custom template, you can update the config_packageoptions.pdt template file in there, and then update your order forms in Blesta to use this new template.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...