• Resolved tajmohamed30

    (@tajmohamed30)


    Hi Team,

    First of all I would like to thank you for providing such a great plugin.

    I recently purchased the sidecart premium

    Flyto cart animate works well in the product page but on homepage it doesn’t work.

    I found the below option on settings but not sure how to use it

    “If your fly to cart animation is not working, add the image container class here.”

    Could you please help

    Regards
    Taj Mohamed

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xootix

    (@xootix)

    Hi @tajmohamed30

    So it took some time to figure out.
    You have this hard coded script for adding to cart, you’re missing one parameter.
    Your Code
    change it to
    $( 'body' ).trigger( 'added_to_cart', [ fragments, cart_hash, $(this) ] );

    Glad you like the plugin, would appreciate if you rate it here

    Thread Starter tajmohamed30

    (@tajmohamed30)

    I have tried adding adding the code but it doesn’t work in product product too which was working before

    please refer this link

    https://www.loom.com/share/70acb3a17ae7444a843e7ed51555017f

    Plugin Author xootix

    (@xootix)

    Where did I say to add this code to your settings, read the answer again.
    You have a custom written code for add to cart functionality. It could be from your theme or from somewhere else. ( Check the screenshot above )
    It is incomplete, change it to the code above.

    • This reply was modified 4 years, 5 months ago by xootix.
    Thread Starter tajmohamed30

    (@tajmohamed30)

    Hi Team,

    Sorry I’m not sure where you are asking to place the code

    Could you please provide me with the snippets so it would be easier for me to do

    Thanks

    Plugin Author xootix

    (@xootix)

    Hi,

    I don’t think I can make it simpler than this.
    Your website has a custom code written for add to cart functionality, it is not using the one from woocommerce.
    It is incorrect, you need to fix it. I have provided the screenshot above of your incorrect code & what you need to edit to make it correct.
    Either it is coming from your theme or from other plugins, you can deactivate and verify.

    Thread Starter tajmohamed30

    (@tajmohamed30)

    hi it resolved itself, after doing no changes
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Flyto cart on homepage’ is closed to new replies.