O'Reilly logo

Joomla! VirtueMart 1.1 Theme and Template Design by Joseph Kwan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sharing child templates

Some templates will display common information. For these templates, we should try our best to build the template system to share the same child templates. There are two benefits in using this strategy:

  • By using the same template, we reduce time writing and testing the template. While some templates can be straightforward to develop, they still take time to proofread and test.
  • When there are changes needed, you only need to change one template and it will be modified in all parent templates that are using it.

For this reason, VirtueMart does group common templates into a template group called common. However, sharing templates does not require us to put them in the common template group. We can share templates wherever we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required