Can I replace the price on collections/search with a text field from that product's template?

Can I replace the price on collections/search with a text field from that product's template?

Sleemo
New Member
4 0 0

I would like to replace the price in the collections page/search results for specific products where we have replaced the default price with a custom price and details using text fields in product templates. We would like to use product a product tag to trigger the change.

I know it's confusing but here is the reason we need it:

We sell a pre-order item for $1 down partial payment. The balance is collected at fulfillment by a NEW draft order. We cannot use the Shopify deferred payments method because we need to split and merge items from multiple orders to fulfill. So, the item is $1 in Shopify. We replace that price with the full price and terms on the product page but in the collections and search, it shows as $1. For now, I just removed the price on the collections page as a simple fix using css I found on the forum.

Reply 1 (1)

PageFly-Theodor
Shopify Partner
691 86 105

Hi @Sleemo ,
This is Theodore from PageFly - Shopify Page Builder App.

 

 

Two options to replace price for specific products (using a product tag) in collections/search:

  1. Hide Price: Simpler but hides all price info. Edit collection template to hide price section for tagged products.

  2. Replace Price with Text: Shows full price & terms. Edit collection template to:

    • Use conditional statements based on the tag.
    • Replace price element with custom text retrieved from product details (likely using metafields).

Important: Theme code modification required (consult a developer). Consider user experience - hiding price might confuse customers.


Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.