vguns
Forum Replies Created
-
And how to check if a product is in a bundles?
(new WPCleverWoosb)->get_bundles($product_id)
- This reply was modified 1 year, 4 months ago by vguns.
Forum: Plugins
In reply to: [WPC Product Bundles for WooCommerce] Change stock statusI use the code to move products that are not available to the end of the list
add_filter('posts_clauses', 'order_by_stock_status', 999); function order_by_stock_status($posts_clauses) { global $wpdb; // only change query on WooCommerce loops if (is_product_category()||is_shop()||is_product_tag()) { $posts_clauses['join'] .= " INNER JOIN $wpdb->postmeta istockstatus ON ($wpdb->posts.ID = istockstatus.post_id) "; $posts_clauses['orderby'] = " istockstatus.meta_value ASC, " . $posts_clauses['orderby']; $posts_clauses['where'] = " AND istockstatus.meta_key = '_stock_status' AND istockstatus.meta_value <> '' " . $posts_clauses['where']; } return $posts_clauses;
maybe there is some working solution for products and bundles?
Thank you, unfortunately the problem has not been solved. Other errors appeared:
[30-Mar-2023 06:08:07 UTC] PHP Warning: SimpleXMLElement::addChild(): Cannot add child. Parent is not a permanent member of the XML tree in ***/plugins/woo-product-feed-pro/classes/class-get-products.php on line 1829
[30-Mar-2023 06:08:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function addAttribute() on null in ***/plugins/woo-product-feed-pro/classes/class-get-products.php:1909
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Image size 64×641 but this filter changes the woocommerce_thumbnail in the details panel.
2 how to completely remove the size dgwt-wcas-product-suggestion?Forum: Plugins
In reply to: [WPC Product Bundles for WooCommerce] Incorrect stockForum: Plugins
In reply to: [WPC Product Bundles for WooCommerce] Move woosb_add_to_cart_formThanks, it’s great
Forum: Plugins
In reply to: [Robokassa payment gateway for Woocommerce] Ошибка функции has_capПожалуйста уберите все 8 (вместо них ‘edit_pages’) в функции robokassa_payment_initMenu()
и сделайте нормальное подключение стилей админки, сейчас они подключаются слишком рано, насколько я понимаю.
Спасибо
- This reply was modified 5 years, 8 months ago by vguns.
Rejected cookies: wordpress_logged_in – does not use cache for logged in users
And how to create a different cache for users and guests?Forum: Plugins
In reply to: [WooSwipe WooCommerce Gallery] Variation products not showing on slider.is there a solution to this problem?
Почему то перестает работать функция get_tariff()
странно убрал внутри функции условие is_checkout() описание появилось
- This reply was modified 6 years, 9 months ago by vguns.
плагин WooCommerce Pay for Payment также убивает описание
отключаю хук woocommerce_cart_calculate_fees в этих плагинах описание способа доставки появляется[2017-04-17 23:14:04] – [Posted] [ok.ru – ok.ru #0] – OK – Message Posted Водка ?Деликатесная? | Post Link
[2017-04-17 23:14:04] – [Message] [ok.ru – ok.ru #0] – IMAGE UPLOAD ERROR: (https://lmto.ru/wp-content/uploads/2017/04/dcbac985e5059c6fa8f4265ee6fd8016.jpg) Водка ?Деликатесная?in ok.ru does not the publication of pictures
my version number – 3.7.17