Turn an Option Title into a Link that will Open a New Browser Window

To turn an option title into a link that will open a new browser window, follow these steps:

  1. From "Shopify Admin", select Apps.
  2. Select Product Options by Bold.
  4. Select Edit beside the option needed.
  5. Record the number after id= in the URL of the page that loads.


    Note: In this case the Option ID is 363010.

  6. From "Shopify Admin", select Online Store.
  7. Select ...
  8. Select Edit HTML / CSS.
  9. Under "Templates", select product.liquid.
  10. Add this code to the bottom of the file:
    jQuery(window).bind("load", function () {
    jQuery(".option_type_id_#### .shappify_option_name").css("text-decoration","underline").css("cursor","pointer");
    jQuery( ".option_type_id_#### .shappify_option_name" ).wrap( "<a href='!!!!' target='_blank'></a>" );
  11. Replace these sections:
    1. #### is replaced in both places with the Option ID.
    2. !!!! is replaced with the URL that will open a new browser window.
  12. Repeat these steps for every option you would like to do this with.
  13. Select Save.

That’s it!

Have more questions? Submit a request