Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello
Using dawn 7
I have 1 collection in which all the products within this collection - I need that the buy button / add to cart button will be sending the user to an external URL.
is it possible?
only the products on this collection-
https://faceclub-il.com/collections/%D7%98%D7%99%D7%A4%D7%95%D7%9C%D7%99%D7%9D
thanks
When the buy buttons are not on the collection template itself and instead collection page sends them to the product page then use an alternate template with the buy-buttons turned off and use a custom-liquid section for the outbound link or to surface a metafield on each individual product that exposes a metafield.
If the buy buttons are on the collection page itself , such as add-to-cart or quick-buy buttons, then you will need an advanced customization to change the themes code.
If you need this customization service you can contact me directly.
Please provide context, examples: store url, theme name, post url(s) , or any further detail.
Contact Info in signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I have a different template for this collection and products page.
the buy button on these specific products is hidden - I would love to use the custom-liquid section for the outbound link
but I don't know how...
can you help with that?
Using dawn 7
store url
products on this collection-
https://faceclub-il.com/collections/%D7%98%D7%99%D7%A4%D7%95%D7%9C%D7%99%D7%9D
thank you!!!
Setup a test product published to the online sales channel.
In settings create a product metafield definition(MFDF) of a url type or text.
Figure out a good name it something like marketing.external_landing_page_url , merchandising.external_purchase_url ; those are suggestion really think through the long term name for this data.
In a custom-liqud block you'd get the output using something like {{ product.metafields.marketing.external_landing_page_url.value}} then tailor the html to need.
Note this is a static url to have dynamic it per variant selection is an advanced customization that would instead use a MFDF on variants and require creating javascript code.
Good Hunting.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025