Skip to content

Dynamic checkout button disappears after update (with data-ajax-cart-static-element applied) #62

Discussion options

You must be logged in to vote

@sofiaborovskaia I completely forgot, I had the similar issue with another app that used iframe. So I think what can help is removing the payment buttons row from the data-ajax-cart-section completely:

<div data-ajax-cart-section="top">
  <!-- top part -->
</div>
<div>
  <!-- payment buttons -->
</div>
<div data-ajax-cart-section="bottom">
  <!-- footer, checkout btn etc. -->
</div>

The issue is it is not possible to detach and attach iframe back (this is how static-element works) while re-rendering.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sofiaborovskaia
Comment options

Answer selected by sofiaborovskaia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants