ilyapokrov
Forum Replies Created
-
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Product UpdatesI did as you recommended to me.
I used the snippet that you specified and added it in step 3 to the “Functions Editor” section.
But the problem remained – WP all import did not delete the goods, but only made duplicates of all my goods. Products are still displayed in the catalog and on the site.Let me remind you of the problem. I add external/affiliate products. The partner’s file is changed daily – new products are added, old ones are deleted, the price changes. I need to make sure that products that are not in the new file are not deleted, but become hidden, do not appear in the catalog, but participate in a Google search and are accessible via a direct link. And those products that are in the file have been updated prices.
I’m confused, please help me.
Thank.
Here is what I added in step 3 to the Functions Editor section:
<?php function my_is_post_to_delete( $is_post_to_delete, $post_id, $import ) { // Unless you want this code to execute for every import, check the import id // if ( $import->id == 5 ) { ... } if ( $product = wc_get_product( $post_id ) ) { $product->set_catalog_visibility( 'hidden' ); $product->save(); } return false; } add_filter( 'wp_all_import_is_post_to_delete', 'my_is_post_to_delete', 10, 3 ); ?>
- This reply was modified 4 years, 10 months ago by ilyapokrov.
- This reply was modified 4 years, 10 months ago by ilyapokrov.
Forum: Plugins
In reply to: [Menu Cart for WooCommerce] Set all text to display when loading web fonts.Thank!
This really helped fix the problem.
Good luck =)Thank you, but I decided the question myself.
In the performance settings, unchecked – Forced overwrite. At first glance, this solved the problem.
But in this case, the product title has ceased to be rewritten.
How can i solve this problem?Forum: Plugins
In reply to: [WooCommerce] Change bread crumbs and headlinesOscar, good afternoon.
Well, have you got any solution?
Forum: Plugins
In reply to: [Product Filter by WBW] Incorrect displayAnd one more question:
In order not to create 2 filters – for the mobile view and desktop, can I apply all “closed” in the mobile form and all “open” in the desktop in one filter?Forum: Plugins
In reply to: [WooCommerce] Change bread crumbs and headlines1) Remove the word Product from the attribute pages.
https://ganzola.ru/firma-brend/archos/2) Change URL.
Tag Page
Now it looks like this:
https://ganzola.ru/product-tag/probnichek/
It should look like this:
https://ganzola.ru/probnichek/Attributes Page
Now it looks like this:
https://ganzola.ru/firma-brend/archos/
It should look like this:
https://ganzola.ru/archos/- This reply was modified 4 years, 11 months ago by ilyapokrov.
Forum: Plugins
In reply to: [WooCommerce] Change bread crumbs and headlinesOscar, thank you so much!
This decision really helped to cope with the first task.
Breadcrumbs on the tags page are displayed as they should.It remains to solve the remaining 2 problems:
1) Do the same with the attribute page. (Remove the word “Product”)
2) Remove the “Product-tag” from the URL to bring it to:
site.com/tag-nameForum: Plugins
In reply to: [Carousel Upsells and Related Product for Woocommerce] Проблема в отображенииСпасибо за оперативный ответ!
В плагине Autoptimize объединил встроенные JS и это исправило ошибку. Правда PageSpeed Insights снял за это 5 баллов.
А как называется этот скрипт, я попробую только его исключить из сжатия?Forum: Plugins
In reply to: [Load More Products for WooCommerce] the WordPress admin panel breaksPHP server logs:
78.159.101.116 – – [30/Apr/2020:14:18:16 +0300] “GET /wp-admin/plugins.php?action=activate&plugin=load-more-products-for-woocommerce%2Fload-more-products.php&plugin_status=all&paged=1&s&_wpnonce=b64bdf1763 HTTP/1.0” 302 – “https://ganzola.ru/wp-admin/plugins.php” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36”Forum: Plugins
In reply to: [Load More Products for WooCommerce] the WordPress admin panel breaks13Gb SSD.
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:8 JQMIGRATE: Migrate is installed, version 1.4.1
all.css:1 Failed to load resource: net::ERR_TIMED_OUTForum: Plugins
In reply to: [Menu Cart for WooCommerce] Set all text to display when loading web fonts.I am using the “Autoptimize” plugin.
But that is not the problem. PagaSpeed Insights recommends writing in font-display: swap for the fontawesome font.Forum: Plugins
In reply to: [WooCommerce] Incorrect display of the sidebar on the woocommerce site pagesPlease, help me!
- This reply was modified 4 years, 11 months ago by ilyapokrov.
Forum: Themes and Templates
In reply to: [Vantage] Incorrect display of the sidebar on the site pagesAll settings are correct. All have “Default” specified. That’s not the problem(
Forum: Themes and Templates
In reply to: [Vantage] Incorrect display of the sidebar on the site pagesThank you for trying to help me)
The problem is that I do not display this panel correctly. When I go to Customize > Page Template Settings, the full list of settings is displayed during loading, but then disappear (As in the screenshot) and I can’t select anything. Where I managed to look – everywhere Default.
https://ganzola.ru/wp-content/uploads/2020/04/Screenshot_11.jpg
https://ganzola.ru/wp-content/uploads/2020/04/Screenshot_12.jpgForum: Themes and Templates
In reply to: [Vantage] Incorrect display of the sidebar on the site pagesI disabled all plugins except Woocommerce and deactivated the child theme.
The result is exactly the same.
The template of the main page is different from the patterns of other pages. In the “Appearance-customize” tab, you can only configure the General Sidebar setting, there is no page-by-page setting.
I also wanted to inform you that after updating the theme, I have a Home Page Slider, despite the fact that “Settings – Theme Settings” is set to “none”. I had to remove it via CSS:
#main-slider{display:none!important;}