Jump to content

Does anyone know how to make a theme key for addons?


santolla

Recommended Posts

This is crazy... there is no documention on how to add a theme key. Nobody is answering posts about it. 

 

I've tried everything from the old way to trying to add it into theme.yml

 

Nothing works. 

 

Anyone have that info they can share? Prestashop seems to be keeping it a secrete. he he

Link to comment
Share on other sites

When you create your "theme" on Prestashop addons (you set all information about the theme), in the second step Prestashop will give you the theme key.

 

That's how it works with modules.

 

EDIT:

 

Now I see, that I probably misunderstood - you don't know WHERE TO ADD the key.  I'm also interested in this.

Edited by Andrej Stas (see edit history)
Link to comment
Share on other sites

I have a theme key from my addons account. I just haven't a clue how to add it into my theme. 

 

There nothing telling how in 1.7 you add a theme key into theme.yml

 

Do you know how? 

 

Thank you!

 

I wrote to Prestashop support and they replied:

 

 

You can add the theme_key tag under the version tag in theme.yml.

 

So your theme.yml file could look like this:

 
name: jegia
display_name: jegia
version: 1.0.0
theme_key: jdduej383n3uc3n
...
 
Please let me know how it worked out :)
Edited by Andrej Stas (see edit history)
  • Like 1
Link to comment
Share on other sites

I have no idea why... but mine started to work.

 

name: themename
display_name: themename
version: 1.0
theme_key: bc3dba7a0605e98b29e8b07c77839787
 
But it didn't for ages. Maybe it takes time for the theme key that is generated to register or something. Never happened with 1.6 themes in the config files tho. 
Link to comment
Share on other sites

 

I have no idea why... but mine started to work.

 

name: themename
display_name: themename
version: 1.0
theme_key: bc3dba7a0605e98b29e8b07c77839787
 
But it didn't for ages. Maybe it takes time for the theme key that is generated to register or something. Never happened with 1.6 themes in the config files tho. 

 

hi santolla, thanks, I have solve my issue. Infortunatly I have made zip from outside folder.

Edited by 30ml (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...