Писать на форуме DIAFAN.CMS могут только зарегистрированные пользователи. Войдите или зарегистрируйтесь.

Радиокнопки вместо select. Не меняется цена при смене характеристики.

  • 12 декабря 2019 г.
  • Вместо Select у характеристик нужно сделать радиокнопки. С этой задачей проблемы вроде как нет.
    Вот код
    Код
    foreach ($result["result"]["depends_param"] as $param)
    {
    if(! empty($result["row"]["param_multiple"][$param["id"]]))
    {
    if(count($result["row"]["param_multiple"][$param["id"]]) == 1)
    {
    foreach ($result["row"]["param_multiple"][$param["id"]] as $value => $depend)
    {
    echo '<input type="hidden" name="param'.$param["id"].'" value="'.$value.'"'.($depend == 'depend' ? ' class="depend_param js_shop_depend_param"' : '').'>';
    }

    Показать весь код
    }
    else
    {
    $select = '';
    foreach ($param["values"] as $value)
    {
    if(! empty($result["row"]["param_multiple"][$param["id"]][$value["id"]]))
    {
    if(! $select)
    {
    $select = ' '.$param["name"].' <div name="param'.$param["id"].'" class="shop-dropdown inpselect'.($result["row"]["param_multiple"][$param["id"]][$value["id"]] == 'depend' ? ' depend_param js_shop_depend_param' : '').'">';
    }

    $select .='<input '
    .(! empty($value["selected"]) ? ' class="js_form_option_selected" selected' : '')
    .' type="radio" id="shop_search_p'.$param["id"].'_'.$value["id"].'" name="param'.$param["id"].'" value="'.$value["id"].'">
    <label class="btnParam" for="shop_search_p'.$param["id"].'_'.$value["id"].'">'.$value["name"].'</label>';
    }
    }
    if($select)
    {
    echo $select.'</div> ';
    }
    }
    }
    }


    Возникла проблема при выводе цены. При клике на характеристику, цена не меняется в зависимости от выбранной. Уже который день бьюсь с JS файлом, но никак не могу сообразить в каком месте затык.

    Может кто подскажет что в JS подправить, чтобы заработало. Заранее спасибо.
  • 12 декабря 2019 г.
  • Я так понимаю проблема в этом кусе:
    Код

    $(".js_shop_depend_param, .depend_param", th).each(function(){
    param_code = param_code + '[' + $(this).attr('name') + '=' + $(this).val() + ']';
    });

    Не передается значение $(this).val() от input по которому кликаю.
    • 12 декабря 2019 г.
    • $(this).val() - откуда тут val(). Внимательно посмотрите откуда это берете.

      Вот так правильно будет, более менее что то ))
      $('.js_form_option_selected', $(this)).val();
      • 12 декабря 2019 г.
      • При клике на кнопку не передается класс '.js_form_option_selected''
  • 10 января, пятница
  • Продолжаются мучения. Так и не могу нормально реализовать чекбоксы.
    Загвоздка в следующем. Есть характеристики которые влияют на цену. У одного товара их может быть до 3х штук, плюс отслеживаются остатки.
    Поэтому при выборе оплереденных Select option часть характеристик которых нет в наличии скрывалась.
    У селекта это все далалось в JS вот этим куском кода
    Код
    var v_param_code = '';
    var v_param_name = '';
    $(".js_shop_depend_param", th).each(function(){
    v_param_name = $(this).attr('name');
    if (v_param_code)
    {
    $('option', this).each(function(){
    if(! $('.js_shop_param_price' + v_param_code + '[' + v_param_name + '=' + $(this).attr('value') + ']', th).length)
    {
    $(this).hide();

    Показать весь код
    }
    else
    {
    $(this).show();
    }
    });
    }
    v_param_code = v_param_code + '[' + v_param_name + '=' + $(this).val() + ']';
    });


    Я переделал вывод select в радиокнопки

    Код

    $select = '';
    foreach ($param["values"] as $key => $value) {
    if (!empty($result["row"]["param_multiple"][$param["id"]][$value["id"]])) {
    if (!$select) {
    $select = ' <span class="shop_form_param-item-name">' . $param["name"] . ':</span> <div class="shop-dropdown inpselect' . ($result["row"]["param_multiple"][$param["id"]][$value["id"]] == 'depend' ? ' depend_param js_shop_depend_param' : '') . '" id="param' . $param["id"] . '-'.$result["row"]["id"].'" name="param' . $param["id"] . '-'.$result["row"]["id"].'">';
    }

    $select .= '<input class="radios" name="param' . $param["id"] . '-'.$result["row"]["id"].'" type="radio" value="' . $value["id"] . '">' . $value["name"] . '</input>
    ';

    Показать весь код
    }
    }
    if ($select) {
    echo $select . '</div> ';
    }


    И сейчас мучаю JS но никак не могу осилисть.
    Код

    var v_param_code = '';
    var v_param_name = '';
    $(".js_shop_depend_param", th).each(function(){
    v_param_name = $(this).attr('name');
    if (v_param_code)
    {
    $('input', this).each(function(){

    if(! $('.js_shop_param_price' + v_param_code + '[' + v_param_name + '=' + $('.radios', this).attr('value') + ']', th).length)

    Показать весь код
    {
    $(this).hide();
    }
    else
    {
    $(this).show();
    }
    });

    }
    v_param_code = v_param_code + '[' + v_param_name + '=' + $('.radios', this).val() + ']';
    // console.log(v_param_code);
    });


    Может кто подскажет куда копать. ?
    • 10 января, пятница
    • Код
      if(! $('.js_shop_param_price' + v_param_code + '[' + v_param_name + '=' + $('.radios', this).attr('value') + ']', th).length)

      Дык а js_shop_param_price же нет в коде
      • 11 января, суббота
      • Есть, просто не дописал, ниже по коду идет
        • 11 января, суббота
        • В смысле "ниже"?? Скрипт его перед .radios ищет, а не ниже!
          • 11 января, суббота
          • В смысле перед .radios?
            Если я меняю код обратно на select options, то он обрабатывается нормально. Там js_shop_param_price так же идет ниже по коду. Не перед select. Но отрабатывается нормально все.
      • 11 января, суббота
      • Вот сама форма:

        Код

        <form method="post" action="" class="js_shop_form shop_form ajax">
        <input type="hidden" name="good_id" value="6647">
        <input type="hidden" name="module" value="shop">
        <input type="hidden" name="action" value=""><div class="product__flex"><div class="addict-field"><div class="js_shop_form_param shop_form_param"><div class="shop_form_param-item"> <span class="shop_form_param-item-name">Изгиб:</span> <div class="shop-dropdown inpselect depend_param js_shop_depend_param" id="param227-6647" name="param227-6647"><input class="radios" name="param227-6647" type="radio" value="13192">C
        <input class="radios" name="param227-6647" type="radio" value="13241">C+
        <input class="radios" name="param227-6647" type="radio" value="13194">D
        <input class="radios" name="param227-6647" type="radio" value="13240">D+
        <input class="radios" name="param227-6647" type="radio" value="13195">L
        <input class="radios" name="param227-6647" type="radio" value="13535">L+

        Показать весь код
        <input class="radios" name="param227-6647" type="radio" value="13244">M
        </div> </div><div class="shop_form_param-item"> <span class="shop_form_param-item-name">Толщина:</span> <div class="shop-dropdown inpselect depend_param js_shop_depend_param" id="param228-6647" name="param228-6647"><input class="radios" name="param228-6647" type="radio" value="13196">0,05
        <input class="radios" name="param228-6647" type="radio" value="13197">0,07
        <input class="radios" name="param228-6647" type="radio" value="13198">0,085
        <input class="radios" name="param228-6647" type="radio" value="13199">0,10
        <input class="radios" name="param228-6647" type="radio" value="13200">0,12
        <input class="radios" name="param228-6647" type="radio" value="13201">0,15
        </div> </div><div class="shop_form_param-item"> <span class="shop_form_param-item-name">Длина:</span> <div class="shop-dropdown inpselect depend_param js_shop_depend_param" id="param229-6647" name="param229-6647"><input class="radios" name="param229-6647" type="radio" value="13549" style="display: none;">4-6 мм
        <input class="radios" name="param229-6647" type="radio" value="13548">6-8 мм
        <input class="radios" name="param229-6647" type="radio" value="13537" style="display: none;">7-9 мм
        <input class="radios" name="param229-6647" type="radio" value="13245">7-12 мм
        <input class="radios" name="param229-6647" type="radio" value="13249" style="display: none;">8-13 мм
        <input class="radios" name="param229-6647" type="radio" value="13538">13-16 мм
        </div> </div></div></div></div> <div class="product__flex has-addict " "="">
        <div class="product__flex-item flex-item-price" style="">
        <div class="js_shop_param_price shop_param_price shop-item-price" param229-6647="13549" param228-6647="13197" param227-6647="13192" style="display: none;"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param229-6647="13538" param228-6647="13197" param227-6647="13192"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13197" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13197" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13198" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13198" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13198" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13199" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13199" param229-6647="13549"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13199" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13199" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13200" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13200" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13200" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13201" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13201" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13192" param228-6647="13201" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13241" param228-6647="13197" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13241" param228-6647="13199" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13197" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13197" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13197" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13198" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13198" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13198" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13199" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13199" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13199" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13200" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13200" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13200" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13201" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13201" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13201" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13197" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13198" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13199" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13199" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13200" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13200" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13201" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="360" format_price_1="0" format_price_2="," format_price_3=" ">360</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">400 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13195" param228-6647="13199" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="441" format_price_1="0" format_price_2="," format_price_3=" ">441</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">490 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13244" param228-6647="13199" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="441" format_price_1="0" format_price_2="," format_price_3=" ">441</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">490 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param229-6647="13245" param228-6647="13196" param227-6647="13192"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param229-6647="13548" param228-6647="13196" param227-6647="13192"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param229-6647="13538" param228-6647="13196" param227-6647="13192"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13241" param228-6647="13196" param229-6647="13245"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13196" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13196" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13194" param228-6647="13196" param229-6647="13249"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13196" param229-6647="13538"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13240" param228-6647="13196" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="459" format_price_1="0" format_price_2="," format_price_3=" ">459</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">510 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13195" param228-6647="13197" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="468" format_price_1="0" format_price_2="," format_price_3=" ">468</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">520 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13244" param228-6647="13197" param229-6647="13548"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="468" format_price_1="0" format_price_2="," format_price_3=" ">468</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">520 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13535" param228-6647="13199" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="486" format_price_1="0" format_price_2="," format_price_3=" ">486</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">540 ₽</span></span></span></div>
        <div style="display: none;" class="js_shop_param_price shop_param_price shop-item-price" param227-6647="13535" param228-6647="13197" param229-6647="13537"><span class="shop-item-price-title">Цена: </span><span class="price"><span class="js_shop_price" summ="513" format_price_1="0" format_price_2="," format_price_3=" ">513</span> ₽<span class="shop_old_price price-old"><span class="shop_price_value strike">570 ₽</span></span></span></div> </div>
        <div class="product__flex-item">
        <div class="js_shop_buy shop_buy to-cart" style="display: none;"><input type="button" class="btn cart-btn" value="Купить" action="buy"></div><div class="error" style="display:none;"></div> </div>
        </div>
        <input type="hidden" value="1" name="count">
        </form>

Новости

  • 01 января, среда
  • Ну что, поднимем бокалы? Уже можно, уже пора :) Год выдался не самый простой, но поработали мы классно. Вы – над своим проектом. Мы – над тем, чтобы сделать DIAFAN.CMS еще удобнее, доступнее и надежнее. Чтобы вы гордились своим сайтом 10 лет назад, сегодня, завтра и через 10 лет. Было круто –  будет еще круче. А пока команда DIAFAN.CMS от всей души поздравляет Вас с Новым Годом! Побольше свободного времени в 2020-ом. Пусть цели достигнутся и мечты сбудутся. Пусть заниматься любимым делом станет еще приятнее и проще!

Блоги

  • 16.11.2019
  • Достаточно широкой проблемой, которая вызывает множество вопросов, обращений в тех.поддержку и тем на форуме, является обновление, а именно ошибки, с ним связанные. Корни проблем, возникающих при этом, совершенно различны, но наиболее часто причина в кастомизации. И хоть определение это слишком широкое, всё же процедура выявления проблемы вполне стандартизована и проста. Об этом и пойдёт речь в статье.

Форум