Installed Prestashop Theme not found in folder - php

I want to uninstall a Prestashop theme. However when I go to the theme folder, there isnt any folder of the theme.
Is there a way to return to the default setting?

I suppose you use PrestaShop 1.5 and you see the theme you want to delete on your backoffice.
How this theme has been installed ?
The theme name displayed in the backoffice is stored in the DB, if the theme relative folder doesn't exist in the "/themes" folder, you can safely delete the entry in the backoffice.

Related

Magento2 : How can override vendor/module-catalog to magento default theme?

I am trying to override vendor/magento/module-catalog/* ( * for whole module ).
I copied,
vendor/magento/module-catalog/view/templates/*
files under
app/design/frontend/Magento/Magento_Catalog/*
But I can't get any change of copied files. I don't have any custom theme.
How can I do this? I want to keep original files unchanged with my custom changes.
You can override all files from vendor to our theme using below method.
Goto vendor\magento\module-catalog\view\frontend
Copy all folders and files to
app\design\frontend\{Your_vendor}\{Theme_name}\Magento_Catalog
Clear your cache using below command.
php bin/magento cache:clean
Refresh your page you can see files from your theme.
You can use this as a theme.
app/design/frontend/Magento/Magento_Catalog/
First, you have to create your own theme containing folder like:
app/design/frontend/Mytheme/Theme/Magento_Catalog
And select the theme from admin.
Then this folder will override core module_catalog

My magento theme is still loading the pages from the previous theme

I recently updated my dev magento site with a new theme, configured it and selected it as the theme in the admin panel. However when i go to the front end it is still using all of the old pages for the main content but the header and footer are the new theme.
Image of theme selection
please have a look at your theme folder path. If it is app/design/frontend/intenso/default/
Then you have to use Current Package Name Under Package as intensio(your-theme-name) & Under Themes use Default as default
For more detail, check screenshot:
Screenshot explainig solution for showing old theme
Hope it helps

Blank page "The active theme is broken. Reverting to the default theme." on WordPress Vagrant

I have a blank page when accessing my local, however I can login fine into /wp_admin and change the theme. In the appearances menu, I have:
The active theme is broken. Reverting to the default theme.
How can I solve this?
Some info hopefully to help you understand. As this is a Vagrant install, in the site root, I have:
/web
/assets
In web, we have the Wordpress install. web/wp/wp_content/themes contains all default Wordpress themes i.e. twentythirteen. when set, these themes work ok.
In assets, I have the actual custom theme, which needs to remain in that folder, as Gulp regenerates the theme and /less and /js files in case of changes. This is the theme which displays as broken in the admin.
The custom theme is referenced with a file in web/app/themes.
Figured it out.
If anyone comes across this issue, update your VirtualBox to latest. Theme's symbolic link was generating back slashes to the path like ..\..\ and it should have been ../../assets/theme_name

WooCommerce: Can't find woocommerce/templates/ directory

I am trying to set up a shop for my site using WooCommerce. My goal is removing the "Product Categories" (and maybe "Search" box) on product archive/shop base page. I know editing the "product-archive.php" file is required. But I just can't find it! It should be somewhere in woocommerce/templates/ directory, but there's no such directory!
I'm using Fruitful theme by Fruitfulcode. I'm using the latest versions of WordPress and WooCommerce. I tried virtually anything: installing and reinstalling WooCommerce, installing an older version of WooCommerce... Nothing works. There's no woocommerce/templates directory anywhere in my theme!
Could you please assist me? Am I doing something wrong?
I think you're a bit confused about how WooCommerce template overrides work. Here's some important info you should be aware of:
Installing WooCommerce won't modify your theme at all.
You shouldn't have a woocommerce/templates/ directory in your theme, even if the theme is overriding default WooCommerce templates. Rather, you may have a woocommerce/ directory (without the templates/ directory).
WooCommerce templates are overridden by copying template files from /wp-content/plugins/woocommerce/templates/xxx.php to wp-content/themes/yourtheme/woocommerce/xxx.php
If you aren't seeing a woocommerce directory in your theme, that means that your theme is using the default WooCommerce templates. If you would like to override them, you need to copy the product-archive.php template from the WooCommerce plugin templates directory into a woocommerce/ directory within your theme.
More info in the WooCommerce documentation.
Reading your answer twice I think you may be speaking of widgets since you mention categories and search box. This is usually in the sidebar. You don't need to edit woocommerce template files to change this.
Look for the widget that is being displayed on the archive pages and remove the ones you don't need.
Go to Appearance/widgets and look for the sidebar that is being displayed on the shop and delete the unwanted elements.
You could also use the customizer to view it visually while doing it.
Hope this helps
Im sorry if this doesn't help answer your question but the file you're looking for is archive-product.php not product-archive.php, this is the second question I've seen with this non-existent file mentioned.
If a child theme is being used, the absolute path to the parent theme directory will be returned. Use get_stylesheet_directory() to get the absolute path to the child theme directory.
You need to use get_stylesheet_directory_uri() instead of get_template_directory() in your child theme.
echo get_template_directory()
/*Retrieve theme directory URI.*/
get_template_directory_uri()
require get_theme_file_path( 'inc/post-types.php' );
By default, there won't be any woocommerce fil s inside your theme folder. If you want to customize the Woocommerce tempalte files, you need to copy the files which you want to edit from TEMPLATES folder inside the Woocommerce plugin folder and paste inside your theme folder under folder name called WOOCOMMERCE.

Custom themed Opencart 1.4.8 version to 1.5.1.2

I have attempted to upgrade Opencart 1.4.8 with custom theme using update script but it deleted the custom theme as it was actually set as default theme. How can I prevent this from happening so I can use this same theme for new version 1.5.1.2?
Also will this custom theme be compatible with 1.5.1.2 version?
No, it wont. The only way to stop it is to create a custom theme and set it to that. You don't need to copy all files over, but a few usually like header.tpl, footer.tpl and a stylesheet, then if you make any customisations, either use vQmod or create that tpl file in your theme folder, and copy the content over, then edit

Categories