Сможет ли кто -нибудь помочь мне в том, чтобы понять, как редактировать код (я думаю, мне нужно добавить в Java), чтобы разрешить контрольный список в моей контактной форме отправлять несколько вариантов, а не только последний, который выбран. Форма, чтобы исчезнуть при отправке, так как у меня всегда есть люди несколько раз, думая, что она не прошла.
{% if type == 'block' %}
{% assign id = block.id %}
{% assign title = block.settings.title %}
{% assign contact_subheading = block.settings.contact_subheading %}
{% assign contact_content = block.settings.contact_content %}
{% assign contact_text_position = block.settings.contact_text_position %}
{% assign contact_text_alignment = block.settings.contact_text_alignment %}
{% else %}
{% assign id = section.id %}
{% assign title = section.settings.title %}
{% assign contact_subheading = section.settings.contact_subheading %}
{% assign contact_content = section.settings.contact_content %}
{% assign contact_text_position = section.settings.contact_text_position %}
{% assign contact_text_alignment = section.settings.contact_text_alignment %}
{% endif %}
{% if title != blank %}
{{ title }}
{% endif %}
{% if contact_subheading != blank %}
{{ contact_subheading }}
{% endif %}
{% if contact_content != blank %}
{{ contact_content }}
{% endif %}
{% form 'contact' %}
{% if form.posted_successfully? %}
{{ 'contact.form.post_success' | t }}
{% endif %}
{% if form.errors %}
{{ 'general.forms.post_error' | t }}
{% assign message = 'contact.form.message' | t %}
[list]
{% for field in form.errors %}
{% if field == 'form' %}
[*]
{{ form.errors.messages[field] }}
{% else %}
[*]
{% assign field_name = field | replace: 'body', message %}
{{ 'general.forms.post_field_error_html' | t: field: field_name, error: form.errors.messages[field] }}
{% endif %}
{% endfor %}
[/list]
{% endif %}
{% assign name_attr = 'contact.form.name' | handle %}
{{ 'contact.form.name' | t }} *
{{ 'contact.form.email' | t }} *
{% assign name_attr = 'contact.form.phone' | t | handle %}
{{ 'contact.form.phone' | t }} *
Your event date *
Where are you located? *
What is your guest count? *
What is your invitation count? *
Your Venue
What are you enquiring about? *
Wedding or Event Stationery
Business Stationery
Other
Select what pieces you'd like a quote on: *
Save the Date
Invitation
Details Card
RSVP
Map
Please select at least one piece.
Select what options you'd like to included: *
Wax Seals
Envelope Liners
Handmade Paper
Custom Illustration
Calligraphy
Event Day Pieces: *
Menus
Place Cards
Seating Chart
Welcome Sign
Other
What is your budget?*
Please select
$1500 - $2000
$2000 - $3000
$3000 - $4000
$4000+
Please describe your vision for your wedding day, including the aesthetic, mood, and overall ambiance you envision. We would love to understand your unique style and preferences to create wedding stationery that perfectly captures the essence of your special day. Feel free to share any specific details, themes, or inspirations that you have in mind. *
{% if form.body %}{{ form.body }}{% endif %}
{{ section.settings.contact_form_text }}
If you have a Pinterest Board please link it here:
Do you have any extra comments or questions?:
How did you hear about us?
Please select
Family / Friend
Instagram
Google Search
Wedding Website / Magazine
Other
{% endform %}
Сможет ли кто -нибудь помочь мне в том, чтобы понять, как редактировать код (я думаю, мне нужно добавить в Java), чтобы разрешить контрольный список в моей контактной форме отправлять несколько вариантов, а не только последний, который выбран. Форма, чтобы исчезнуть при отправке, так как у меня всегда есть люди несколько раз, думая, что она не прошла.[code]{% if type == 'block' %} {% assign id = block.id %} {% assign title = block.settings.title %} {% assign contact_subheading = block.settings.contact_subheading %} {% assign contact_content = block.settings.contact_content %} {% assign contact_text_position = block.settings.contact_text_position %} {% assign contact_text_alignment = block.settings.contact_text_alignment %} {% else %} {% assign id = section.id %} {% assign title = section.settings.title %} {% assign contact_subheading = section.settings.contact_subheading %} {% assign contact_content = section.settings.contact_content %} {% assign contact_text_position = section.settings.contact_text_position %} {% assign contact_text_alignment = section.settings.contact_text_alignment %} {% endif %}
Please describe your vision for your wedding day, including the aesthetic, mood, and overall ambiance you envision. We would love to understand your unique style and preferences to create wedding stationery that perfectly captures the essence of your special day. Feel free to share any specific details, themes, or inspirations that you have in mind. * {% if form.body %}{{ form.body }}{% endif %}
{{ section.settings.contact_form_text }}
If you have a Pinterest Board please link it here:
Do you have any extra comments or questions?:
How did you hear about us?
Please select Family / Friend Instagram Google Search Wedding Website / Magazine Other
Я сталкиваюсь с ошибками при попытке реализовать теги Liquid, специфичные для Shopify, с помощью библиотеки kalimatas/php-liquid. Вот моя настройка:
// LiquidRenderer.php
class LiquidRenderer
{
private $template;
Я сталкиваюсь с ошибками при попытке реализовать теги Liquid, специфичные для Shopify, с помощью библиотеки kalimatas/php-liquid. Вот моя настройка:
// LiquidRenderer.php
class LiquidRenderer
{
private $template;
Я сталкиваюсь с ошибками при попытке реализовать теги Liquid, специфичные для Shopify, с помощью библиотеки kalimatas/php-liquid. Вот моя настройка:
// LiquidRenderer.php
class LiquidRenderer
{
private $template;
Преобразование темы Shopify Liquid в PHP: какой подход лучше всего?
Я использую:
kalimatas/php-liquid для шаблонов Liquid
nikic/fast-route для маршрутизации
Пользовательские реализации для разделов и фрагментов
Вопрос:
Какой архитектурный подход...