mdxclr
Forum Replies Created
-
Looks like working now, but only if
cf-images-disable-async
is alsotrue
, if options are not overridden – it work correctly.I’m using this plugins as mu-plugin
Forum: Plugins
In reply to: [WP REST Cache] trigger do_shortcode on cached requestCan you also please add to filter some data about request? Request URI or callback function name for example
Forum: Plugins
In reply to: [WP REST Cache] trigger do_shortcode on cached requestThat would be great, if you can add the filter, because filtering it throw get_transient_* is very hard.
Forum: Plugins
In reply to: [WP REST Cache] trigger do_shortcode on cached requestOkay, as I understand this filter is skipped and content is returned from
get_cache
function – is there a way how can I filter its content?Forum: Plugins
In reply to: [WP REST Cache] bedrock + mu-pluginHi,
is that possible to make on your side?
I’m installing wp-rest-cache via composer so I can’t change the plugin files manually.
ThanksВ functions.php
function sl_wc1c_post_offer_meta($post_id, $offer) { $attachments = $post_meta = array(); if (!empty($offer['Картинка'])) { $attachments = explode(',', $offer['Картинка']); $attachments = array_filter($attachments); $attachments = array_fill_keys($attachments, array()); } if ($attachments) { $attachment_ids = wc1c_replace_post_attachments($post_id, $attachments); $post_meta['variation_image_gallery'] = get_post_meta($post_id, 'variation_image_gallery', true); $post_meta['_thumbnail_id'] = get_post_meta($post_id, '_thumbnail_id', true); $new_post_meta = array( 'variation_image_gallery' => implode(',', array_slice($attachment_ids, 1)), '_thumbnail_id' => @$attachment_ids[0], ); foreach ($new_post_meta as $meta_key => $meta_value) { if ($meta_value != @$post_meta[$meta_key]) update_post_meta($post_id, $meta_key, $meta_value); } } } add_action('wc1c_post_offer_meta', 'sl_wc1c_post_offer_meta', 10, 2);
Но нужно настроит 1C на выгрузку в файле offers*.xml Картинки, так как изначально на сколько я знаю это не предусмотрено.
В своем случае я, чтоб не проходится по всему древу – в один тег <Картинка> через “,” перечислял все картинки вариации.Forum: Plugins
In reply to: [ReOrder Posts within Categories] Population bugthere is no any errors in debug mode. also in the slider where is the maximum count of the posts displayed correct count.
I maded some debugs from the code –
in
wp-content\plugins\reorder-post-within-categories\admin\partials\reorder-post-within-categories-admin-display.php
$total variable showing 32 posts
but count($ranking) returns only 9.So looks like a problem is in the
_get_order
function – when it making queryWHERE pm.meta_key ='_rpwc2'
, but the new CPT didnt have it before I reset order.I’m using ACF Pro plugin for adding taxonomies for CPT, with the “Save Term” option enabled in. Possibly, ACF making some conflict with creating post_meta and its not queried by your plugin.
Forum: Plugins
In reply to: [OnSale Page for WooCommerce] Doesn’t work properly with Product Filter plgHi,
But it’s not a WOOF, and it’s one of most selling plugin.Already tried that =)
It doesn’t work correct with clean Woocommerce if used recstrictions for payments. Its a CORE feature in woocommerceForum: Plugins
In reply to: [WooCommerce Expand Tabs] Bug with Enfold themeNope, its not fixed
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Double submit when in popup makerOops, the problem was with the ‘Multiple Ajax Submissions’
SryYeap, u’r right.
But now I got the logic.
We can exclude the moment with Conditional Shipping and Payments plugin.By default WooCommerce have control payment methods from selected shipping method. If there is a default radio buttons – we have choosed a first shipping method by default and displayed his available payment methods.
In your plugin we don’t have a default shipping method, but we have a ‘Select shipping method’ placeholder and will still see a payment methods that doesnt have any logic bcs we dont have a selected payment method and this payments is not from any of available shipping method – it’s a random payments. Okay, we can remove this placeholder and first shipping method will be selected, but payments will not be displayed for this shipping method.It doesn’t have sense. Looks like your plugin breaks Woocommerce default payments restrictions.
- This reply was modified 7 years, 5 months ago by mdxclr.
Hm, as I understand – that plugin change Fees amount based on user choices, when I need to change displayed payments and shipping methods..
I can’t find that option in your plugin…However, plugin posted by me – is a official plugin… And a so small compatible bug (
I’m recover that default options “Select shipping method” – look like after changing state – shipping method is not triggered at all.
So we see all payment methods before we choose a shipping method (- This reply was modified 7 years, 5 months ago by mdxclr.
Hello, is any news?
U can look all my scripts here:
https://www.4todelat.ga/otdeleniya/ortoreabilitatsiyaAlso, u can test it here: Press Green or Orange button on any of product
+ Ive tried on a CLEAR wordpress (with default theme) – shortcodes doesnt work from version >= 1.5