A user seeks to replace the “Buy It Now” button with a “Make an Enquiry” button for products tagged as “POA-Price on Application.” The desired functionality includes triggering a pop-up form where customers can submit their contact information.
Proposed Solution:
One responder provided a complete technical implementation involving:
Conditional logic in the product template using Liquid to check for a ‘poa’ tag
HTML markup for a modal enquiry form
CSS styling for the modal overlay and content box
JavaScript to handle modal open/close functionality
The solution includes code snippets for modifying main-product.liquid, adding modal HTML to theme.liquid, styling in CSS files, and JavaScript event handlers.
Alternative Resource:
Another participant recommended a YouTube tutorial (under 5 minutes) as a potential guide for implementation.
The discussion remains open, awaiting feedback on whether the proposed solutions meet the requirements. Screenshots were provided showing the envisioned user flow.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
I have a question regarding customization on our theme. Is it possible to replace the “Buy It Now” button on certain products which are products with
“POA-Price on Application” with a “Make an Enquiry” button? The idea would be for customers to click the “Make an Enquiry” button, which would trigger a pop-up form where they can submit their information. We would then reach out to them after receiving the form.
I’ve attached a file for reference on how we envision this working.
Could you let me know if this is something that can be set up on our theme, and if so, what steps I would need to take to implement it?