Short description of issue
I need help getting the personalized names/date over to the receipt.
Link to Shopify Store
https://ppxnr7nqqe1eez8m-84680933634.shopifypreview.com/products_preview?preview_key=a09f2497770355e
Reproduction steps
Fix this existing Wedding personalization block, without creating another block or a separate form. Connect both inputs to the same product form used by Horizon’s Add to cart button, so Horizon’s AJAX cart submits them as line-item properties named exactly “Names to print” and “Wedding date to print”. Ensure both entered values appear on the cart item and carry through checkout to the order. Read the actual selected Saying value from Horizon’s variant picker. Show, enable, and require both fields only when Saying is exactly “Names & Wedding Date Only”. For every other selection, hide the entire block, disable both inputs, and remove their required validation so their values aren’t submitted. Apply this on initial load, immediately after selection changes, and after product section re-renders. Preserve the visible input borders, existing photo upload, and all other product choices.
Additional info
This needs code-level changes to the block or theme code that go beyond the visual customizer. The Wedding personalization block doesn’t expose controls for connecting inputs to Horizon’s form, managing line-item properties, or adding the conditional logic you need to show/hide based on variant selection.
To complete this, you’ll need to edit the block’s Liquid or JavaScript code directly in the theme code editor. Here’s what needs to happen:
In the code editor, find and update the Wedding personalization block to:
Connect both inputs to Horizon’s product form using the correct form ID
Set the input name attributes to properties[Names to print] and properties[Wedding date to print]
Add JavaScript that listens to Horizon’s variant picker changes, reads the selected Saying value, and toggles the block’s visibility and input disabled/required states based on whether Saying equals “Names & Wedding Date Only”
Ensure the logic re-runs after variant changes and section re-renders. Help!
What type of topic is this
Troubleshooting
