Alex

Alex

С нами с 15 февраля 2017; Место в рейтинге пользователей: #298
Alex
20 декабря 2018, 16:32
0
Благодарю. Получилось
Alex
20 декабря 2018, 16:19
0
Так на скрине точка указана в фильтрации была.
Поставил Ваш вариант — не помогло
Alex
05 декабря 2018, 20:07
0
Тут id какой страницы стоит у вас? prnt.sc/lr4yrw
Alex
18 сентября 2018, 13:57
0
благодарю, работает.
До этого в name вписывал form1 и соответственно параметр 'submitVar' => 'form1'.
Попробовал как в вашем комменте —
name="{$submitVar}"
работает
Alex
18 сентября 2018, 13:13
0
Пробовал ставить другую форму с рабочего примера. Такой же результат.
Да и эта форма работала, просто находилась на другой странице
Alex
18 сентября 2018, 13:12
0
Ничего. На сервере только
Tue Sep 18 09:58:42 2018] [error] [client 194.58.98.236] client denied by server configuration: /var/www/merman/data/www/merman.su/core/docs/changelog.txt
Alex
18 сентября 2018, 13:02
0
Нет, поле убрал это — результат тот же. Сообщение об отправке появляется, но письма нет
Alex
18 сентября 2018, 13:01
0
благодарю
Alex
18 сентября 2018, 10:22
0
Нет, все по прежнему. Письмо приходит только 1
Alex
18 сентября 2018, 09:48
0
Пробовал, не получилось
Alex
24 апреля 2018, 14:58
0
Спасибо. Атрибут добавлял такой, но не обновил превью, вот и спросил тут
Alex
14 февраля 2018, 00:07
0
хм, подправил вроде как вы сказали, но все равно не выводится…
Alex
13 февраля 2018, 19:43
0
после добавления
<form class="form-horizontal ms2_form" method="post">
            <input type="hidden" name="id" value="[[*id]]"/>
	    <input type="hidden" name="options" value="[]"> //принимает массив опций
должен работать стандартный код
{if $product.options?}
	<div class="small">
		{$product.options | join : '; '}
	</div>
{/if}
?
Alex
13 февраля 2018, 19:19
0
Тогда этот, сразу не сообразил
<div id="msProduct" class="row">
    <div class="ten wide column">
        [[!msGallery]]
    </div>
    <div class="six wide column">
        <p>[[*introtext:typography]]</p>
        <form class="form-horizontal ms2_form" method="post">
            <input type="hidden" name="id" value="[[*id]]"/>
            <div class="form-group">
                <label class="col-md-2 control-label">[[%ms2_product_price]]:</label>
                <div class="col-md-10 form-control-static">
                    [[+price]] [[%ms2_frontend_currency]]
                    [[+old_price:gt=`0`:then=`
                    <span class="old_price">[[+old_price]] [[%ms2_frontend_currency]]</span>
                    `:else=``]]
                </div>
            </div>
            <div class="form-group form-inline">
                <label class="col-md-2 control-label" for="product_price">[[%ms2_cart_count]]:</label>
                <div class="col-md-10">
                    <input type="number" name="count" id="product_price" class="input-sm form-control" value="1"/>
                    [[%ms2_frontend_count_unit]]
                </div>
            </div>
            [[msOptions?options=`color,size,tags`]]
            [[msProductOptions]]
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <button type="submit" class="ui teal huge button" name="ms2_action" value="cart/add">
                        <i class="glyphicon glyphicon-barcode"></i> [[%ms2_frontend_add_to_cart]]
                    </button>
                </div>
            </div>
        </form>

    </div>
