Home › Forums › WoodMart support forum › MiniCart Widget Issue
MiniCart Widget Issue
- This topic has 73 replies, 3 voices, and was last updated 1 year, 1 month ago by Artem Temos.
-
AuthorPosts
-
October 6, 2023 at 12:55 pm #502205
Artem TemosKeymasterCould you please clarify what exactly has changed on your website?
October 6, 2023 at 1:21 pm #502219
spnutrateaParticipant1. Shop Archive page: Product Title section -> https://prnt.sc/VzRbAKNM066r
2. Shop filters both in Desktop and Mobile are no longer visible
3. Single Product page is messed up completely.
a. Title
b. Additional tabs
c. OthersFor your information, you can check the backup server I have created shared in the private content.
October 6, 2023 at 2:21 pm #502232
Artem TemosKeymaster1. We didn’t change anything related to this. But as far as we understand, it is something related to your custom code, right? Please, check your customization and see what is wrong there.
2. It looks like there are not widgets in the sidbar at the moment. But we didn’t remove them. Please, check this in Appearance -> Widgets.
3. Are you talking about some customizations made on a single product? We didn’t touch anything related to the single product at all. Maybe you have a backup for this website so you can restore it?
Kind Regards
October 6, 2023 at 3:05 pm #502246
spnutrateaParticipantI will restore the backups as suggested but please do not change anything unless being asked.
October 6, 2023 at 3:22 pm #502254
Artem TemosKeymasterWe thought that it was a staging website, sorry for the inconvenience.
Kind Regards
October 6, 2023 at 3:31 pm #502259
spnutrateaParticipantBut whosoever changes it would restore to the stage how it was not overriding the customisations.
October 6, 2023 at 4:20 pm #502293
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
add_filter( 'woodmart_update_fragments_fix', '__return_false' );
October 6, 2023 at 5:59 pm #502316
spnutrateaParticipantIs the PHP code snippet for MiniCart issue?
October 7, 2023 at 10:57 am #502409
Artem TemosKeymasterYes, this code should fix the Mini cart issue. Please, test it and let us know if it helps.
Kind Regards
October 9, 2023 at 2:56 pm #502722
spnutrateaParticipantAfter implementing the code snippet in our function.php file Mini cart does not render PayPal Button. With every update in the minicart should not affect Amazon Pay and PayPal Button.
Attachments:
You must be logged in to view attached files.October 9, 2023 at 3:06 pm #502726
Artem TemosKeymasterHello,
Can we switch to Storefront theme again to see if the PayPal works well there?
Kind Regards
October 9, 2023 at 3:41 pm #502751
spnutrateaParticipantHi There,
Creating a backup of the website, will give you nudge once done.
Kind regards
SPOctober 9, 2023 at 3:43 pm #502752
spnutrateaParticipantHowever, I wonder why MiniCart elements should have impact on the elements underneath checkout buttons. Possibly, you may like add a script for such.
October 9, 2023 at 4:37 pm #502766
spnutrateaParticipantHi,
Backup is completed. Please let us know once you finish your testing then we can switch it back to the current stage.
Regards
October 10, 2023 at 11:54 am #502965
Artem TemosKeymasterHello,
We have investigated this issue and found that this plugin is not fully compatible with our theme custom quantity AJAX in the mini cart. This option should be disabled because we can’t do anything in our theme to make it work, unfortunately.
Kind Regards
October 10, 2023 at 12:06 pm #502973
spnutrateaParticipantHi There,
Is there any java script or code snippet available for such? Any update in the MiniCart should not affect the elements underneath the checkout buttons. As elements below the checkout button does not fall inside the mini cart update elements.
Kind regards
SPOctober 10, 2023 at 12:22 pm #502978
Artem TemosKeymasterHello,
We don’t have a custom code for this, unfortunately. When you change the quantity it reload the whole widget including cart and checkout buttons and everything hooked right after them. But this plugin doesn’t hook its buttons in our custom theme’s AJAX. It works with WooCommerce AJAX only.
Kind Regards
October 10, 2023 at 12:37 pm #502986
spnutrateaParticipantAs you have mentioned, it works only with WooCommerce AJAX. May I request implementing the custom theme Ajax same like WooCommerce AJAX feature?
When an user change the quantity in MiniCart, it should not reload the whole widget but certain section in the mini cart. There are a couple of WooCommerce hooks and upsell plugins for mini cart will not be compatible if we are unable a solution now. For instance, we are planning to implement and test Woocommerce SmartOffers Plugin for order bump and promote certain products in the mini cart widget.
I would appreciate if we can find a viable solution, as PayPal is most trusted and prominent payment gateway for the users due to the buyer and seller protection.
October 11, 2023 at 9:21 am #503209
Artem TemosKeymasterHello,
We can’t use the WooCommerce AJAX function to implement our custom quantity control, unfortunately. We will consider this as a feature request and try to find some workaround in the future.
Kind Regards
October 11, 2023 at 10:58 am #503249
spnutrateaParticipantHi,
Is there no way any script or code snippet only the update or trigger the following hooks by leaving out other hooks?
woocommerce_before_mini_cart
woocommerce_before_mini_cart_contents
woocommerce_mini_cart_contentsKind regards
SPOctober 11, 2023 at 11:21 am #503267
Artem TemosKeymasterHello,
Sorry, we don’t quite understand what you mean. Could you please clarify what script you are talking about?
Kind Regards
October 11, 2023 at 11:50 am #503275
spnutrateaParticipantVisual of woocommerce mini cart hooks snapshot: https://prnt.sc/9LSIGrVD_tFS
Maybe you can share a code snippet that we can implement in function.php file or any custom javascript that would not trigger the updates in woocommerce_widget_shopping_cart_buttons & woocommerce_after_mini_cart.
October 11, 2023 at 12:10 pm #503284
Artem TemosKeymasterWe use WooCommerce function there and it always updates the whole mini cart block. Here is a code where you can see how it works and that we can’t change the returned content https://gyazo.com/e3ecf8b225fcd0c586f2c77caa245c73
Kind Regards
October 12, 2023 at 5:47 pm #503756
spnutrateaParticipantHi
Thank you for the additional information. I have switched the woocommerce storefront theme and created a video to check. Maybe you would like to see it. Updates does not impact whole mini cart block. I hope you can solve it as you know better than us.
Kind regards
October 12, 2023 at 5:50 pm #503757
spnutrateaParticipantwebsite link in the private content.
October 13, 2023 at 9:57 am #503874
Artem TemosKeymasterHello,
Please, reupload the video or send us a link to it so we can see the issue.
Kind Regards
October 13, 2023 at 11:48 am #503917
spnutrateaParticipantIs there any link available to share the video? Xtemos shows the error mini-cart-payment-gateways-issue-2023-12-10.mp4: File exceeds allowed file size.
October 13, 2023 at 11:50 am #503918
Artem TemosKeymasterYou can use Google Drive, YouTube or Dropbox to upload your video and share with us.
October 13, 2023 at 1:02 pm #503960
spnutrateaParticipanthttps://drive.google.com/file/d/14ykzMGGWat3256FXZacFzZjPkZR9RAi9/view?usp=sharing
- This reply was modified 1 year, 2 months ago by spnutratea.
- This reply was modified 1 year, 2 months ago by spnutratea.
October 13, 2023 at 2:44 pm #503995
Artem TemosKeymasterBut it works in the same way with WoodMart too. Here is a video https://gyazo.com/c6c474173589cd6ced8784f05e8259c1
Could you please clarify what is the difference? -
AuthorPosts
- You must be logged in to create new topics. Login / Register