From 55cbe51592654a2b13420247fc352fda82c782d9 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 11 Mar 2025 16:18:07 +1100 Subject: [PATCH] Prevent Turbo pre-fetch which changes cart state --- app/views/checkout/_tabs.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/checkout/_tabs.html.haml b/app/views/checkout/_tabs.html.haml index e4c027c895..6042e190da 100644 --- a/app/views/checkout/_tabs.html.haml +++ b/app/views/checkout/_tabs.html.haml @@ -1,4 +1,5 @@ -.flex +-# Prevent Turbo pre-fetch which changes cart state +.flex{'data-turbo': "false"} .columns.three.text-center.checkout-tab{"class": [("selected" if checkout_step?(:details)), ("success" unless checkout_step?(:details))]} %div %span.checkout-tab-number