# Input to show only in specific product url

**URL:** <https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555>\
**Category:** General\
**Created:** [September 2, 2022, 4:19pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555 "2022-09-02T16:19:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://forum.builder.io/u/Eduardo)\
**Post date:** [September 2, 2022, 4:19pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/1 "2022-09-02T16:19:48Z")

</div>

Hello everyone, I’m having this issue where I keep trying to make changes, specifically by adding an input to a product called “Pet Name” and another one called “Tag ID#” on our ecommerce store, but every time I publish the update, it keeps adding it to every product in the store. I keep thinking that I need to build a conditional logic on the visibility for that element called pet name and tag ID, but, I’m not sure how to do this in builder. Any suggestions?

Here is the website: [https://store.fidotabby.com/](https://store.fidotabby.com/)

Here is the builder page that I want to include the input “Pet Name” and similar one for “Tag ID#”

 ![Screen Shot 2022-09-02 at 12.13.51 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/b/b9214aba110be61b6b9c174f14f281293320b462.png)

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/sarah/32/1198_2.png) [@sarah](https://forum.builder.io/u/sarah)\
**Post date:** [September 2, 2022, 5:29pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/2 "2022-09-02T17:29:28Z")

</div>

It looks like this content is targeting all products right now. You can duplicate this entry and add additional targeting to create content only for a certain product or collection. You can learn more about targeting in our docs here:

> **[Targeting Content in Builder - Builder.io](https://www.builder.io/c/docs/targeting-with-builder)**
>
> Build and optimize digital experiences for any tech stack, visually.

> **[Targeting with e-commerce plugins - Builder.io](https://www.builder.io/c/docs/plugins-ecom-targeting)**
>
> Build and optimize digital experiences for any tech stack, visually.

> **[Targeting with Builder's Shopify App - Builder.io](https://www.builder.io/c/docs/targeting-with-theme-studio)**
>
> Build and optimize digital experiences for any tech stack, visually.

---

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://forum.builder.io/u/Eduardo)\
**Post date:** [September 2, 2022, 6:01pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/3 "2022-09-02T18:01:49Z")

</div>

Is there any other way to be able to do this without targeting? Since, I believe it isn’t available with the 99/mo plan we have.

Thank you and I appreciate the fast response!

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/sarah/32/1198_2.png) [@sarah](https://forum.builder.io/u/sarah)\
**Post date:** [September 2, 2022, 6:38pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/4 "2022-09-02T18:38:59Z")

</div>

Hi Eduardo,

You could also add some custom code to check the url with `window.location` .

---

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://forum.builder.io/u/Eduardo)\
**Post date:** [September 2, 2022, 7:02pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/5 "2022-09-02T19:02:18Z")

</div>

@sarah I really appreciate your help! As a non-developer myself, how do you see the custom code looking like with window.location?

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/sarah/32/1198_2.png) [@sarah](https://forum.builder.io/u/sarah)\
**Post date:** [September 2, 2022, 7:48pm UTC](https://forum.builder.io/t/input-to-show-only-in-specific-product-url/2555/6 "2022-09-02T19:48:27Z")

</div>

No problem! I recommend you check out our doc about using custom code to get started:

> **[Adding custom code in the Builder.io visual editor - Builder.io](https://www.builder.io/c/docs/guides/custom-code)**
>
> Add custom JavaScript and CSS to your Builder content. Learn how to access browser events, state properties and add custom CSS to your pages.
