superkot
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Подключение не защищено/Ошибка нарушения конфиденциальностиУ вас проблема с сертификатом для сайта, этот вопрос в принципе не относится к WordPress. Используемый сертификат для *.timeweb.ru, а не для вашего домена. Если тарифный план позволяет, выпустите бесплатный сертификат для своего сайта, при необходимости обратитесь в поддержку Timeweb.
You need to “hide” both and then show the Elementor breadcrumbs only. They have their own parent class .elementor-widget-container. Better use display:none instead of visibility:hidden, since the latter leaves extra empty space from the element.
.woocommerce-breadcrumb {display: none;} .elementor-widget-container .woocommerce-breadcrumb {display: block;}
Forum: Fixing WordPress
In reply to: woocommerce speed issueYou need to check the Waterfall tab, it shows the amount of time it takes to load various elements:
https://i.imgur.com/nkVH6QG.png
The first two files which take long are:
<link rel=stylesheet id=hwl-style-css href=https://www.kroftcart.com/wp-content/cache/omgf-webfonts/fonts.css type=text/css media=all><link rel=stylesheet id=custom-style-css href=https://www.kroftcart.com/wp-content/themes/oceanwp/css/custom_script.css type=text/css media=all>
You have some kind of caching plugin and probably a theme issue. Try disabling that caching plugin and try changing the template.
Also, there is a very long ajax call, it could be connected with your theme or some plugin.
is there any way to check which plugin is generating these custom URL or which plugin is affecting the loading time?
Yes, there is. Try deactivating plugins one by one until you find what is causing this.
Forum: Fixing WordPress
In reply to: woocommerce speed issueThe longest to load is a “https://www.kroftcart.com/?custom-css=c29ecb1b7f” URL. It is not a Woocommerce issue, but something that generates this weird form of custom CSS. It could be Jetpack’s doing or some other plugin. Try deactivating it.
Forum: Plugins
In reply to: [WooCommerce] Check before placing orderIf you don’t want to remove the method, just block the order placement, you can go with the woocommerce_checkout_process hook, and add an error message:
add_action( 'woocommerce_checkout_process', 'dont_allow_order', 10 ); function dont_allow_order() { // check your condition if ( true == $my_condition ) { if( is_checkout() ) { wc_print_notice( sprintf( 'You don't have enough credits.' ), 'error' ); } } }
Forum: Fixing WordPress
In reply to: Arabic in Permanent linkWhile unfortunate, but its the way most internet resources treat any non-English URLs, not just Arabic. The reason for that is security, to prevent scammers from using similarly-looking characters from different languages to fake someone else’s websites.
Forum: Fixing WordPress
In reply to: Ошибка при переходе на сайтПри переходе откуда?
Вторая ошибка – у вас установлен QTranslateX – устаревший неподдерживаемый плагин. Не вижу на вашем сайте переключателя языков, так что его можно вообще отключить, поскольку он не используется. Или использовать какой-то иной плагин для мультиязычности.
Forum: Plugins
In reply to: [WooCommerce] Insert custom product property in order emailIn your product, open the Advanced tab (the one with the gear icon), and use the field named Purchase note. Each note will be a full-width row under the corresponding product row. Example: https://i.imgur.com/ZL8Cfau.png
Forum: Plugins
In reply to: [WooCommerce] order notifications not sentDo you have any mail logging plugin enabled? Do other types of emails get send successfully? Have you tried that with a default, unedited theme?
Forum: Plugins
In reply to: [WooCommerce] Image gallery not showing on woocommerce single product pageDid you try deactivating the gallery plugin? It is not a Woocommerce default gallery, so your issues belong with it.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce new Gateway PaymentYou can’t put Java or Python code into Woocommerce, because its backend is PHP, a different language. You need to hire a developer who can create a payment gateway for that API, or persuade the payment company to do that.
Forum: Plugins
In reply to: [WooCommerce] Check before placing orderYou can use the woocommerce_available_payment_gateways filter:
function remove_payment_method_if_not( $available_gateways ) { // check your condition if ( true == $my_condition ) { unset( $available_gateways['my-gateway'] ); } return $available_gateways; } add_filter( 'woocommerce_available_payment_gateways', 'remove_payment_method_if_not', 10, 1 );
Forum: Plugins
In reply to: [WooCommerce] Blurry imagesIt is not a Woocommerce issue. Your images seem to be hosted with the Jetpack CDN. You need to check your Jetpack settings and try to change something there, or contact Jetpack support if nothing works.
Forum: Plugins
In reply to: [WooCommerce] Username field in the order confirmation emailIf you need user’s name name (not username), it would be the combination of $user_info->first_name and $user_info->last_name.
So you need:
echo 'Username: '.$user_info->first_name.' '.$user_info->last_name.'\n';
Forum: Plugins
In reply to: [WooCommerce] How to validate review form?comment_post acts on a comment, and comment of course is not a product. You need to use get_comment to retrieve comment object, then identify the post which was commented (comment_post_ID), then test whether it is a product or not (is_product will not work here, you’ll need get_post_type).