Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

arthyrgrex

Користувачі
  
  • Публікації

    101
  • З нами

  • Відвідування

1 подписчик

Інформація

  • Стать
    Не определился
  • Інтереси
    Создание и продвижение сайтов

Відвідувачі профілю

Блок відвідувачів профілю відключений і не буде доступний широкому іншим користувачам

arthyrgrex's Achievements

Collaborator

Collaborator (7/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

7

Репутація

  1. Добрый день. Подскажите пожалуйста как скрыть / открыть второй и последующие ряды подкатегорий (когда их много) на странице категорий? Пример страницы: https://vikingvape.by/zhidkost/premium-zhidkosti/ Почти сделал свой вариант, но кнопка отображается даже если в категории 1 подкатегория. Мой пример: <style> .content_block { overflow: hidden; position: relative; } .content_block.hidebtn { height: 100px; margin-bottom: 10px; } .content_block.hidebtn:after{ content: ""; display: block; height: 20px; position: absolute; left: 0; right: 0; bottom: 0; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 95%) } .btnstyle {padding:8px; margin-top:5px; text-decoration:none; text-transform:uppercase; font-size:14px; display: table; margin: auto; margin-bottom: 10px; background-color:#000; color:#fff; font-weight:bold;} .btnstyle:hover {background-color:#f04343; color:#fff;} </style> <div class="content_block hidebtn"> ЗДЕСЬ МНОГО ПОДКАТЕГОРИЙ </div> <a class="content_toggle btnstyle" style="text-decoration:none;" href="#">Показать все</a> <script> $(document).ready(function(){ $('.content_toggle').click(function(){ $('.content_block').toggleClass('hidebtn'); if ($('.content_block').hasClass('hidebtn')) { $('.content_toggle').html('Показать все'); } else { $('.content_toggle').html('Скрыть'); } return false; }); }); </script> Заранее благодарен.
    Отличный вариант для избавления от головной боли с редиректами в .htaccess за небольшие деньги.
  2. Всем привет. OcStore 2.1.0.2.1 Категория (любая): https://sweetfate.by/zhvachka/ Нужно скрывать кнопку купить когда товара нет в наличии. На странице товара я уже реализовал конструкцию: <?php if (($product_quantity <= 0)){ ?> нет кнопки <?php } else { ?> есть кнопка <?php } ?> все четко: https://sweetfate.by/turbo-extreme Но в категории такая тема не прокатывает. Прикол в том, что при загрузке страницы категории - кнопки сначала пропадают, а потом сразу появляются (как будто сверху чем-то заменяются). Не могу понять в чем загвоздка. Уже все поочищал, пообновлял (кэш, модификаторы). Ничего не помогает. В какую сторону копать? Заранее благодарен.
  3. из последних пробовал следующие варианты в корне папки category и в корне домена в .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*?/)category/(.+)$ $1$2 [R=301,L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^category/(.+)$ http://site.ru/$1 [R=301,L] </IfModule> RewriteCond %{DOCUMENT_ROOT}/category/$1 -f RewriteRule ^(.*)$ category/$1 [L,QSA]
  4. Собственно сабж. Нужно с помощью .htaccess убрать категорию "category/dir" из урла, чтобы: http://site.com/category/dir/page.html редиректило на http://site.com/page.html Перепробовал уже кучу вариантов из поиска - ничего не срабатывает.. Сам .htaccess - обрабатывается, проверял. прописывал любую некорректную фразу, сохранял - получал 500 ошибку. Кто хорошо шарит, подскажите пожалуйста, рабочий вариант. Заранее благодарен.
  5. помогло в папке system лежал модификатор шаблона - в нем были нужные строки просто скрыл стилями, обновил кэш модификатора и все стало как нужно
  6. OcStore 2.3.0.2.3 Уже обыскался и облазил наверно все что можно - не могу скрыть короткое описание товара в админке (ни стилями, ни в коде): В /admin/view/template/catalog/product_form.tpl, только: <div class="form-group"> <label class="col-sm-2 control-label" for="input-description<?php echo $language['language_id']; ?>"><?php echo $entry_description; ?></label> <div class="col-sm-10"> <textarea name="product_description[<?php echo $language['language_id']; ?>][description]" placeholder="<?php echo $entry_description; ?>" id="input-description<?php echo $language['language_id']; ?>" data-lang="<?php echo $lang; ?>" class="form-control summernote"><?php echo isset($product_description[$language['language_id']]) ? $product_description[$language['language_id']]['description'] : ''; ?></textarea> </div> </div> В модификатор /system/storage/modification/admin/view/template/catalog/product_form.tpl, его что-то выводит. Но если там закомментить или скрыть под hidden - при следующем обновлении модификатора оно опять появится: <div class="form-group"> <label class="col-sm-2 control-label" for="input-meta-description<?php echo $language['language_id']; ?>"><?php echo $entry_meta_description; ?></label> <div class="col-sm-10"> <textarea name="product_description[<?php echo $language['language_id']; ?>][meta_description]" rows="5" placeholder="<?php echo $entry_meta_description; ?>" id="input-meta-description<?php echo $language['language_id']; ?>" class="form-control"><?php echo isset($product_description[$language['language_id']]) ? $product_description[$language['language_id']]['meta_description'] : ''; ?></textarea> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="input-short_description<?php echo $language['language_id']; ?>"><?php echo $entry_short_description; ?></label> <div class="col-sm-10"> <textarea name="product_description[<?php echo $language['language_id']; ?>][short_description]" id="input-short_description<?php echo $language['language_id']; ?>" class="form-control summernote"><?php echo isset($product_description[$language['language_id']]) ? $product_description[$language['language_id']]['short_description'] : ''; ?></textarea> </div> </div> В контроллерах админики ничего не нашел с упоминанием short_description. Откуда он сц*ко берется ?)) Что его в модификатор прописывает. Может кто-то подскажет? Заранее благодарен.
  7. Отличный модуль - работает без сбоев, все хорошо адаптировано. Мастхэв. Тем более когда наличие видеоконтента на странице - один из факторов ранжирования.
  8. Помогло следующее решение: У меня OcStore 2.1.0.2.1, но права вставлял от 2.1.0.1 1. Заходите в phpMyAdmin. 2. Находите таблицу user_group (см. левую колонку) и заходите в нее. 3. В строке Главный администратор нажимаете Изменить. 4. Вставляете ниже указанный текст в самое большое, квадратное окно. {"access":["analytics\/google_analytics","captcha\/basic_captcha","captcha\/google_captcha","catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","common\/menu","common\/profile","common\/sass","common\/stats","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/layout","extension\/analytics","extension\/captcha","extension\/feed","extension\/fraud","extension\/installer","extension\/modification","extension\/module","extension\/openbay","extension\/payment","extension\/shipping","extension\/total","feed\/google_base","feed\/google_sitemap","feed\/openbaypro","fraud\/fraudlabspro","fraud\/ip","fraud\/maxmind","localisation\/city","localisation\/city_update","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/account","module\/affiliate","module\/alphasms","module\/amazon_button","module\/amazon_login","module\/amazon_pay","module\/banner","module\/bestseller","module\/carousel","module\/category","module\/d_quickcheckout","module\/deadcow_seo","module\/ebay_listing","module\/featured","module\/filter","module\/google_hangouts","module\/html","module\/information","module\/latest","module\/olark","module\/pp_button","module\/pp_login","module\/redirect_manager","module\/slideshow","module\/special","module\/store","module\/tm_blog_articles","module\/tm_blog_category","module\/tm_category","module\/tm_category_menu","module\/tm_cookie_policy","module\/tm_countdown","module\/tm_fbbox","module\/tm_google_map","module\/tm_instagram","module\/tm_manufacturer","module\/tm_megamenu","module\/tm_module_tab","module\/tm_newsletter","module\/tm_newsletter_popup","module\/tm_parallax","module\/tm_pinterest","module\/tm_product_slideshow","module\/tm_progress_bars","module\/tm_single_category_product","module\/tm_slideshow","module\/tm_social_list","module\/tm_twitter","module\/tm_videobg","openbay\/amazon","openbay\/amazon_listing","openbay\/amazon_product","openbay\/amazonus","openbay\/amazonus_listing","openbay\/amazonus_product","openbay\/ebay","openbay\/ebay_profile","openbay\/ebay_template","openbay\/etsy","openbay\/etsy_product","openbay\/etsy_shipping","openbay\/etsy_shop","payment\/amazon_checkout","payment\/amazon_login_pay","payment\/authorizenet_aim","payment\/authorizenet_sim","payment\/bank_transfer","payment\/bluepay_hosted","payment\/bluepay_redirect","payment\/cheque","payment\/cod","payment\/firstdata","payment\/firstdata_remote","payment\/free_checkout","payment\/g2apay","payment\/globalpay","payment\/globalpay_remote","payment\/klarna_account","payment\/klarna_invoice","payment\/liqpay","payment\/nochex","payment\/paymate","payment\/paypoint","payment\/payza","payment\/perpetual_payments","payment\/pp_express","payment\/pp_payflow","payment\/pp_payflow_iframe","payment\/pp_pro","payment\/pp_pro_iframe","payment\/pp_standard","payment\/realex","payment\/realex_remote","payment\/sagepay_direct","payment\/sagepay_server","payment\/sagepay_us","payment\/securetrading_pp","payment\/securetrading_ws","payment\/skrill","payment\/twocheckout","payment\/web_payment_software","payment\/worldpay","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/custom_field","sale\/customer","sale\/customer_ban_ip","sale\/customer_group","sale\/newfastorder","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","shipping\/auspost","shipping\/citylink","shipping\/fedex","shipping\/flat","shipping\/free","shipping\/item","shipping\/novaposhta","shipping\/parcelforce_48","shipping\/pickup","shipping\/royal_mail","shipping\/ups","shipping\/usps","shipping\/weight","simple_blog\/article","simple_blog\/author","simple_blog\/category","simple_blog\/comment","simple_blog\/install","simple_blog\/report","tool\/backup","tool\/error_log","tool\/export_import","tool\/upload","total\/coupon","total\/credit","total\/handling","total\/klarna_fee","total\/low_order_fee","total\/reward","total\/shipping","total\/sub_total","total\/tax","total\/total","total\/voucher","user\/api","user\/user","user\/user_permission"],"modify":["analytics\/google_analytics","captcha\/basic_captcha","captcha\/google_captcha","catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","common\/menu","common\/profile","common\/sass","common\/stats","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/layout","extension\/analytics","extension\/captcha","extension\/feed","extension\/fraud","extension\/installer","extension\/modification","extension\/module","extension\/openbay","extension\/payment","extension\/shipping","extension\/total","feed\/google_base","feed\/google_sitemap","feed\/openbaypro","fraud\/fraudlabspro","fraud\/ip","fraud\/maxmind","localisation\/city","localisation\/city_update","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/account","module\/affiliate","module\/alphasms","module\/amazon_button","module\/amazon_login","module\/amazon_pay","module\/banner","module\/bestseller","module\/carousel","module\/category","module\/d_quickcheckout","module\/deadcow_seo","module\/ebay_listing","module\/featured","module\/filter","module\/google_hangouts","module\/html","module\/information","module\/latest","module\/olark","module\/pp_button","module\/pp_login","module\/redirect_manager","module\/slideshow","module\/special","module\/store","module\/tm_blog_articles","module\/tm_blog_category","module\/tm_category","module\/tm_category_menu","module\/tm_cookie_policy","module\/tm_countdown","module\/tm_fbbox","module\/tm_google_map","module\/tm_instagram","module\/tm_manufacturer","module\/tm_megamenu","module\/tm_module_tab","module\/tm_newsletter","module\/tm_newsletter_popup","module\/tm_parallax","module\/tm_pinterest","module\/tm_product_slideshow","module\/tm_progress_bars","module\/tm_single_category_product","module\/tm_slideshow","module\/tm_social_list","module\/tm_twitter","module\/tm_videobg","openbay\/amazon","openbay\/amazon_listing","openbay\/amazon_product","openbay\/amazonus","openbay\/amazonus_listing","openbay\/amazonus_product","openbay\/ebay","openbay\/ebay_profile","openbay\/ebay_template","openbay\/etsy","openbay\/etsy_product","openbay\/etsy_shipping","openbay\/etsy_shop","payment\/amazon_checkout","payment\/amazon_login_pay","payment\/authorizenet_aim","payment\/authorizenet_sim","payment\/bank_transfer","payment\/bluepay_hosted","payment\/bluepay_redirect","payment\/cheque","payment\/cod","payment\/firstdata","payment\/firstdata_remote","payment\/free_checkout","payment\/g2apay","payment\/globalpay","payment\/globalpay_remote","payment\/klarna_account","payment\/klarna_invoice","payment\/liqpay","payment\/nochex","payment\/paymate","payment\/paypoint","payment\/payza","payment\/perpetual_payments","payment\/pp_express","payment\/pp_payflow","payment\/pp_payflow_iframe","payment\/pp_pro","payment\/pp_pro_iframe","payment\/pp_standard","payment\/realex","payment\/realex_remote","payment\/sagepay_direct","payment\/sagepay_server","payment\/sagepay_us","payment\/securetrading_pp","payment\/securetrading_ws","payment\/skrill","payment\/twocheckout","payment\/web_payment_software","payment\/worldpay","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/custom_field","sale\/customer","sale\/customer_ban_ip","sale\/customer_group","sale\/newfastorder","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","shipping\/auspost","shipping\/citylink","shipping\/fedex","shipping\/flat","shipping\/free","shipping\/item","shipping\/novaposhta","shipping\/parcelforce_48","shipping\/pickup","shipping\/royal_mail","shipping\/ups","shipping\/usps","shipping\/weight","simple_blog\/article","simple_blog\/author","simple_blog\/category","simple_blog\/comment","simple_blog\/install","simple_blog\/report","tool\/backup","tool\/error_log","tool\/export_import","tool\/upload","total\/coupon","total\/credit","total\/handling","total\/klarna_fee","total\/low_order_fee","total\/reward","total\/shipping","total\/sub_total","total\/tax","total\/total","total\/voucher","user\/api","user\/user","user\/user_permission"]} 5. Нажимаете кнопку Вперед но не самую нижнюю, а расположенную непосредственно под данным окном (точнее чуть левее). 6. Заходите на сайт и проверяете. Все права должны у вас быть как на только установленном сайте.
  9. я думаю вы прекрасно поняли, что я имел ввиду по словом "рут" спасибо и на этом
  10. Я из-под админа в админке сайта пытаюсь редактировать группу пользователя, либо создать пользователя, либо сохранить настройки магазина. На все эти действия мне админка отдает ошибку о недостаточности прав на редактирование, хотя я рут в админке.
×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.