Bitrix 网站。请告诉我是否有机会以及下一刻如何实施 - 卡片上显示 - 有 17 件库存。客户可以进去在篮子里选择他需要的不是17件,而是170件。是否有可能以某种方式使客户无权选择超过实际可用数量的数量?这样他就可以输入 1 到 17 之间的任何值,但不能再输入更多?
主页
/
user-390655
Danyal7's questions
你能告诉我这个命令是做什么的吗?客户发了一个链接,其中 /site_name.ru/debug=1 并询问“这是什么垃圾”。我试图用谷歌搜索,但没有找到问题的答案(请告诉我,他是个傻瓜还是需要以某种方式删除这个命令?html 上的站点(带引导程序)。
我整天都在绞尽脑汁想在哪里可以找到这个页面。问题是通过正常的编辑给我不要改变页面,需要通过ftp打开它进行编辑。但她在哪里?如果我告诉你这个“联系人”页面是使用 Elementor 创建的,也许对你来说会更容易。当然,也许不是通过它,但它是可编辑的。当您开始通过常规编辑器进行编辑时,它会说部分或全部页面可能会丢失。不清楚......谢谢...... PS我在搜索和其他论坛上阅读,我没有找到正确的答案(
我遇到了一个问题,即 aspros 给我的现成报价有一些门框。
我坐在第二天,我不能为自己修改它。帮助请。
问题在于,当有人在网站上下订单时,收到已下订单的电子邮件的消息包含一个包含商品名称的订单详细信息字段。并且有必要的是,除了元素的名称之外,它还包含节和子节的名称。我怎样才能做到这一点?让我解释一下 - 我们有很多职位,下订单时,它只是写成 30x34(例如),你认为它属于哪个部分......请告诉我。以下是有人下订单时的屏幕截图。可能会改变某些东西的设置...请帮助...
<div class="row">
<div class="maxwidth-theme">
<div class="col-md-12">
<div class="form order<?=($arResult['isFormNote'] == 'Y' ? ' success' : '')?><?=($arResult['isFormErrors'] == 'Y' ? ' error' : '')?>">
<?=$arResult["FORM_HEADER"]?>
<div class="row">
<div class="col-md-12 col-sm-12">
<?if( $arResult["isIblockDescription"] ){?>
<div class="description">
<?if( $arResult["IBLOCK_DESCRIPTION_TYPE"] == "text" ){?>
<p><?=$arResult["IBLOCK_DESCRIPTION"]?></p>
<?}else{?>
<?=$arResult["IBLOCK_DESCRIPTION"]?>
<?}?>
</div>
<?}?>
</div>
<div class="col-md-12 col-sm-12">
<div class="row">
<?if($arResult['isFormErrors'] == 'Y'):?>
<div class="col-md-12">
<div class="form-error alert alert-danger">
<?=$arResult['FORM_ERRORS_TEXT']?>
</div>
</div>
<?endif;?>
<div class="col-md-12 col-sm-12">
<?if(is_array($arResult["QUESTIONS"])):?>
<?foreach( $arResult["QUESTIONS"] as $FIELD_SID => $arQuestion ){
if( $FIELD_SID == "MESSAGE" ) continue;
if( $arQuestion['STRUCTURE'][0]['FIELD_TYPE'] == 'hidden' ){
echo $arQuestion["HTML_CODE"];
}else{?>
<?$hidden = ($FIELD_SID == 'ORDER_LIST' || $FIELD_SID == 'SESSION_ID');?>
<div class="row<?=($hidden ? ' hidden' : '');?>" data-SID="<?=$FIELD_SID?>">
<div class="form-group">
<div class="col-md-12">
<?=$arQuestion["CAPTION"]?>
<div class="input">
<?=$arQuestion["HTML_CODE"]?>
</div>
<?if( !empty( $arQuestion["HINT"] ) ){?>
<div class="hint"><?=$arQuestion["HINT"]?></div>
<?}?>
</div>
</div>
</div>
<?}
}?>
<?endif;?>
</div>
<?if($arResult["QUESTIONS"]["MESSAGE"]):?>
<div class="col-md-12 col-sm-12">
<div class="row" data-SID="MESSAGE">
<div class="form-group">
<div class="col-md-12">
<?=$arResult["QUESTIONS"]["MESSAGE"]["CAPTION"]?>
<div class="input">
<?=$arResult["QUESTIONS"]["MESSAGE"]["HTML_CODE"]?>
</div>
<?if( !empty( $arResult["QUESTIONS"]["MESSAGE"]["HINT"] ) ){?>
<div class="hint"><?=$arResult["QUESTIONS"]["MESSAGE"]["HINT"]?></div>
<?}?>
</div>
</div>
</div>
</div>
<?endif;?>
<?if($arResult["isUseCaptcha"] === "Y"):?>
<div class="col-md-12 col-sm-12">
<div class="row <?=($arResult["isUseReCaptcha"] === 'Y' ? 'recaptcha-row' : 'captcha-row')?>">
<div class="form-group">
<div class="col-md-12">
<?=$arResult["CAPTCHA_CAPTION"]?>
<?if($arResult["isUseReCaptcha"] === "Y"):?>
<div class="input <?=($arResult['CAPTCHA_ERROR'] == 'Y' ? 'error' : '')?>">
<input type="hidden" class="recaptcha" name="recaptcha" id="recaptcha">
<div class="g-recaptcha" data-sitekey="<?=RECAPTCHA_SITE_KEY?>" data-callback="reCaptchaVerify" data-theme="light" data-size="normal"></div>
</div>
<?else:?>
<div class="row">
<div class="col-md-6 col-sm-6 col-xs-6">
<?=$arResult["CAPTCHA_IMAGE"]?>
<span class="refresh"><a href="javascript:;" rel="nofollow"><?=GetMessage("REFRESH")?></a></span>
</div>
<div class="col-md-6 col-sm-6 col-xs-6">
<div class="input <?=($arResult['CAPTCHA_ERROR'] == 'Y' ? 'error' : '')?>">
<?=$arResult["CAPTCHA_FIELD"]?>
</div>
</div>
</div>
<?endif;?>
</div>
</div>
</div>
</div>
<?endif;?>
<?if($arParams["DISPLAY_PROCESSING_NOTE"] === "Y"):?>
<div class="processing-block">
<div class="form-group">
<div class="col-md-12">
<div class="input">
<input type="checkbox" class="processing_approval" id="processing_approval" name="processing_approval" value="Y"<?=($arParams["PROCESSING_NOTE_CHECKED"] === 'Y' ? ' checked' : '')?>>
<label for="processing_approval"><?$APPLICATION->IncludeFile(SITE_DIR."include/processing_note.php", Array(), Array("MODE" => "html"))?></label>
</div>
</div>
</div>
</div>
<?endif;?>
</div>
<div class="row">
<div class="col-md-12 col-sm-12" style="margin-top: 26px;">
<div class="pull-right required-fileds">
<i class="star">*</i><?=GetMessage("FORM_REQUIRED_FILEDS")?>
</div>
<div class="pull-left">
<?=str_replace('class="', 'class="btn-lg ', $arResult["SUBMIT_BUTTON"])?>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<?=$arResult["FORM_FOOTER"]?>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
if(arScorpOptions['THEME']['USE_CAPTCHA_FORM'] == 'RECAPTCHA'){
reCaptchaRender();
}
if(arScorpOptions['THEME']['USE_SALE_GOALS'] !== 'N'){
var eventdata = {goal: 'goal_order_begin'};
BX.onCustomEvent('onCounterGoals', [eventdata]);
}
$('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"]').validate({
ignore: ".ignore",
highlight: function( element ){
$(element).parent().addClass('error');
},
unhighlight: function( element ){
$(element).parent().removeClass('error');
},
submitHandler: function( form ){
if( $('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"]').valid() ){
$(form).find('button[type="submit"]').attr("disabled", "disabled");
form.submit();
}
},
errorPlacement: function( error, element ){
error.insertBefore(element);
}
});
if(arScorpOptions['THEME']['PHONE_MASK'].length){
var base_mask = arScorpOptions['THEME']['PHONE_MASK'].replace( /(\d)/g, '_' );
$('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"] input.phone').inputmask("mask", { "mask": arScorpOptions['THEME']['PHONE_MASK'] });
$('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"] input.phone').blur(function(){
if( $(this).val() == base_mask || $(this).val() == '' ){
if( $(this).hasClass('required') ){
$(this).parent().find('div.error').html(BX.message("JS_REQUIRED"));
}
}
});
}
var sessionID = '<?=bitrix_sessid()?>';
$('input#SESSION_ID').val(sessionID);
$('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"] input.date').inputmask(arScorpOptions['THEME']['DATE_MASK'], { 'placeholder': arScorpOptions['THEME']['DATE_PLACEHOLDER'] });
$('.order.form form[name="<?=$arResult["IBLOCK_CODE"]?>"] input.datetime').inputmask(arScorpOptions['THEME']['DATETIME_MASK'], { 'placeholder': arScorpOptions['THEME']['DATETIME_PLACEHOLDER'] });
$("input[type=file]").uniform({ fileButtonHtml: BX.message("JS_FILE_BUTTON_NAME"), fileDefaultHtml: BX.message("JS_FILE_DEFAULT") });
});
</script>
同事。我遇到了一个问题... Bitrix 的现成解决方案在您单击时不显示产品的“ID”(包含产品的页面)。每个产品都必须有一个向所有用户显示的 id。需要更改哪些设置?谢谢你。
<?$APPLICATION->IncludeComponent(
"bitrix:news",
"catalog",
array(
"IBLOCK_TYPE" => "aspro_scorp_catalog",
"IBLOCK_ID" => "95",
"NEWS_COUNT" => "6",
"USE_SEARCH" => "N",
"USE_RSS" => "N",
"USE_RATING" => "N",
"USE_CATEGORIES" => "Y",
"USE_FILTER" => "N",
"SORT_BY1" => "SORT",
"SORT_ORDER1" => "ASC",
"SORT_BY2" => "SORT",
"SORT_ORDER2" => "ASC",
"CHECK_DATES" => "Y",
"SEF_MODE" => "Y",
"SEF_FOLDER" => "/catalog/",
"AJAX_MODE" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "N",
"SET_TITLE" => "Y",
"SET_STATUS_404" => "Y",
"SHOW_404" => "Y",
"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
"ADD_SECTIONS_CHAIN" => "Y",
"USE_PERMISSIONS" => "N",
"PREVIEW_TRUNCATE_LEN" => "",
"LIST_ACTIVE_DATE_FORMAT" => "d.m.Y",
"LIST_FIELD_CODE" => array(
0 => "ID",
1 => "CODE",
2 => "NAME",
3 => "PREVIEW_TEXT",
4 => "PREVIEW_PICTURE",
5 => "DETAIL_TEXT",
6 => "DETAIL_PICTURE",
7 => "",
),
"LIST_PROPERTY_CODE" => array(
0 => "FORM_ORDER",
1 => "PRICE",
2 => "PRICEOLD",
3 => "STATUS",
4 => "ARTICLE",
5 => "soput_tovary",
6 => "",
),
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"SORT_PROP" => array(
0 => "sort",
1 => "ARTICLE",
2 => "soput_tovary",
),
"SORT_PROP_DEFAULT" => "sort",
"SORT_DIRECTION" => "asc",
"DISPLAY_NAME" => "Y",
"META_KEYWORDS" => "-",
"META_DESCRIPTION" => "FORM_ORDER",
"BROWSER_TITLE" => "-",
"DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y",
"DETAIL_FIELD_CODE" => array(
0 => "ID",
1 => "NAME",
2 => "PREVIEW_TEXT",
3 => "PREVIEW_PICTURE",
4 => "DETAIL_TEXT",
5 => "DETAIL_PICTURE",
6 => "",
),
"DETAIL_PROPERTY_CODE" => array(
0 => "FORM_QUESTION",
1 => "FORM_ORDER",
2 => "PRICE",
3 => "PRICEOLD",
4 => "STATUS",
5 => "ARTICLE",
6 => "BRAND",
7 => "TYPE",
8 => "COLOR",
9 => "SIZE",
10 => "LINK_PROJECTS",
11 => "soput_tovary",
12 => "DOCUMENTS",
13 => "",
),
"DETAIL_DISPLAY_TOP_PAGER" => "Y",
"DETAIL_DISPLAY_BOTTOM_PAGER" => "N",
"DETAIL_PAGER_TITLE" => "Страница",
"DETAIL_PAGER_TEMPLATE" => "",
"DETAIL_PAGER_SHOW_ALL" => "Y",
"PAGER_TEMPLATE" => ".default",
"DISPLAY_TOP_PAGER" => "N",
"DISPLAY_BOTTOM_PAGER" => "Y",
"PAGER_TITLE" => "Новости",
"PAGER_SHOW_ALWAYS" => "Y",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "N",
"VIEW_TYPE" => "table",
"SHOW_IMAGE" => "Y",
"SHOW_NAME" => "Y",
"SHOW_DETAIL" => "Y",
"IMAGE_POSITION" => "left",
"COUNT_IN_LINE" => "3",
"AJAX_OPTION_ADDITIONAL" => "",
"USE_REVIEW" => "N",
"ADD_ELEMENT_CHAIN" => "Y",
"SHOW_DETAIL_LINK" => "Y",
"USE_SHARE" => "N",
"S_ASK_QUESTION" => "",
"S_ORDER_PRODUCT" => "",
"T_GALLERY" => "",
"T_DOCS" => "",
"T_PROJECTS" => "",
"T_CHARACTERISTICS" => "",
"FILTER_URL_TEMPLATE" => "#SECTION_CODE_PATH#/filter/#SMART_FILTER_PATH#/apply/",
"SET_LAST_MODIFIED" => "Y",
"COMPONENT_TEMPLATE" => "catalog",
"STRICT_SECTION_CHECK" => "N",
"SET_BREADCRUMBS_CHAIN_FROM" => "NAME",
"T_VIDEO" => "",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"INCLUDE_SUBSECTIONS" => "Y",
"DETAIL_SET_CANONICAL_URL" => "Y",
"PAGER_BASE_LINK_ENABLE" => "N",
"FILE_404" => "",
"S_ORDER_STUDY" => "",
"T_STOCK" => "",
"T_GOODS" => "",
"T_SERVICES" => "",
"T_REVIEWS" => "",
"T_STAFF" => "",
"IMAGE_CATALOG_POSITION" => "left",
"SHOW_TABS" => "Y",
"SHOW_SECTION_PREVIEW_DESCRIPTION" => "Y",
"DISPLAY_DATE" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "Y",
"SHARE_HIDE" => "N",
"SHARE_TEMPLATE" => "",
"SHARE_HANDLERS" => array(
0 => "mailru",
1 => "twitter",
2 => "facebook",
3 => "vk",
4 => "delicious",
5 => "lj",
),
"SHARE_SHORTEN_URL_LOGIN" => "",
"SHARE_SHORTEN_URL_KEY" => "",
"CATEGORY_IBLOCK" => array(
0 => "95",
1 => "103",
2 => "107",
),
"CATEGORY_CODE" => "CATEGORY",
"CATEGORY_ITEMS_COUNT" => "5",
"CATEGORY_THEME_95" => "photo",
"CATEGORY_THEME_103" => "list",
"CATEGORY_THEME_107" => "photo",
"SEF_URL_TEMPLATES" => array(
"news" => "http://xn-----blcb5al9aegmgbigb2l.xn--p1ai/catalog/",
"section" => "#SECTION_CODE_PATH#/",
"detail" => "#SECTION_CODE_PATH#/#ELEMENT_CODE#/",
)
),
false
);?>