tf-checkout-react 1.3.7 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tf-checkout-react.cjs.development.js +4 -6
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +4 -6
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/confirmationContainer/index.tsx +23 -17
package/package.json
CHANGED
|
@@ -114,31 +114,37 @@ export const ConfirmationContainer = ({
|
|
|
114
114
|
<div className="confirmation-page">
|
|
115
115
|
{data && (
|
|
116
116
|
<>
|
|
117
|
-
|
|
117
|
+
<div className='header-container'>
|
|
118
118
|
<div className='header-product-image'>
|
|
119
119
|
<img className='product-image' src={data.product_image}/>
|
|
120
120
|
</div>
|
|
121
121
|
<div className="header-product-text">
|
|
122
122
|
<p className="title">{ confirmationTitle }</p>
|
|
123
|
-
<div className="share-message-section"
|
|
124
|
-
{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
123
|
+
<div className="share-message-section"
|
|
124
|
+
dangerouslySetInnerHTML={
|
|
125
|
+
data.custom_confirmation_page_text
|
|
126
|
+
? createMarkup(data.custom_confirmation_page_text)
|
|
127
|
+
: undefined
|
|
128
|
+
}
|
|
129
|
+
>
|
|
130
|
+
{data.custom_confirmation_page_text
|
|
131
|
+
? undefined
|
|
132
|
+
: (
|
|
133
|
+
<>
|
|
134
|
+
{data.attach_tickets ? (
|
|
135
|
+
<span className="main">Your tickets have been emailed to you</span>
|
|
136
|
+
) : (
|
|
137
|
+
<span className="main">{ confirmationMain }</span>
|
|
138
|
+
)}
|
|
139
|
+
<span className="helper">
|
|
140
|
+
{data.attach_tickets ? 'Please bring them with you to the event' : confirmationHelper}
|
|
141
|
+
</span>
|
|
142
|
+
</>
|
|
143
|
+
)
|
|
144
|
+
}
|
|
133
145
|
</div>
|
|
134
146
|
</div>
|
|
135
147
|
</div>
|
|
136
|
-
{data.custom_confirmation_page_text ? (
|
|
137
|
-
<div
|
|
138
|
-
className='custom-confirmation-page-text'
|
|
139
|
-
dangerouslySetInnerHTML={createMarkup(data.custom_confirmation_page_text)}
|
|
140
|
-
/>
|
|
141
|
-
) : null}
|
|
142
148
|
{data.disable_referral === false && isReferralEnabled && (
|
|
143
149
|
<>
|
|
144
150
|
<div className="referral_text_image_section">
|