November 24, 2016 at 11:04 pm #884
WP version: 4.6.1
WC version: 2.6.8
Plugin version: 126.96.36.199
We are having trouble with a Free Product coupon not applying correctly.
It’s set up to auto apply itself silently when the cart reaches £50 or more. On the cart page it shows as being applied and the totals are right. You move to the check out page and the product is still there and still says it’s free but the order total now includes the cost of the free product.
We have it on a staging area if you want to take a look yourself. The details are:
Access Username: torgaming
Access Password: Dye%3dY6D
Steps to Reproduce:
1) Navigate to http://torgaming.staging.wpengine.com/product/teeth-of-thamos/ and add it to the store
2) Navigate to http://torgaming.staging.wpengine.com/cart/ and observe that no free product has been added yet
3) Increase quantity of the added product to 3 and update cart
4) Observe the Free product (sitting Chronicler) has been added and totals are correct.
5) Navigate to the check out and observe the products are correct but the total is now £25 more – the free product has a product price of £25
You can also cause the free products price to be added on the cart if you change the shipping options so it recalculates.
GavinNovember 25, 2016 at 7:56 pm #887
Do you have a plugin installed that changes prices of products? Please let me know what WC related plugins you are using.November 28, 2016 at 12:17 pm #902
Sorry for the delay in responding.
I have tracked the issue down to a plugin we use to allow pre-ordering on products. It’s called ‘WooCommerce Pre-sale, Time offer & Expiring System’ and can be found here: https://codecanyon.net/item/woocommerce-presale-time-offer-expiring-system/13335433
It’s a purchasable plugin, much like yours, so not sure how we go about getting this sorted…
I’m still within support period with that plugin as I am with this one too so not sure if you and the other developer need to solve the issue together etc.
Gavin.December 1, 2016 at 11:42 am #911
Could you try replacing the following lines in includes/wjecf-pro-free-products.php (line 31,32) of my plugin?
add_filter( 'woocommerce_add_cart_item', array( $this, 'filter_woocommerce_add_cart_item'), 90, 6); // overwrite values (price 0.00) if it's a free products add_filter( 'woocommerce_get_cart_item_from_session', array( $this, 'filter_woocommerce_get_cart_item_from_session' ), 90, 3); // overwrite values (price 0.00) if it's a free product
add_filter( 'woocommerce_add_cart_item', array( $this, 'filter_woocommerce_add_cart_item'), 99999, 6); // overwrite values (price 0.00) if it's a free products add_filter( 'woocommerce_get_cart_item_from_session', array( $this, 'filter_woocommerce_get_cart_item_from_session' ), 99999, 3); // overwrite values (price 0.00) if it's a free product
does that help?January 25, 2017 at 12:57 pm #994
Again, sorry for the delay in responding. This is still an issue. I have been testing it today with these changes and the latest version of the plugin – Version 188.8.131.52
GavinJanuary 29, 2017 at 6:31 pm #1012
If you can send me the conflicting plugin to admin at soft79.nl I will take a look.
- You must be logged in to reply to this topic.