How to edit request quote block?

Topic summary

A user working with the Empire theme wants to change the button text from “Request quote” to “Send message” in a product request form block. The theme’s customization interface only allows editing the heading, not the button text.

Current situation:

  • The user identified the relevant file as snippets/product-request-form.liquid
  • The phrase “Request quote” doesn’t appear directly in the code, making it unclear where to edit
  • The user shared the complete liquid code from the file

Proposed solution:
A community member suggested:

  1. Navigate to Online Store > Themes > Edit Code
  2. Look for files like contact-form.liquid, request-quote.liquid, or section files
  3. Update the button text in the appropriate location

Status: The discussion remains open as the helper requested the full code to identify where to make the necessary changes. The button text likely comes from a translation file or theme settings rather than appearing as plain text in the liquid template.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Using the Empire theme. Is it possible to edit the text circled in Red to say “Send message” instead of “Request quote”? When you try to customise the block it only allows you to change the heading but I don’t know if any code can be changed in the background to modify the button text?

An example product: https://safetyvalvesonline.com/collections/safety-relief-valves/products/altecnic-caleffi-pressure-relief-valve-with-circlip-connection-4-5-bar-f0000243

Hey @safetyvalves ,

To change the button text from “Request quote” to “Send message” in the code snippet you provided, you can follow these steps:

  1. Online Store > Themes > Edit Code

  2. Locate the Relevant File

Look for the file that contains the provided code snippet. It could be in a file related to your contact form or quote request. Common files to check include:

  1. contact-form.liquid

  2. request-quote.liquid

  3. Any section file like form-section.liquid pr similar.

Update the Button Text

In the appropriate file, find the code snippet:


Change it to:


If I was able to help you, please don’t forget to Like and mark it as the Solution!

Best Regard,

Rajat Sharma

Thank you for your reply. I believe it is in the section snippets/product-request-form.liquid however I can’t see where I would change the code for the button text as there doesn’t appear the phrase “Request quote” in the code.

Could you please provide me with the full code? I’ll make the necessary changes to it.

{% comment %}
@param product {Object}
The product object

@param heading {String}
The block heading

@param show_quantity {Boolean}
If true, show the quantity field

@param show_message {Boolean}
If true, show the message field

@param selected_variant {Object}
The selected variant

@param sku {String}
The variant SKU
{% endcomment %}

{% if heading != blank %}
{% form ‘contact’, class: ‘product-request-form’, id: ‘product-request-form’, data-product-request-form: ‘’ %}
{% if form.posted_successfully? %}
{% assign posted = true %}
{% endif %}

{% if posted %}
{{- 'product.blocks.request_quote.success' | t -}}
{% elsif form.errors %}
{{- form.errors | default_errors -}}
{% endif %} {{- heading | escape -}} {% render 'icon-chevron-down-small' %}

{% unless posted %}

<label
class=“form-field-title”
for=“product-request-form__name”

{{- ‘product.blocks.request_quote.name’ | t -}}

{% liquid assign value = ''

if form.email
assign value = form.email
elsif customer
assign value = customer.email
endif
%}

<input
class=“form-field-input”
id=“product-request-form__email”
name=“contact[email]”
type=“email”
value=“{{- value -}}”
required

<label
class=“form-field-title”
for=“product-request-form__email”

{{- ‘product.blocks.request_quote.email’ | t -}}

<input
name=“contact[product]”
type=“hidden”
value=“{{- product.title | append: ’ - ’ | append: canonical_url | escape -}}”

{% unless product.has_only_default_variant %}
<input
name=“contact[variant]”
type=“hidden”
value=“{{- selected_variant.title | escape -}}”
data-request-form-variant

<input
name=“contact[id]”
type=“hidden”
value=“{{- selected_variant.id -}}”
data-request-form-variant-id

{% endunless %}

<input
{% if sku != blank %}
name=“contact[sku]”
{% endif %}
type=“hidden”
value=“{{- sku -}}”
data-request-form-sku

{% if show_quantity %}

<label
class=“form-field-title”
for=“product-request-form__quantity”

{{- ‘product.blocks.request_quote.quantity’ | t -}}

{% endif %}

{% if show_message %}

{{- form.body -}}

<label
class=“form-field-title”
for=“product-request-form__message”

{{- ‘product.blocks.request_quote.message’ | t -}}

{% endif %}
{{- 'product.blocks.request_quote.submit' | t -}}
{% endunless %}
{% endform %} {% endif %}

@rajweb Hopefully the above is the correct section you require. Thank you.