Новости Joomla

Вышел компонент интернет-магазина HikaShop 6.1.0.Один из известных компонентов магазина для Joomla

Вышел компонент интернет-магазина HikaShop 6.1.0.Один из известных компонентов магазина для Joomla

👩‍💻 Вышел компонент интернет-магазина HikaShop 6.1.0.Один из известных компонентов магазина для Joomla.v.6.1.0 Что нового?Модуль корзины. Отображение корзины в виде offcanvas-элемента.Кнопка выхода в панели управления пользователя. Что тут сказать, просто добавили. Отправка писем только для заказов, оплаченных определёнными способами. Это удобно для рассылки сообщений, привязанных к региону или провайдеру (например, инструкции по банковскому переводу только для заказов, оплаченных банковским переводом).Листинг выплат по партнерской системе. В разделе управления партнёрскими программами появилось новое подменю «Выплаты», в котором перечислены выплаты партнёрам (упрощённое отслеживание и сверка). Добавлены настройки, благодаря которым можно определить категории товаров, на которые начисляется партнёрская комиссия с продаж.Список комплектов товаров. Система комплектов позволяет отслеживать остатки товаров, продаваемых в комплекте.Подробнее в блоге Hikashop.Поскольку мы не сообщали ранее о Hikashop 6.0, то вкратце скажем, что он вышел в июне 2025г. В новой версии было:- 13 исправлений ошибок- 17 улучшений. В частности:- - Hikashop теперь проверяет UserAgent пользователя перед добавлением товара в корзину, чтобы отсечь ботов. Ведь компонент хранит корзины в базе данных.- - улучшен роутинг компонента, позволяющий использовать в названии товара даже слеши.- - улучшения фильтра товаров - ускорение загрузки категорий/брендов/характеристик.- 4 новых функции:- - добавлена поддержка Joomla 6.0.- - Улучшена возможность адаптации форм HikaShop на фронтенде к шаблонам, не использующим стандартные классы Joomla.- - Плагин внутреннего баланса: возможность исключить уцененные товары из начисленных баллов.- - Теперь можно выбирать склады для вариантов товаров.Подробнее в Changelog Hikashop.Также при работе с Hikashop стоит учитывать, что один и тот же код поддерживает версии Joomla от 3.х до 5.х, а в таблице сравнения версий заявлена и Joomla 2.5. Беглый просмотр кода показал, что компонент как был, так и остался старым и для совместимости с Joomla 4+ просто добавлен плагин.@joomlafeed#joomla #расширения #hikashop

На сколько актуально делать сайт в 2025 году? Битва с нейросетями и выбор CMSНовый выпуск подкаста...

На сколько актуально делать сайт в 2025 году? Битва с нейросетями и выбор CMSНовый выпуск подкаста...

