I would like to add some text above the line between the product tile and price. When I add the following code above the “hr” tag in the “product-template.liquid” file it does not show up.
this is the code. I also created a checkbox that when checked the message is displayed, right now it is set to true so I can always see it. I have created a class “pepper-notice” in css
{%- if section.settings.notice -%}
**some text:** Only some text some text
{%- endif -%}
@Mickysteady - oh again? That guy must be really good. You should ask him to join and contribute here instead of spamming his email address here. Personal Info should not be shared publicly here anyways.
Store url? It helps other people understand a problem when they can see it.
Be sure the page your looking at actually uses whatever file product-template.liquid and isn’t using alternate templates, or skipping it if it’s a section file.
Try to output any new html not reliant on liquid logic to see if it appears on the page as expect.
Sorry for not having all the required information. Click Here for the web page. all the blue borders is for debugging please ignore. The highlighted square and the red text is where i would like the text placed. I have also noticed that the code does not show up in the HTML. Incase the link does not work. https://copstop-test.myshopify.com/products/tetsubg and the password is temp
{{ 'product.general.payment_notice' | t }}
{%- endif -%}
{%- if section.settings.notice -%}
**some text:** Only some text some text
{%- endif -%}
{%- if show_payment_icons and section.settings.custom_security_badge -%}
---
{%- endif -%}
the schema for “section.settings.notice’”. I made it true just so I can see it with out checking the box every-time.
Hello everyone, first I would like to thank everyone for their support and help in this problem. After searching deep into the programming I noticed that the product-template.liquid file was accessing the product-info.liquid snippet file. I added schema into the product-template.liquid. see below for the items I added. My thoughts on adding the richtext schema. I decided to add this so I can add the text directly instead of placing directly in the code.