frontend_head
Custom content for storefront’s <head> section.
Shop-Script
Input (passed by reference)
No specific parameters.
… your plugin code …
Output
{$frontend_head}
HTML code for adding custom content. A plugin may not return any value, or call shopPlugin or waPlugin classes’ methods to include custom CSS and JavaScript files to storefront pages.
Shop-Script
Plugin code example
PHP
public function frontendHead()
{
$this->addCss('css/frontend.css');
$this->addJs('js/frontend.js');
}









