@gem-sdk/core 1.23.0-staging.244 → 1.23.0-staging.253
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.
|
@@ -255,7 +255,7 @@ const RenderChildren = (props)=>{
|
|
|
255
255
|
if (Math.ceil(size / 1024) >= 180) {
|
|
256
256
|
const fileName = `gp-section-snippet-${props.uid}`;
|
|
257
257
|
props.customProps.extraFiles[fileName] = data.liquid;
|
|
258
|
-
return `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant %}`;
|
|
258
|
+
return `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
259
259
|
}
|
|
260
260
|
return data.liquid;
|
|
261
261
|
};
|
|
@@ -272,7 +272,7 @@ const WrapRenderChildren = ({ uid, customProps }, codes)=>{
|
|
|
272
272
|
if (Math.ceil(size / 1024) >= 180) {
|
|
273
273
|
const fileName = `gp-section-snippet-${uid + i}`;
|
|
274
274
|
customProps.extraFiles[fileName] = code;
|
|
275
|
-
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant %}`;
|
|
275
|
+
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
276
276
|
} else {
|
|
277
277
|
liquid += code;
|
|
278
278
|
}
|
|
@@ -251,7 +251,7 @@ const RenderChildren = (props)=>{
|
|
|
251
251
|
if (Math.ceil(size / 1024) >= 180) {
|
|
252
252
|
const fileName = `gp-section-snippet-${props.uid}`;
|
|
253
253
|
props.customProps.extraFiles[fileName] = data.liquid;
|
|
254
|
-
return `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant %}`;
|
|
254
|
+
return `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
255
255
|
}
|
|
256
256
|
return data.liquid;
|
|
257
257
|
};
|
|
@@ -268,7 +268,7 @@ const WrapRenderChildren = ({ uid, customProps }, codes)=>{
|
|
|
268
268
|
if (Math.ceil(size / 1024) >= 180) {
|
|
269
269
|
const fileName = `gp-section-snippet-${uid + i}`;
|
|
270
270
|
customProps.extraFiles[fileName] = code;
|
|
271
|
-
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant %}`;
|
|
271
|
+
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
272
272
|
} else {
|
|
273
273
|
liquid += code;
|
|
274
274
|
}
|