Home Forums WoodMart support forum MiniCart Widget Issue

MiniCart Widget Issue

Viewing 30 posts - 31 through 60 (of 74 total)
  • Author
    Posts
  • #502205

    Artem Temos
    Keymaster

    Could you please clarify what exactly has changed on your website?

    #502219

    spnutratea
    Participant

    1. 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. Others

    For your information, you can check the backup server I have created shared in the private content.

    #502232

    Artem Temos
    Keymaster

    1. 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

    #502246

    spnutratea
    Participant

    I will restore the backups as suggested but please do not change anything unless being asked.

    #502254

    Artem Temos
    Keymaster

    We thought that it was a staging website, sorry for the inconvenience.

    Kind Regards

    #502259

    spnutratea
    Participant

    But whosoever changes it would restore to the stage how it was not overriding the customisations.

    #502293

    Artem Temos
    Keymaster

    Try 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' );

    #502316

    spnutratea
    Participant

    Is the PHP code snippet for MiniCart issue?

    #502409

    Artem Temos
    Keymaster

    Yes, this code should fix the Mini cart issue. Please, test it and let us know if it helps.

    Kind Regards

    #502722

    spnutratea
    Participant

    After 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.
    #502726

    Artem Temos
    Keymaster

    Hello,

    Can we switch to Storefront theme again to see if the PayPal works well there?

    Kind Regards

    #502751

    spnutratea
    Participant

    Hi There,

    Creating a backup of the website, will give you nudge once done.

    Kind regards
    SP

    #502752

    spnutratea
    Participant

    However, I wonder why MiniCart elements should have impact on the elements underneath checkout buttons. Possibly, you may like add a script for such.

    #502766

    spnutratea
    Participant

    Hi,

    Backup is completed. Please let us know once you finish your testing then we can switch it back to the current stage.

    Regards

    #502965

    Artem Temos
    Keymaster

    Hello,

    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

    #502973

    spnutratea
    Participant

    Hi 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
    SP

    #502978

    Artem Temos
    Keymaster

    Hello,

    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

    #502986

    spnutratea
    Participant

    As 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.

    #503209

    Artem Temos
    Keymaster

    Hello,

    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

    #503249

    spnutratea
    Participant

    Hi,

    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_contents

    Kind regards
    SP

    #503267

    Artem Temos
    Keymaster

    Hello,

    Sorry, we don’t quite understand what you mean. Could you please clarify what script you are talking about?

    Kind Regards

    #503275

    spnutratea
    Participant

    Visual 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.

    #503284

    Artem Temos
    Keymaster

    We 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

    #503756

    spnutratea
    Participant

    Hi

    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

    #503757

    spnutratea
    Participant

    website link in the private content.

    #503874

    Artem Temos
    Keymaster

    Hello,

    Please, reupload the video or send us a link to it so we can see the issue.

    Kind Regards

    #503917

    spnutratea
    Participant

    Is 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.

    #503918

    Artem Temos
    Keymaster

    You can use Google Drive, YouTube or Dropbox to upload your video and share with us.

    #503960

    spnutratea
    Participant

    https://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.
    #503995

    Artem Temos
    Keymaster

    But 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?

Viewing 30 posts - 31 through 60 (of 74 total)