James
Forum Replies Created
-
Forum: Plugins
In reply to: [Discount Rules and Dynamic Pricing for WooCommerce] Exclude Sale ItemsI’ve figured it out – Just for future reference for anyone else looking (this does require the pro version)
- Change discount type to “per item”
- Then in items, add a condition and select “Product is on sale” and then select “no”
This will then work out the price for each item not on sale, and apply the percentage discount on regular priced items.
@fauzanjegstudio this fix does not resolve the issue
Forum: Plugins
In reply to: [Jeg Elementor Kit] [URGENT] Site breaks for connected admins on frontendAlso having the same issues – disabling Element Cache does not resolve the issue.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] CSS Conflict BackendThe easiest method to reproduce this is probably using the Option Tree plugin (there’s a few themes that use this to manage theme options).
https://www.ads-software.com/plugins/option-tree/
We’ve also noticed that this overrides the contact form 7 backend styling on the tabs when editing a contact form. Seems that the CSS is being loaded throughout the wp-admin section and not just when viewing the Wishlist configuration page.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] CSS Conflict BackendHi Hector,
It comes from /wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/assets/css/jquery-ui/jquery-ui.min.css?ver=1.11.4
Just noticed exactly the same issue – rolling back to previous version works.
I’ve just dropped you an email via the support form.
Hi Joost,
We got this on a standard WooCommerce install too – basic theme and nothing else running apart from Woocommerce.
It seems that it may be a rounding issue with, there is 1p difference between what the website states and what is sent to PayPal.
Only happens when a percentage discount code is applied to the basket.
Previously there was an option to not send cart details across to PayPal on other PayPal plugins, but seems that this isn’t an option anymore on this PayPal gateway.
To recreate the same issue
Add this product to basket (only) https://www.onlyoakfurniture.co.uk/product/newark-150cm-oak-dining-table/
Go through to the checkout, and add the discount code SF5
Accept the T&C’s
Try placing the order with PayPal – You’ll receive the error.I’m assuming this is a rounding issue with the data sent to PayPal.
- This reply was modified 3 years, 2 months ago by James.
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] PayPal “Pay Later” button missingI also have this issue on one website, I’m assuming its permissions on PayPal side of things, and how your PayPal account is set up.
- This reply was modified 3 years, 2 months ago by James.
Forum: Plugins
In reply to: [REVIEWS.io for WooCommerce] Issue With Plugin with WP ListerUpdate fix for this one
public function processCompletedOrder($order_id) { update_post_meta($order_id, '_reviewscouk_status', 'processed'); $api_url = $this->getApiDomain(); $order = new WC_Order($order_id); $items = $order->get_items(); $p = array(); foreach ($items as $row) { $productmeta = wc_get_product($row['product_id']); if ( ! $productmeta ) { continue; } if(isset($productmeta)){ $sku = get_option('product_identifier') == 'id' ? $row['product_id'] : $productmeta->get_sku(); if ($productmeta->get_type() == 'variable' && get_option('use_parent_product') != 1) { $available_variations = $productmeta->get_available_variations(); foreach ($available_variations as $variation) { if ($variation['variation_id'] == $row['variation_id']) { $sku = get_option('product_identifier') == 'id' ? $variation['variation_id'] : $variation['sku']; } } } $url = get_permalink($row['product_id']); $attachment_url = wp_get_attachment_url(get_post_thumbnail_id($row['product_id'])); if (!(get_option('disable_reviews_per_product') == '1' && $productmeta->post->comment_status == 'closed')) { $p[] = array( 'sku' => $sku, 'name' => $row['name'], 'image' => $attachment_url, 'pageUrl' => $url, ); } } } $country_code = 'GB'; if (isset($order->get_address()['country'])) { $country_code = $order->get_address()['country']; } $data = array( 'order_id' => $order->get_order_number(), 'email' => $order->get_billing_email(), 'name' => $order->get_billing_first_name() . ' ' . $order->get_billing_last_name(), 'source' => 'woocom', 'products' => $p, 'country_code' => $country_code, ); if (get_option('api_key') != '' && get_option('store_id') != '' && get_option('send_product_review_invitation') == '1' && count($data['products']) > 0) { $this->apiPost('product/invitation', $data); } if (get_option('api_key') != '' && get_option('store_id') != '' && get_option('send_merchant_review_invitation') == '1') { $this->apiPost('merchant/invitation', $data); } }
Forum: Plugins
In reply to: [REVIEWS.io for WooCommerce] Issue With Plugin with WP ListerLatest update and this error check has not been entered into the code.
Added within woocommerce-reviews.php (after line 323)
`if(isset($productmeta)){
Closing } on line 348
Forum: Plugins
In reply to: [REVIEWS.io for WooCommerce] Woocommerce ErrorLooks like the issue is due to possibly having no SKU on a product that has been purchased.
Quick fix would be to Change Product Identifier to ID under Reviews Settings > Advanced
The issue code is under woocommerce-reviews.php line 324
PHP Fatal error: Uncaught Error: Call to a member function get_sku() on bool in…
$sku = get_option(‘product_identifier’) == ‘id’ ? $row[‘product_id’] : $productmeta->get_sku();