FROM CACHE - it_header

What info here?

nicolasake
Escursionista
30 0 11

Hello,

 

i put a Newsletter section in my website, but all the text fields are empty.

 

Customers need to know what to put where (Name, Surname, email): how do I show them the request for these info?

 

Thanks! 🙂

 

www.sakesommelierassociation.itScreenshot 2023-05-30 alle 16.35.08.png

9 RISPOSTE 9
SItaliaCompany
Shopify Partner
77 8 7

Ciao!
Hai provato ad entrare nella sezione "Modifica contenuto predefinito" del tuo tema attualmente in utilizzo?
Può essere che i campi della newsletter sono vuoti, ma è anche probabile che il tuo tema non ha questa disponibilità, di che tema si tratta?

nicolasake
Escursionista
30 0 11

@SItaliaCompany Ciao! Il tema è TURBO, ho controllato nelle impostazioni del tema stesso ma non mi da alcuna possibilità.. mi piacerebbe che venisse almeno mostrato Nome, Cognome ed email in modo che il visitatore sa cosa deve scrivere e dove..

SItaliaCompany
Shopify Partner
77 8 7

Allora, vai su Negozio Online -> Temi -> Clicka sui 3 pallini e poi Modifica codice

In alto a sinistra cerca qualcosa come "news" "newsletter" "form" con estensione .liquid

Una volta trovato copia il codice ed incollalo qui e vediamo cosa possiamo fare

nicolasake
Escursionista
30 0 11

@SItaliaCompany  eccolo!

 

<script
type="application/json"
data-section-type="newsletter"
data-section-id="{{ section.id }}"
>
</script>

<div class="section-wrapper--{{ template.name }} {% if section.settings.wide_display %}is-width-wide{% endif %}">
{% include 'include-newsletter' %}
</div>

{% schema %}
{
"name": "Newsletter",
"class": "shopify-section--newsletter",
"settings": [
{
"type": "checkbox",
"id": "wide_display",
"label": "Wide display",
"default": true
},
{
"type": "checkbox",
"id": "display_first_name",
"label": "Show first name",
"default": false
},
{
"type": "checkbox",
"id": "display_last_name",
"label": "Show last name",
"default": false
},
{
"type": "text",
"id": "newsletter_title",
"label": "Heading",
"default": "Subscribe"
},
{
"type": "richtext",
"id": "newsletter_text",
"label": "Subheading",
"default": "<p>Sign up to get the latest on sales, new releases and more …</p>"
},
{
"type": "select",
"id": "newsletter_section_text_align",
"label": "Text alignment",
"default": "center",
"options": [
{
"value": "left",
"label": "Left"
},
{
"value": "center",
"label": "Center"
},
{
"value": "right",
"label": "Right"
}
]
},
{
"type": "header",
"content": "Banner"
},
{
"type": "image_picker",
"id": "image",
"label": "Banner image",
"info": "1600 x 300px recommended"
},
{
"type": "image_picker",
"id": "mobile_image",
"label": "Mobile banner image",
"info": "Display a different image on mobile screens. This only appears when the desktop image is set."
},
{
"type": "header",
"content": "Advanced"
},
{
"type": "paragraph",
"content": "[Learn more](https://help.outofthesandbox.com/hc/en-us/articles/360022329373)"
},
{
"type": "text",
"id": "css_class",
"label": "CSS Class"
},
{
"type": "textarea",
"id": "custom_css",
"label": "Custom CSS"
}
],
"presets": [{
"name": "Newsletter",
"category": "Promotional"
}]
}

{% endschema %}

SItaliaCompany
Shopify Partner
77 8 7

Questo purtroppo è il file .json
.liquid non hai trovato nulla?

 

oltre questo puoi vedere qui che c'è un riferimento che nell'editor del tema ci sono questi due checkbox che immagino servino a mostrare Nome e Cognome:


{
"type": "checkbox",
"id": "display_first_name",
"label": "Show first name",
"default": false
},
{
"type": "checkbox",
"id": "display_last_name",
"label": "Show last name",
"default": false
},

nicolasake
Escursionista
30 0 11

@SItaliaCompany  ho fatto copia incolla da newsletter.liquid

SItaliaCompany
Shopify Partner
77 8 7

Prova a cambiare da "false" a "true" quei due campi che ti ho citato sopra

nicolasake
Escursionista
30 0 11

@SItaliaCompany no, purtroppo tutto uguale a prima..

SItaliaCompany
Shopify Partner
77 8 7

se vuoi passami accesso come collaboratore a shopifyitaliacompany@gmail.com