var/cache/dev/twig/a5/a5f778024b3a210222ecb5a572f88f0b.php line 69

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/Homepage/_latestProducts.html.twig */
  14. class __TwigTemplate_9fa2b3b622a16a8b9168e3c461ca5c4a extends \Twig\Template
  15. {
  16. private $source;
  17. private $macros = [];
  18. public function __construct(Environment $env)
  19. {
  20. parent::__construct($env);
  21. $this->source = $this->getSourceContext();
  22. $this->parent = false;
  23. $this->blocks = [
  24. ];
  25. }
  26. protected function doDisplay(array $context, array $blocks = [])
  27. {
  28. $macros = $this->macros;
  29. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_latestProducts.html.twig"));
  31. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_latestProducts.html.twig"));
  33. // line 1
  34. $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/sectionHeaders.html.twig", "@SyliusShop/Homepage/_latestProducts.html.twig", 1)->unwrap();
  35. // line 2
  36. echo "
  37. ";
  38. // line 4
  39. echo "
  40. ";
  41. // line 8
  42. echo "<section class=\"products\">
  43. <div class=\"under-50dh \">
  44. <h2 class=\"fw-bold pb-4 text-main\">Under 50 HD</h2>
  45. <div class=\"row d-flex\" ";
  46. // line 11
  47. echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("latest-products");
  48. echo ">
  49. ";
  50. // line 12
  51. echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 8, "template" => "@SyliusShop/Homepage/_list.html.twig"]));
  52. echo "
  53. </div>
  54. </div>
  55. <div class=\"under-50dh\">
  56. <h2 class=\"fw-bold pb-4 pt-4\">Hot Trend</h2>
  57. <div class=\"row\">
  58. ";
  59. // line 18
  60. echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 8, "template" => "@SyliusShop/Homepage/_list.html.twig"]));
  61. echo "
  62. </div>
  63. </div>
  64. </section>";
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67. }
  68. public function getTemplateName()
  69. {
  70. return "@SyliusShop/Homepage/_latestProducts.html.twig";
  71. }
  72. public function isTraitable()
  73. {
  74. return false;
  75. }
  76. public function getDebugInfo()
  77. {
  78. return array ( 69 => 18, 60 => 12, 56 => 11, 51 => 8, 48 => 4, 45 => 2, 43 => 1,);
  79. }
  80. public function getSourceContext()
  81. {
  82. return new Source("{% import '@SyliusShop/Common/Macro/sectionHeaders.html.twig' as headers %}
  83. {# {{ headers.default('sylius.ui.latest_products'|trans) }} #}
  84. {# <div {{ sylius_test_html_attribute('latest-products') }}>
  85. {{ render(url('sylius_shop_partial_product_index_latest', {'count': 8, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  86. </div> flex-nowrap #}
  87. <section class=\"products\">
  88. <div class=\"under-50dh \">
  89. <h2 class=\"fw-bold pb-4 text-main\">Under 50 HD</h2>
  90. <div class=\"row d-flex\" {{ sylius_test_html_attribute('latest-products') }}>
  91. {{ render(url('sylius_shop_partial_product_index_latest', {'count': 8, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  92. </div>
  93. </div>
  94. <div class=\"under-50dh\">
  95. <h2 class=\"fw-bold pb-4 pt-4\">Hot Trend</h2>
  96. <div class=\"row\">
  97. {{ render(url('sylius_shop_partial_product_index_latest', {'count': 8, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  98. </div>
  99. </div>
  100. </section>", "@SyliusShop/Homepage/_latestProducts.html.twig", "/var/www/livmedx.com/themes/XChildTheme/templates/bundles/SyliusShopBundle/Homepage/_latestProducts.html.twig");
  101. }
  102. }