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?
https://faceclub-il.com/
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.
https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/templates#create-a-new-template
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.
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
https://faceclub-il.com/
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.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/sections-and-blocks#using-metafields-and-dynamic-sources
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.