PluginUs.Net - WooCommerce ve WordPress için İş Araçları

[fikrinizi gerçekleştirin - hayallerinizi gerçekleştirin]

Destek Forumu

Desteğe istek (konu) oluşturmak için oturum açmanız gerekir

Üst Satış Tablosu Birden Fazla Ürün Sepete Ekleme Hatası

Destek cumartesi ve pazar günleri çalışmaz, bu nedenle bazı Cuma istekleri Pazartesi günü yanıtlanabilir. Kayıtla ilgili sorunlarınız varsa, yardım isteyin İletişim sayfa lütfen
24 ~ 36 iş saati içinde e-posta almadıysanız, öncelikle spam kutunuzu kontrol edin ve oradaki destekten herhangi bir e-posta gelmediyse foruma geri dönün ve cevabı buradan okuyun. YAPMAYIN E-POSTALARDA CEVAP [noreply@pluginus.net] FORUMDAN !! E-postalar sadece bilginiz içindir, tüm cevaplar sadece burada yayınlanmalıdır.
Destek Cumartesi ve Pazar günleri çalışmadığından bazı Cuma istekleri Pazartesi günü yanıtlanabilir.

This is a similar error to the one I reported in this post.

If I select multiple products in the upsells table and use the Add Selected button, the cart counter is not updated, and if you check the cart contents using the cart widget, it is empty. Now, if you reload the page, then the cart count will be updated, and the products will show up in the cart. This happens every time you try to add multiple items from the upsell table.

Here is a video demonstrating the problem:

https://screencast-o-matic.com/watch/crlZq7V2Rcu

Suggestions to fix?

merhaba

Lütfen bana wp-admin + FTP erişimini bırakın - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png

Site access credentials added to the private area.

Merhaba

Lütfen bir test yapın

This appears to be working correctly now.

What do I need to do to apply the fix to our staging sites?

 

Merhaba

-"\wp-content\plugins\woot-products-tables\profiles\woocommerce\js\woocommerce-cart.js" dosyasında deneyin - kod ekleyin - https://c2n.me/4ew5kMx.png

// woocommerce yerel alışveriş sepeti için düzeltme
//document.body.dispatchEvent(new CustomEvent('woot-eklendi-sepete'));
jQuery(document.body).trigger('sepete eklendi', [null, null, null]);
jQuery (document.body) .trigger ('wc_fragment_refresh');

Merhaba Pablo,

I thought that was solved, but apparently, it is not. I added the code change to our staging site, but I still see problems with the cart not being updated when you use the Add to cart button to add items from a WOOT table.

I have updated the cloned site so you can test this. Details are in the private data section. All plugins have been disabled except for ones that are needed to test this functionality, including:

  • Elementor
  • Elementor Pro
  • JetBlocks For Elementor
  • JetMenu
  • WooCommerce
  • WOOT
  • WP Rocket

If you go to the table page link I provided in the private notes and try to add a single product using the Add to Cart button in the table, you will notice that the dialog says that the product was added, but the cart count is not being updated and if you click on the cart link, it shows that the cart is empty. If you go to the /cart page you will see the item in the cart. Adding additional products will not update the cart count either.

If you try to add multiple items to the cart from the table, the same problem will happen.

 

I have traced the problem down to the WP Rocket plugin. When I disabled the plugin, the add to cart functionality works just fine.

This plugin has been the source of several problems with other plugins as well, and at this point, I think I am going to remove it—so no need to go any further with this problem.

Merhaba

Tamam mı! Harika!

I have traced the problem down to the WP Rocket plugin - This is a good plugin, I advise you to play with its settings

 

I agree that WP Rocket is a great plugin.

We are hosted on Kinsta, which has an excellent server-based caching system. They do allow some approved caching plugins (WP Rocket is one). However, they do discourage using them as they are not needed. However, Kinsta is missing several other optimization options that WP Rocket offers, such as file optimization, preloading, database enhancements, etc. These are the functions I was interested in.

But after using the plugin for some time, I found that the server-based Kinsta caching just worked much better with virtually no conflicts with other plugins. So as much as I would like to use WP Rocket for all of the other functions it offers, I am removing it.

Merhaba

Understand. I hope everything works correctly now