Goal: make scent options act as clickable “variants” that link to separate product pages while keeping a unified selector.
Clarification: the reference site uses separate products grouped as linked variations, not true variants. Themes like Prestige support this. True variants can be deep-linked via URL parameter ?variant=ID.
Theme context: Palo Alto may not natively support linked products. A custom solution was implemented using metafields (e.g., Fragrance) and code changes in snippets/product.liquid to cross-link products.
Actions completed:
Store access granted; products configured with metafields per item.
Working examples provided for two products (caell.nl URLs and admin product IDs).
Code adjusted to render and link “variant” options.
Styling updates: text set to white and margin added between variant selector and Add to Cart; colors can be edited in snippets/product.liquid.
Enhancement: selected Fragrance displays underlined via metafield-driven logic.
Outcome and next steps: solution is live and functioning. Extending the same approach to different sizes for scents is feasible by implementing the same pattern. Discussion resolved with guidance for further customization.
Summarized with AI on December 26.
AI used: gpt-5.
I would like to know if there’s a solution for the possibility of placing an internal link behind a variant.
For example. I have a product page for Body Wash which has two scents
No.12 Objets d’Amsterdam
No.10 Rock Roses
I’m curious if, upon selecting the Rock Roses variant, it would be possible to navigate to a different product page while still displaying the Objets d’Amsterdam variant option. Please take a look at the following website.
Now I’m wondering how to style this. For example (background color of fragance and text white)
Is it also possible to but more spacing between the ‘variants’ and the add to cart button?