Mutation not working #88
-
Hi Guys, I'm not able to configure mutation. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @arkodeepg |
Beta Was this translation helpful? Give feedback.
-
Thank you @EvgeniyMukhamedjanov I was on an older version (2.0.1) so it was causing issue, once I updated it seem to be working, I'm still checking but thank you again. |
Beta Was this translation helpful? Give feedback.
-
Got it thanks
…On Mon, 8 Jan, 2024, 5:36 pm EvgeniyMukhamedjanov, ***@***.***> wrote:
Happy to help!
I noticed, you set conf parameters from the runWhenInit function which is,
I assume, is executed on the liquid-ajax-cart:init event.
The best practice is to set up conf parameter rather before init -- right
after liquid ajax cart library is included to the page, so that when liquid
ajax cart is initialized, it would already have info about all the
mutations that should be applied.
—
Reply to this email directly, view it on GitHub
<#88 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJYY2LN6I223G2BTYEENJTYNPONBAVCNFSM6AAAAABBRJE6SCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANBYGQ4TE>
.
You are receiving this because you were mentioned.Message ID:
<EvgeniyMukhamedjanov/liquid-ajax-cart/repo-discussions/88/comments/8048492
@github.com>
|
Beta Was this translation helpful? Give feedback.
Hi @arkodeepg
Could you make sure you use the latest version of Liquid Ajax Cart, as the mutation feature appeared only in the latest update v2.1.0.
If you use the latest version, pls share a preview link of your store, I'll check what might go wrong :-)