Not sure if this is the right forum for this. New to OC.
In a TWIG file (main.twig), I had this call working fine, it would render the shopping cart twig html and merge it into main.twig.
Code: Select all
{% include 'pwr001/template/checkout/cart.twig' %}
Google searches led me to try these calls instead, but none of these worked:
Code: Select all
$(this->renderView(':App:Command/pwr001/template/checkout/cart.twig'));
Code: Select all
$('#here').html('{% spaceless %}{% include 'pwr001/template/checkout/cart.twig' %}{% endspaceless %}');
Thank you,
Tristan