На сколько актуально делать сайт в 2025 году? Битва с нейросетями и выбор CMSНовый выпуск подкаста "Просто о Digital"Гость:🎙 Владимир Сергеенко ( https://t.me/aixman ) • Интернет-маркетолог с 14-летним опытом• Соавтор книги «Нетворкинг»• Спикер конференции Ассоциации директоров по развитиюВедущий:💻 Игорь Филипенко ( https://t.me/igorleee )• Программист и предприниматель с 16-летним опытом в digital• Основатель подкаста "Просто о Digital"• Специалист по автоматизации бизнес-процессовВ этом выпуске вы узнаете:🔥 Актуальность сайтов в эпоху нейросетей• Актуален ли сайт сейчас и будет ли актуален в будущем?• Зачем нужен сайт? Есть ли иные инструменты привлечения клиентов?🤖 Нейросети vs Поисковики vs Сайты• Почему нейросети не заменят сайты в B2B-сегменте• Как Google и Яндекс меняют алгоритмы из-за AI-конкуренции📊 Сайт как центр вселенной вашего трафика• Почему без сайта вы сливаете 40% маркетингового бюджета впустую?🛡 Безопасность и Joomla 6.0• Как отфильтровать 99% ботов и сэкономить на трафике• Почему Joomla теперь обходит WordPress в безопасности и скорости⚖️ Выбор платформы: битва CMS• WordPress: 50% рынка но 80% уязвимостей• Joomla: профессиональная CMS для сложных проектов• Drupal: почему его похоронили в 2023 году• Tilda: когда конструктор выгоднее CMSПриятного просмотра/прослушивания!RSS: https://cloud.mave.digital/61930Mave: https://igorfilipenko.mave.digitalЯндекс Музыка: https://music.yandex.ru/album/35840190Telegram Mave: https://t.me/mavestreambot/app?startapp=igorfilipenkoApple Podcasts: https://podcasts.apple.com/us/podcast/просто-о-digital-и-бизнесе/id1801903450ВКонтакте: https://vk.com/podcasts-12488584Youtube: https://www.youtube.com/playlist?list=PLfR6jTpnkohDDco32xZ-KyMyWi_S5Xdy2=========================Видео-формат подкаста:Rutube: https://rutube.ru/video/b5762754f9d3e0dc382f32f3034be0a2/Youtube: https://youtu.be/nu1XF2jNbxY#подкаст #podcast

0 Пользователей и 1 Гость просматривают эту тему.
  • 8 Ответов
  • 1181 Просмотров
*

lexxbry

  • Живу я здесь
  • 2387
  • 68 / 8
стоит компонент OPC
настроил поля для юр и физ лиц
табы поменял местами
вывод имеет код
Код
 <div class="menu_overflow" <?php if (!empty($hide_business_tab)) echo ' style="display: none;" '; ?> >
 <div class="<?php if (!empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?>  opc_menu_item" id="business_div" style="margin-top: 10px;"><button onclick="return opc_menuClick('business');"><span class="opc_title"><?php echo $BUSINESS_TEXT; ?></span></button></div>
  <div id="business_arrow" class="arrow_business" <?php if (empty($opc_is_business)) echo 'style="display: none;" '; ?> ><div class="opc_arrow_white">&nbsp;</div><div class="opc_arrow">&nbsp;</div></div>
 </div>
 
 <div class="menu_overflow"><div id="visitor_div" class="<?php if (empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?> opc_menu_item"><button onclick="return opc_menuClick('visitor');"><span class="opc_title"><?php echo $VISITOR_TEXT; ?></span></button></div>
 <div id="visitor_arrow" class="arrow_visitor" <?php if (!empty($opc_is_business)) echo 'style="display: none;" '; ?> >
  <div class="opc_arrow_white">&nbsp;</div>
 <div class="opc_arrow">&nbsp;</div></div>
 </div>

на данный момент активен таб физ лиц visitor_arrow
что поменять что бы активным был business_arrow
http://joxi.ru/nAyvldPcX1D4Pr
стили то поменяю, а именно надо чтобы открывались поля юриков по умолчанию
« Последнее редактирование: 09.04.2018, 11:55:20 от lexxbry »
SEO-оптимизация,продвижение
Создание и сопровождение сайтов на Joomla
Миграция
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #1 : 06.04.2018, 10:12:12 »
Скрипта не хватает поидее в исходных. Там и менять...
Создание сайтов, шаблонов, помощь в решении проблем.
*

lexxbry

  • Живу я здесь
  • 2387
  • 68 / 8
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #2 : 06.04.2018, 10:24:54 »
вот JS по табам
в этом я ваще не бум бум
Код
function op_toggleVis(el)
{
   d = document.getElementById(el);
   //console.log(d);
   if (d != null)
    {
  if (d.style.display == 'none') toggleHide(el, false);
  else toggleHide(el, true);
}

return false;

}

function toggleHide(el, hide)
 {
   
   if (hide)
   {
   d = document.getElementById(el);
   if (d != null)
    {
  d.style.display = 'none';
}
   }
   else
   {
   
   
   d = document.getElementById(el);
   if (d != null)
    {
  d.style.display = 'block';
}
   
   
   }
 }
function hidecheckout(hide)
{
  if (hide)
   {
     toggleHide('opc_shipto_section', true);
toggleHide('opc_shipping_section', true);
toggleHide('opc_payment_section', true);
toggleHide('opc_tos_section', true);
toggleHide('opc_bottom_section', true);
toggleHide('opc_shipping_and_shipto_section', true);
   }
  else
   {
     toggleHide('opc_shipto_section', false);
if (!op_noshipping)
toggleHide('opc_shipping_section', false);
toggleHide('opc_payment_section', false);
toggleHide('opc_tos_section', false);
toggleHide('opc_bottom_section', false);
toggleHide('opc_shipping_and_shipto_section', false);
   
   }
}
function opc_menuClick(id)
{
  document.getElementById(id+'_div').className = document.getElementById(id+'_div').className.split('opc_menu_inactive').join('opc_menu_active');
 
  document.getElementById(id+'_arrow').style.display = 'block';
 
 
  if (id != 'login')
  {
  document.getElementById('login_div').className = document.getElementById('login_div').className.split('opc_menu_active').join('opc_menu_inactive');
  document.getElementById('login_arrow').style.display = 'none';
  hidecheckout(false);

  }
  else
  {
    hidecheckout(true);
    document.getElementById('opc_customer_registration').style.display = 'none';
document.getElementById('opc_login_section').style.display = 'block';
  }
 
  if (id != 'visitor')
  {
  document.getElementById('visitor_div').className = document.getElementById('visitor_div').className.split('opc_menu_active').join('opc_menu_inactive');
  document.getElementById('visitor_arrow').style.display = 'none'; 
  }
  else
  {
    document.getElementById('opc_customer_registration').style.display = 'block';
document.getElementById('opc_login_section').style.display = 'none';
document.getElementById('opc_is_business').value = '0';

  for (var i=0; i<business_fields.length; i++)
   {
     bf = business_fields[i];
     g = document.getElementById('opc_business_'+bf);
if (typeof g != 'undefined' && (g != null))
g.style.display = 'none';

//console.log(bf);
   }
Onepage.op_runSS(null, false, true);

  }
 
  if (id != 'business')
  {
  var bt = document.getElementById('business_div');
  if (bt != null)
  {
  bt.className = bt.className.split('opc_menu_active').join('opc_menu_inactive');
  document.getElementById('business_arrow').style.display = 'none';
  if (typeof jQuery != 'undefined')
  jQuery('.businessonlysection').toggle(false);
  }
  }
    else
  {
  if (typeof jQuery != 'undefined')
  jQuery('.businessonlysection').toggle(true);
    document.getElementById('opc_is_business').value = '1';
    document.getElementById('opc_customer_registration').style.display = 'block';
document.getElementById('opc_login_section').style.display = 'none';
for (var i=0; i<business_fields.length; i++)
    {
bf = business_fields[i];
     g = document.getElementById('opc_business_'+bf);
if (typeof g != 'undefined' && (g != null))
g.style.display = 'block';
// console.log(bf);
    }
Onepage.op_runSS(null, false, true);
  }

 
 
  return false;
}

function tabClick(tabid)
{
 
  // ul
  var ul = tabid.getParent().getParent();
  for (var i = 0; i<ul.childNodes.length; i++)
  {
   ul.childNodes[i].className = "";
   for (var j = 0; j<ul.childNodes[i].childNodes.length; j++)
    {
     if (ul.childNodes[i].childNodes[j].className == "selected")
     {
      ul.childNodes[i].childNodes[j].className = "";
     }
    }
   
  }
  // li
  tabid.getParent().className = "selected";
  tabid.className = "selected"
 
  var tabcon = document.getElementById(tabid.rel);
  var parentn = document.getElementById('tabscontent');
  for (i=0; i<parentn.childNodes.length; i++)
  {
    if (typeof(parentn.childNodes[i].style)!= 'undefined')
    if (parentn.childNodes[i].id != tabid.rel)
    parentn.childNodes[i].style.display = 'none';
    else parentn.childNodes[i].style.display = 'block';
  }
  return false;
}
function op_logout()
{
 document.adminForm.option.value = op_com_user;
 document.adminForm.task.value = op_com_user_task_logout;
 document.adminForm.action = op_com_user_action_logout;
 
 document.adminForm.submit();
 return true;

}
function op_login()
{
 /*
  <input type="hidden" name="option" value="<?php echo vmIsJoomla( '1.5' )? 'com_user' : 'login'; ?>" />
<input type="hidden" name="task" value="login" />

 */
 
 // we need to disable validation
 df = document.getElementById('adminForm');
 if (df != null)
  {
    df.className = '';
document.formvalidator = null;
document.adminForm.onsubmit = null;
  }
 
 document.adminForm.option.value = op_com_user;
 document.adminForm.task.value = op_com_user_task;
 document.adminForm.action = op_com_user_action
 if (document.adminForm.username != null)
 document.adminForm.username.value = document.adminForm.username_login.value;
 else
 {
    var usern = document.createElement('input');
    usern.setAttribute('type', 'hidden');
    usern.setAttribute('name', 'username');
    usern.setAttribute('value', document.getElementById('username_login').value);
    document.adminForm.appendChild(usern);
 }

 document.adminForm.submit();
 return false;
}

function submitenter(el, e)
{
 var charCode;
   
    if(e && e.which){
        charCode = e.which;
    }else if(window.event){
        e = window.event;
        charCode = e.keyCode;
    }


if (charCode == 13)
   {
   op_login();
   return false;
   }
else
   return true;
}
// id = string, of an div with an ide which has to be altered
// el -> the underlying button element styled as checkbox
function alterButton(el, id)
{
  el3 = '';
  //if (typeof el.checked == 'undefined')
   {
     if (el3 != '')
     el2 = document.getElementById(el3);
d = document.getElementById(id);
     if (el.className.indexOf('button_checkbox_uned')>=0)
  {
    if (el3 != '')
{
    el2.setAttribute('checked', true);
el2.checked = true;
el2.value='adresaina';
}
el.className = el.className.split('button_checkbox_uned').join('button_checkbox_ed');


d.style.display = 'block';
  }
else
  {
    if (el3 != '')
{
     el2.setAttribute('checked', false);
el2.checked = false;
el2.value='';
}
el.className = el.className.split('button_checkbox_ed').join('button_checkbox_uned');



   
       d.style.display = 'none';
   

  }
   }
   
 
//op_runSS(this);   
  //showSA(el2, id);
  return false;
}



function showSA2(el, id)
{
el3 = 'sachone';
  //if (typeof el.checked == 'undefined')
   {
     if (el3 != '')
     el2 = document.getElementById(el3);
d = document.getElementById(id);
     if (el.className.indexOf('button_checkbox_uned')>=0)
  {
    if (el3 != '')
{
    el2.setAttribute('checked', true);
el2.checked = true;
el2.value='adresaina';
}
el.className = el.className.split('button_checkbox_uned').join('button_checkbox_ed');


d.style.display = 'block';
  }
else
  {
    if (el3 != '')
{
     el2.setAttribute('checked', false);
el2.checked = false;
el2.value='';
}
el.className = el.className.split('button_checkbox_ed').join('button_checkbox_uned');



   
       d.style.display = 'none';
   

  }
   }
   
 
//op_runSS(this);   
Onepage.op_runSS(el);   
  //showSA(el2, id);
  return false;
}


function showSAreg(el)
{
   fields = new Array('username', 'password', 'opc_password', 'password2', 'opc_password2', 'opc_business_opc_password2', 'opc_business_opc_password');
   //if (typeof el.checked == 'undefined')
   {
     el2 = document.getElementById('register_account');

     if (el.className.indexOf('button_checkbox_uned')>=0)
  {
    el2.setAttribute('checked', true);
el2.checked = true;
el.className = el.className.split('button_checkbox_uned').join('button_checkbox_ed');
el2.value='adresaina';



for (var i=0; i<fields.length; i++)
{
    d2 = document.getElementById(fields[i]+'_div');
if (d2 != null)
d2.style.display = '';
d2 = document.getElementById(fields[i]+'_input');
if (d2 != null)
d2.style.display = '';
}
  }
else
  {
    el2.setAttribute('checked', false);
el2.checked = false;
el.className = el.className.split('button_checkbox_ed').join('button_checkbox_uned');
el2.value='';
       
    for (var i=0; i<fields.length; i++)
{
    d2 = document.getElementById(fields[i]+'_div');
if (d2 != null)
d2.style.display = 'none';
d2 = document.getElementById(fields[i]+'_input');
if (d2 != null)
d2.style.display = 'none';
}

   

  }
   }
   return false;
}
SEO-оптимизация,продвижение
Создание и сопровождение сайтов на Joomla
Миграция
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #3 : 06.04.2018, 10:37:50 »
Не, наверное...
Попробуйте в if (!empty($opc_is_business) знак восклицания переставить.
Вот так
Код
<div class="menu_overflow" <?php if (empty($hide_business_tab)) echo ' style="display: none;" '; ?> >
 <div class="<?php if (!empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?>  opc_menu_item" id="business_div" style="margin-top: 10px;"><button onclick="return opc_menuClick('business');"><span class="opc_title"><?php echo $BUSINESS_TEXT; ?></span></button></div>
  <div id="business_arrow" class="arrow_business" <?php if (empty($opc_is_business)) echo 'style="display: none;" '; ?> ><div class="opc_arrow_white">&nbsp;</div><div class="opc_arrow">&nbsp;</div></div>
 </div>
 
 <div class="menu_overflow"><div id="visitor_div" class="<?php if (!empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?> opc_menu_item"><button onclick="return opc_menuClick('visitor');"><span class="opc_title"><?php echo $VISITOR_TEXT; ?></span></button></div>
 <div id="visitor_arrow" class="arrow_visitor" <?php if (!empty($opc_is_business)) echo 'style="display: none;" '; ?> >
  <div class="opc_arrow_white">&nbsp;</div>
 <div class="opc_arrow">&nbsp;</div></div>
 </div>
Создание сайтов, шаблонов, помощь в решении проблем.
*

lexxbry

  • Живу я здесь
  • 2387
  • 68 / 8
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #4 : 06.04.2018, 10:43:07 »
Попробуйте в if (!empty($opc_is_business) знак восклицания переставить.
не то
http://joxi.ru/52agWLjhGOX7wr
SEO-оптимизация,продвижение
Создание и сопровождение сайтов на Joomla
Миграция
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #5 : 06.04.2018, 10:51:58 »
Вот так
Код
<div class="menu_overflow" <?php if (!empty($hide_business_tab)) echo ' style="display: none;" '; ?> >
 <div class="<?php if (empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?>  opc_menu_item" id="business_div" style="margin-top: 10px;"><button onclick="return opc_menuClick('business');"><span class="opc_title"><?php echo $BUSINESS_TEXT; ?></span></button></div>
  <div id="business_arrow" class="arrow_business" <?php if (!empty($opc_is_business)) echo 'style="display: none;" '; ?> ><div class="opc_arrow_white">&nbsp;</div><div class="opc_arrow">&nbsp;</div></div>
 </div>
 
 <div class="menu_overflow"><div id="visitor_div" class="<?php if (!empty($opc_is_business)) echo 'opc_menu_active'; else echo 'opc_menu_inactive'; ?> opc_menu_item"><button onclick="return opc_menuClick('visitor');"><span class="opc_title"><?php echo $VISITOR_TEXT; ?></span></button></div>
 <div id="visitor_arrow" class="arrow_visitor" <?php if (empty($opc_is_business)) echo 'style="display: none;" '; ?> >
  <div class="opc_arrow_white">&nbsp;</div>
 <div class="opc_arrow">&nbsp;</div></div>
 </div>
Создание сайтов, шаблонов, помощь в решении проблем.
*

lexxbry

  • Живу я здесь
  • 2387
  • 68 / 8
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #6 : 06.04.2018, 11:02:01 »
Вот так
почти то что надо
стрелка активная та, но поля выводит физиков
http://joxi.ru/8AnE17Ptql4YD2
а после клика как надо
SEO-оптимизация,продвижение
Создание и сопровождение сайтов на Joomla
Миграция
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #7 : 06.04.2018, 11:17:55 »
Дайте ссылку
Создание сайтов, шаблонов, помощь в решении проблем.
*

lexxbry

  • Живу я здесь
  • 2387
  • 68 / 8
Re: OPC поменять вкладки Физ и Юр лиц
« Ответ #8 : 06.04.2018, 11:18:56 »
лс ушло
SEO-оптимизация,продвижение
Создание и сопровождение сайтов на Joomla
Миграция
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться