Product Warnings: FAQs

FAQs

1. How to install Product Warnings OS 2.0

STEP 1

Open your theme customizer:

You can go to "Online Store" ➝ "Themes" ➝ "Customize"

Faq image

STEP 2

In the top dropdown menu find "Products" and choose the template. Usually it's a "Default product" template, but if you have others - you need to choose the template related to the products where tabs will appear.

STEP 3

Here you need to click "Add block" and then find the Advanced Product Tabs widget.

Once you add it - tabs will automatically appear. You can now drag and drop the Product Tabs widget to place it in the right spot.

We recommend placing it after or instead of "Description" block or after the "Buy buttons" - but you are free to leave it anywhere else!

2. How to install Product Warnings for Old Stores

STEP 1

Open your theme code editor:

You can go to "Online Store" ➝ "Themes" ➝ "Edit code"

Faq image

STEP 2

You need to find where the "{{product.description}}" is stored. Usually it can be in "product.liquid" or "product-template.liquid" file.

To find it please type "product" into the search bar and you will get a list of suggested files. Choose "product.liquid" or "product-template.liquid" and open it.

Faq image

STEP 3

You can place the code anywhere on the page, but usually it is added before or after "product.description".

<div class="pbc-pw-widget"> {% if customer %} {% assign customer_tags = customer.tags | join: ', ' %} <script> const PBC_CUSTOMER_TAGS = '{{ customer_tags }}'; </script> {% else %} <script> const PBC_CUSTOMER_TAGS = ''; </script> {% endif %} <div class="pbc-pw__wrapper" id="pbcProductWarning" data-product-id="{{ product.id }}"></div> </div>

After clicking "Save" button please close the code editor. That's it!

Faq image

How to install Product Warnings OS 2.0

STEP 1

Open your theme customizer:

You can go to "Online Store" ➝ "Themes" ➝ "Customize"

Faq image

STEP 2

In the top dropdown menu find "Products" and choose the template. Usually it's a "Default product" template, but if you have others - you need to choose the template related to the products where tabs will appear.

STEP 3

Here you need to click "Add block" and then find the Advanced Product Tabs widget.

Once you add it - tabs will automatically appear. You can now drag and drop the Product Tabs widget to place it in the right spot.

We recommend placing it after or instead of "Description" block or after the "Buy buttons" - but you are free to leave it anywhere else!

Get better at the speed of your ideas

Ready to carve out your niche and build a future-ready business? Our experienced team of Shopify experts knows how to bring your plans to life.