Prestashop: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
Created page with "= Tag Manager = Tag Manager can be installed in the theme's header template file. <pre> \themes\<<theme>>\header.tpl </pre> == Conversion Tracking == This can be done but..."
 
No edit summary
Line 6: Line 6:
\themes\<<theme>>\header.tpl
\themes\<<theme>>\header.tpl
</pre>
</pre>
This needs to be wrapped around with {literal}{/literal} tags


== Conversion Tracking ==
== Conversion Tracking ==
Line 26: Line 28:


To check if the account has install permissions use adminer and access the database.
To check if the account has install permissions use adminer and access the database.
go to the employee and get the "id_profile" field from the relevant employee row.
Then go to the tab table and get the "id_tab" field from the row that has a module called "AdminModules".
Then go to the access tab and match up the "id_profile" & "id_tab" with what was retreived before to see the file permissions.
Change add to "1" to enable installation.
= Clear Cache =
To clear the cache via FTP go to:
<pre>
\cache\smarty\
</pre>
then inside both, delete all folders except the index.php and the flush file.
refresh page and cache should rebuild

Revision as of 10:39, 6 September 2018

Tag Manager

Tag Manager can be installed in the theme's header template file.

\themes\<<theme>>\header.tpl

This needs to be wrapped around with {literal}{/literal} tags

Conversion Tracking

This can be done but using the free Plugin that hooks onto the order page:

https://bitbucket.org/ed_eichman/prestashop-gtm-data-layer-module/src/

Download the files and make sure it is in the modules folder. the folder structure should be:

\modules\datalayer\

Then the module will need to be installed. If the module does not show up, you may not have permissions even if you are set up as admin & can see the modules.

Check Module Install Permissions

To check if the account has install permissions use adminer and access the database.

go to the employee and get the "id_profile" field from the relevant employee row. Then go to the tab table and get the "id_tab" field from the row that has a module called "AdminModules". Then go to the access tab and match up the "id_profile" & "id_tab" with what was retreived before to see the file permissions. Change add to "1" to enable installation.

Clear Cache

To clear the cache via FTP go to:

\cache\smarty\

then inside both, delete all folders except the index.php and the flush file.

refresh page and cache should rebuild