output shortcode from functions on block based checkout
-
I have the following shortcodes that output the following on the frontend:
https://snipboard.io/tKCmoV.jpg
A xx til discount and xx amount till free shipping noticegenerated by the following shortcodes in these functions:
https://snipboard.io/brHRmY.jpg
I want to show these 2 notices in the block based checkout page where i put the shortcodes in the top
https://snipboard.io/W74QpD.jpg
In the frontend it shows without any problem: but when i want to go back to the backend to edit the checkout page i get an error and i cannot acces the page for editing anymore. Furthermore the layout of the checkout page is messed up (not showing the payment options anymore)
Probably i have to use react (with which i am not familiar) or is there a way to make these shortcodes work perfectly so i don’t get an error anymore?
You must be logged in to reply to this topic.