wimvl
Forum Replies Created
-
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] WP4.9.1 Compatibility IssueAfter all, the problem seemed to be in the woocommerce gateway paypal express checkout plugin.
See github issue created:
https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/362Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] WP4.9.1 Compatibility IssueOk, for me it seems to be a combination of 3 plugins.
If I only have woocommerce and then ‘WooCommerce Pay for Payment’, ‘WooCommerce PayPal Express Checkout Gateway’ & ‘WooCommerce Product Feed’ active, I have the issue. If I deactivate one of those 3, it works again…Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] WP4.9.1 Compatibility IssueHi,
My first guess is it has something to do with polylang. I can’t turn off polylang though. I switched off all other plugins and if I have only polylang activated, I don’t have the issue. If I have ‘polylang’ and ‘pay for payment’ activated, I have the issue. Also if I have only ‘polylang’ and ‘Hyyan WooCommerce Polylang Integration’ activated, I have the issue.
Checking the post action when pressing the ‘delete featured image link’, I have following parameters:
pll_ajax_backend 1
pll_post_id 45013
post_id 0
thumbnail_id -1
action get-post-thumbnail-html–> As you can see, post_id = 0
If I switch of pay for payment and I click the link again, I have the correct parameters:
pll_ajax_backend 1
pll_post_id 45013
post_id 45013
thumbnail_id -1
_wpnonce a655cc00c8
action get-post-thumbnail-htmlHope this helps…
Thanks,
WimForum: Plugins
In reply to: [Pay for Payment for WooCommerce] WP4.9.1 Compatibility IssueHi,
I have the same problem. Deleting the featured image doesn’t work either.
Please check.I have wordpress 4.9.1 and Woocommerce 3.2.6
Thanks,
WimOk, I added it myself to the invoice template.
So, in wf-template/wf-invoice-pdf-template.php there is a foreach loop on the order items to output the list of products. After that loop I inserted the following foreach loop to output the different fees:foreach($order->get_items(‘fee’) as $item) {
$cell_height = 10;$this->setX(12);
$y_position = $this->getY();
$number_of_lines = $this->total_lines($wf_pklist_column_sizes[‘price’],__($item[‘name’],’wf-woocommerce-packing-list’));
if($number_of_lines > 1) {
$value_cell_height = 10;
$name_cell_height = 10*$number_of_lines;
} else {
$name_cell_height = 10;
$value_cell_height = 10;
}
$this->MultiCell((180 – ($wf_pklist_column_sizes[‘price’])),$name_cell_height,__($item[‘name’],’wf-woocommerce-packing-list’), 1, ‘C’, true);
$this->setXY(12 + (180 – ($wf_pklist_column_sizes[‘price’])), $y_position);
$this->MultiCell($wf_pklist_column_sizes[‘price’],$value_cell_height,__($currency_symbol.’ ‘.number_format($order->get_item_total($item),2),’wf-woocommerce-packing-list’), 1, ‘C’, true);
}Then your plugin also doesn’t support the standard Woocommerce Fees process because it just uses that standard feature…
The plugin is “WooCommerce Pay for Payment”:
https://nl.www.ads-software.com/plugins/woocommerce-pay-for-payment/Thanks,
WimForum: Plugins
In reply to: [WooCommerce] Wrong price filter when searching for productsWoocommerce changed the code and added the search query now:
https://github.com/woocommerce/woocommerce/commit/e9be3a425a2488dcb8b06d306f5975e6fde0a6f6Forum: Plugins
In reply to: [WooCommerce] Wrong price filter when searching for productsor better with content and excerpt included:
$s = get_search_query();
if (!empty($s)) {
$s_terms = explode(” “,$s);
$s_where = implode(“%’) and (post_title like ‘%”,$s_terms);
$sql .= ” AND (((post_title like ‘%”.$s_where.”%’))”;
$s_where = implode(“%’) and (post_excerpt like ‘%”,$s_terms);
$sql .= ” or ((post_excerpt like ‘%”.$s_where.”%’))”;
$s_where = implode(“%’) and (post_content like ‘%”,$s_terms);
$sql .= ” or ((post_content like ‘%”.$s_where.”%’)))”;
}Forum: Plugins
In reply to: [WooCommerce] Wrong price filter when searching for productsok, I solved it by adding the search_query to the sql string in includes/widgets/class-wc-widget-price-filter.php:
So, just before the return, I added:
$s = get_search_query();
if (!empty($s)) {
$s_terms = explode(” “,$s);
$s_where = implode(“%’) or (post_title like ‘%”,$s_terms);
$sql .= ” AND ((post_title like ‘%”.$s_where.”%’))”;
}So much for the in-depth coding…
Forum: Plugins
In reply to: [WooCommerce] Wrong price filter when searching for productsI’m sorry, but your answer is wrong. Or you are not specifying it completely.
If you go to a specific category, the price filter is correctly shown for the products in that category (not for all products as you say).
Check https://www.cycosports.be/nl/product-category/promo/Result is indeed the same, so this is a woocommerce bug…
Thanks,
WimHi,
I switched on the ‘searching by text’ extension. It fixes all filters except for the price filter. It still shows wrong values. It seems to show values for all products, not for the ones selected by the search filter.
Thanks,
WimGo to https://www.cycosports.be/en/shop
Click on category ‘Sales’. –> you will see a filter for color & brand. The pricefilter is from 1 to 1440.
Then search for ‘Durano’ –> https://www.cycosports.be/en/?s=durano&post_type=product&lang=en
–> still the filter for color & brand is shown. For the color: none of the Durano items have that attribute. For the Brand, that should only be ‘Schwalbe’. The price filter now shows a price range from 1 to 5040, which is not applicable for this search term.Thanks,
WimForum: Plugins
In reply to: [Polaroid Gallery] BugNevermind.
It was wp-prettyphoto forcing an older version of JQuery…Kr,
Wim