The template files of Social Deals Engine contain the markup and template structure for the front-end (and HTML emails) of your store. If you open these files you’ll notice they all contain many hooks which will allow you to add / move content without having to edit the template files themselves. This method protects even further against any upgrade issues as the template files can be left completely untouched.


Alternatively, you can edit these files in an upgrade safe way through overrides. Simply copy it into a directory within your theme named /deals-engine, keeping the same file structure.


Example: To override Deals Home Page Template, copy:deals-engine/include/templates/deals-home.php to yourtheme/deals-engine/deals-home.php


The copied file will now override the Social Deals Engine default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.


The template files can be found within the /deals-engine/include/templates/ directory:


These files contain the markup and template structure for the front-end (and HTML emails) of your store. If you want to edit one of these templates simply copy it into a directory within your theme named /deals-engine, keeping the same file structure, e.g. move /templates/cart/cart.php to theme name/deals-engine/cart/cart.php. The copied file will now override the Social Deals Engine default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.


If you open these files you’ll notice they all contain many hooks which will allow you to add / move content without having to edit the template files themselves. This method protects even further against any upgrade issues as the template files can be left completely untouched.


Please note: when creating deals-engine.php in your theme’s folder, you won’t then be able to override the yourtheme/deals-engine/deals-archive.php custom template (in your theme) as deals-engine.php has the priority over all other template files. This is intended to prevent display issues.