</div>
salon.test28.ru/ploskie-resnicy-lovely-flat-mix
Alex
13 февраля 2018, 17:32
0
Чанк вывода корзины. Или вы не этот имели ввиду?
<div id="msCart">
    {if !count($products)}
        {'ms2_cart_is_empty' | lexicon}
    {else}
        <div class="table-responsive">
            <table class="ui striped right aligned table">
                <thead class="ui header">
                    <th class="image"> </th>
                    <th class="title">{'ms2_cart_title' | lexicon}</th>
                    <th class="count">{'ms2_cart_count' | lexicon}</th>
                    <th class="weight">Характеристики</th>
                    <th class="price">{'ms2_cart_price' | lexicon}</th>
                    <th class="remove">{'ms2_cart_remove' | lexicon}</th>
                </thead>

                {foreach $products as $product}

                    <tr id="{$product.key}">
                        <td class="image">
                            {if $product.thumb?}
                                <img src="{$product.thumb | phpthumbon : "w=100&h=100&zc=1"}" alt="{$product.pagetitle}" title="{$product.pagetitle}"/>
                            {else}
                                <img src="{'assets_url' | option}components/minishop2/img/web/ms2_small.png"
                                     srcset="{'assets_url' | option}components/minishop2/img/web/ms2_small@2x.png 2x"
                                     alt="{$product.pagetitle}" title="{$product.pagetitle}"/>
                            {/if}
                        </td>
                        <td class="title">
                            {if $product.id?}
                                <a href="{$product.id | url}">{$product.pagetitle | typography}</a>
                            {else}
                                {$product.name}
                            {/if}
                        </td>
                               
                        <td class="count">
                            <form method="post" class="ms2_form form-inline" role="form">
                                <input type="hidden" name="key" value="{$product.key}"/>
                                <div class="form-group">
                                    <input type="number" name="count" value="{$product.count}"
                                           class="input-sm form-control" id="product_price"/>
                                    <span class="hidden-xs">{'ms2_frontend_count_unit' | lexicon}</span>
                                    <button class="btn btn-default" type="submit" name="ms2_action" value="cart/change">
                                        <i class="glyphicon glyphicon-refresh"></i>
                                    </button>
                                </div>
                            </form>
                        </td>
                        <td class="weight">
                            {if $product.options?}
                                <div class="small">
                                   {$product.options | join : '; '}
                                </div>
                            {/if}
                        </td>
                       
                        <td class="price">
                            <span>{$product.price}</span> {'ms2_frontend_currency' | lexicon}
                            {if $product.old_price?}
                            <span class="old_price">{$product.old_price}</span> {'ms2_frontend_currency' | lexicon}
                                {/if}
                        </td>
                        <td class="remove">
                            <form method="post" class="ms2_form ui grid center aligned">
                                <input type="hidden" name="key" value="{$product.key}">
                                <button class="ui remove grey button" type="submit" name="ms2_action" value="cart/remove">
                                    <i class="glyphicon glyphicon-remove"></i>
                                </button>
                            </form>
                        </td>
                    </tr>
                    
                {/foreach}

                <thead class="footer">
                    <th class="total" colspan="2">{'ms2_cart_total' | lexicon}:</th>
                    <th class="total_count">
                        <span class="ms2_total_count">{$total.count}</span>
                        {'ms2_frontend_count_unit' | lexicon}
                    </th>
                    <th class="total_weight">
                        <span class="ms2_total_weight"></span>
                        
                    </th>
                    <th class="total_cost">
                        <span class="ms2_total_cost">{$total.cost}</span>
                        {'ms2_frontend_currency' | lexicon}
                    </th>
                    <th> </th>
                </thead>
            </table>
        </div>
        <form method="post">
            <button class="ui remove grey button fr" type="submit" name="ms2_action" value="cart/clean">
                <i class="glyphicon glyphicon-remove"></i> {'ms2_cart_clean' | lexicon}
            </button>
        </form>
    {/if}
</div>
Alex
13 февраля 2018, 13:22
0
В том то и дело что данный код ничего не выводит
Alex
09 февраля 2018, 12:25
0
Попробуйте поставить чистый модкс, потом постепенно переносить на него файлы и бд со старого. У меня доходило до того что таблицы в бд по очереди импортировал.
Alex
09 февраля 2018, 11:36
0
Попробуйте посмотреть про производителей в minishop2. Возможно мероприятие сделать как товар, а к нему подобрать производителя ( в вашем случае людей)
Либо же с помощью тв полей. Сделать тв как для людей так и для места, а потом при создании мероприятия прикреплять их в настройках ресурса. Выводить правда с помощью условий придется.
Alex
22 декабря 2017, 12:34
0
Спасибо
Alex
18 декабря 2017, 09:36
0
Спасибо большое