Hi all,
I bought a theme from theme forest and on shared hosting. It is being used for portfolio / demo only.
Is it possible to update a theme for magento 2 on shared hosting? I don't have access to SSH and cannot do command lines. I searched online and I do not see an answer.
Thank you.
Hi @BlackPimple
okay - i understand your problem !
But your require SSH access to update theme - you actually need to upload new updated theme into app/design/frontend directory !
then you must required to run below commands in sequence using SSH :
php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush
Without SSH terminal access - if you still wanted to update theme - then its totally depeneded on theme console - if in the backend theme developer have given any console to update the theme then you can do it !
Otherwise you must need to follow my first step which i mention above to update the theme.
so its requires SSH for sure !
Hope it helps !
Thanks
Hi @BlackPimple
ok - i understand your concern, but its not possible without SSH terminal so !
Assuming you are talking about to update theme version right ? or you want to change content of that theme which shows right now as demo ?
Hope you understand !
Hi @BlackPimple
No - you can installed theme on shared hosting as well !
There is no issue at all ! that command which i mention is use for deploy the theme - nothing else !
So you can installed the theme on the same
When you installed your theme to server, Your theme will always stays at your server without you forcefully delete all of the folders and files from your app/design/frontend
Once you uploaded your file in server your data will be kept on your server whether its shared server or dedicated server.
If you want to apply the different theme for your store, You just need to change settings from admin panel, Content -> Design -> Configuration
Once you apply the different theme for your store you just need to run cache flush command.
php bin/magento cache:flush
Hi, problem is, shared hosting do not allow me to do those commands.
Hi
I currently do not see "app/design/frontend"
Does that compile after theme is installed?
Currently app only has, etc, htaccess, autoload.php, and 2 other php.