walkinverse
Forum Replies Created
-
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Will no longer sync & stuck in a loop@ryanhungate any update for the update to the plugin? I’ve been holding off doing newsletters, but I need to send something. Thanks!
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Error log – Product 0 does not exist@ryanhungate thank you and just sent an email with a screencast also and further explanation. And on my store with the screencast, it has been over 24hours.
And some of the other errors I was getting before blowing everything out were this:
018-09-11T04:28:37+00:00 ERROR product_sync.error :: addStoreProduct :: 13248 :: Resource Not Found :: The requested resource could not be found. on 1432 in /home/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php
Yet the product ID existed and was public. Again, more details in the email.
@jeppeskovsgaard @khungate It is not a transient issue. I told them that a few days ago. I also manually deleted all transients.
@khungate I have deleted, re-installed, removed from mailchimp, deleted manually from the filesystem, you named it, I tried it and nothing worked. The only thing that got it working again is I had to DELETE MY ENTIRE store and repopulate it. Then, and only then did it sync. And I DELETED ALL transients with the plugin also. There is a serious bug. Also, look at your comments, more people are logging the same complaint with the same errors.
@khungate that doesn’t work and I already responded in another thread with no response for a few days now. That does not resolve the issue.
The only way I got around this is I took my smallest store, deleted all the items and added them back. Took a few hours. Then it synced. Not a solution if you ask me.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Error log – Product 0 does not existOk, update. While this is NOT a solution, the only way I can get it to work was to delete my entire store and repopulate it. Then it would sync. If this was on my main store, I would have been screwed.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Will no longer sync & stuck in a loopHello? Any ideas? It does not work, no matter what I do. It will not sync.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Error log – Product 0 does not existI am getting the exact same errors. I have deleted, added, updated, etc.. Nothing works. Cannot sync! I even DELETE my store and re-created it! Testing to see if that works. Started to get more than frustrated.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Will no longer sync & stuck in a loopAdded the plugin and “http_worker_lock” does not exist. ANy ideas?
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Will no longer sync & stuck in a loopWhere do I run this from?
Once I ran this below – everything synced up perfectly:
delete_site_transient( ‘http_worker_lock’ );
Forum: Plugins
In reply to: [WooCommerce] Current Release 3.4.5 BREAKS CouponsI did the same and am using 3.4.4. My only concern is what happens if 3.4.6 has a bug like this one, then do we need to wait to 3.4.7? Isn’t there anything like a hotfix for these type of issues?
At the same time, I do realize this is free software, and I appreciate all the work the dev teams put into this. The above is more of a question and not a complaint.
Forum: Plugins
In reply to: [WooCommerce] Current Release 3.4.5 BREAKS Coupons@claudiulodro IN case I am not making sense, the issue with the coupon is that you can add a non-sale item and a sale item. You have a coupon set to percentage and to ignore on sale items and only allow it to be used with 1 item in the cart. In 3.4.4 no issue, everything works are expected. 3.4.5 it does not. Currently (3.4.5) if you try to apply the coupon it kicks out and will not work on the non-sale item. If you remove the sale item and try again the coupon works. You add the sale item back to the cart with the non- sale item it throws an error saying coupon cannot be used, which is incorrect. Please see the video. 3.4.4 is normal behavior, 3.4.5 is not.
https://www.dropbox.com/s/vikywyz8945z804/Recording%20%2332.mp4?dl=0
In the foreach loop it does not consider all the items in the cart. It kicks out as soon as it sees an item flagged as on sale. It should first make sure that one of the items are valid for coupon use.
Function: protected function validate_coupon_sale_items( $coupon )
Look at the foreach loop in this code and you will see the logic that is causing it. If you first got the count then had a tracking count that each time you hit a sale item increment by 1. Then at the end of the foreach if those numbers do not match then that means one item was valid for coupon use. If both numbers matched the that implies all items are on sale items.
Example:
$total_items = count(items); $onsale_item = 0; foreach(items as $item) if($item->onsale) $onsale_item++; if($onsale_item != $total_items) coupon can be used else all items in the cart are on sale.I hope this helps. Thank you again.
- This reply was modified 7 years, 8 months ago by walkinverse.
Forum: Plugins
In reply to: [WooCommerce] Current Release 3.4.5 BREAKS Coupons@claudiulodro The item in the cart is a sale item (coupon should not work for that one) and a non sale item (the coupon should work for that one). It is NOT a fix cart coupon but a percent coupon. It is broken. Watch the video. Before the 3.4.5 update, everything works. 3.4.5 breaks, 3.4.4 works. This was not set to fixed cart. The coupon should take for the non sale item. The sale item the coupon should not work. So that is not right. If you give someone a coupon for 10% off on a non sale item and they add both a non sale item and the same item, the coupon should work on the cart for the non sale item only and not apply to the sale item. As of 3.4.5 it breaks and the coupon does not allow anything to pass through. You foreach loop disregards once it hits a sale item and breaks and flags the variable to escape. That is not correct. That is not the correct behavior. Watch the video and you will see what I am referring to. It is broken. Again, watch the video. Two items are added. 1 was on sale, 1 is not. The customer adds a coupon that is set to X % off and to ignore sale items. The coupon shoudl only work for the item that is not on sale. but your logic ignores all regardless. THIS IS NOT CORRECT.
Forum: Plugins
In reply to: [WooCommerce] Current Release 3.4.5 BREAKS Coupons@rynald0s Thank you so much. This might help with the fix. Have not tested thoroughly, but run it a few time on the test site.
$total_items = count($this->get_items_to_validate()); $item_count = 1; foreach ( $this->get_items_to_validate() as $item ) { if ( $item->product && $item->product->is_on_sale() ) { if($item_count > $total_items) { $valid = false; break; } } $item_count++; }- This reply was modified 7 years, 8 months ago by walkinverse.
- This reply was modified 7 years, 8 months ago by walkinverse.