-
I'm trying to integrate woocommerce into Flynt, and as suggested in other threads I'm attempting to use mindkomm's solution. I have tested in a timber starter theme installation and the mindkomm instructions work perfectly so I'm confident I'm following instructions correctly. When I attempt the same in my Flynt theme, following mindkomm instructions:
At this point, both store page and product page are displaying using the default woocommerce setup - but there is the According to Mindkomm instructions at this point I also tried adding the header.php, sidebar.php and footer.php from the timber starter theme - adding them individually removes the respective deprecation warning, but further breaks styling and if header.php and footer.php are both added results in a WSOD. Has anyone experienced this and had success overcoming? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Cracked it - for anyone else facing the same issue - I copied the header.php and footer.php from the Timber Starter Theme. Edit footer.php so line 20 is: |
Beta Was this translation helpful? Give feedback.
Cracked it - for anyone else facing the same issue - I copied the header.php and footer.php from the Timber Starter Theme. Edit footer.php so line 20 is:
$templates = array( 'templates/page-plugin.twig' );
i.e. add 'templates/'Copy the page-plugin.twig file from Timber Starter Theme into templates folder, and change first line to:
{% extends "templates/_document.twig" %}
And now it works.