Новости Joomla

Компонент Joomla 6: Генератор LLMs.txt.

Компонент Joomla 6: Генератор LLMs.txt.

Компонент Joomla 6: Генератор LLMs.txt.

Ещё один генератор ИИ-файлов llms.txt и llms-full.txt.

Основные особенности/возможности компонента:

  • Генерация по стандарту: Автоматическое создание файла-визитки llms.txt и расширенной версии llms-full.txt с аннотированным списком материалов.
  • Интеллектуальная работа с контентом: Компонент использует мета-описания (Meta Description) из статей и пунктов меню, превращая SEO-настройки сайта в качественный контекст для нейросетей.
  • Просмотреть результат генерации файлов можно сразу в рабочей области компонента. После внесения корректив (через Настройки компонента. При отладке лучше открыть три вкладки в браузере: Настройка — Геренация/Превью — Список Материалов/Категории/Меню.) — проводим перегенерацию, смотрим результат до полной «победы».
  • Автоматизация и безопасность: Синхронизация с sitemap.xml, группировка по категориям и автоматическое создание резервных копий (.bak) при каждой генерации.
  • Гибкое управление: Возможность исключения определенных категорий и/или статей и/или пунктов меню, а также простая настройка через стандартную админпанель Joomla.
  • Подробное руководство/справка: Пошаговая инструкция для пользователя в Настройках компонента для редакторов с базовым знанием администрирования Joomla.

👉 Важно учесть.
1️⃣ Компонент Генератор LLMs.txt изначально составляет базовый список ссылок на основе sitemap.xml и сверяется с ним на предмет: запрета индексации url в robots.txt, тегов noinex/nofollow. Это экономит время на проверку «закрыть от индексации», поскольку компонент генерации Sitemap.xml уже реализовал эту задачу. Посему, формирование ссылок для ИИ имеет комплексный подход, составление грамотного/валидного/релевантного sitemap.xml никто не отменял.

2️⃣ Тексты-описания ссылок формируются из Meta Description com_content (только компонент Материалы) и выбранных пользователем Меню сайта. Важно, чтобы Meta Description были уникальными и релевантными, соответствовали базовому seo. Составленные «на отшибись» Description для ИИ — «не катит» (впрочем, для поисковых систем они тоже «не канали»).

Разработчик - участник нашего сообщества Александр Кузнецов (@newvksan).

Страница расширения

@joomlafeed

#joomla #ии #ai

👩‍💻 WT LLMs для Joomla: llms.txt, llms.json для AI-агентов.

👩‍💻 WT LLMs для Joomla: llms.txt, llms.json для AI-агентов.

Это Joomla-компонент для публикации AI-ready карты сайта и автоматической генерации файлов llms.txt, llms-full.txt и llms.json по концепции llmstxt.org.  Также о концепции llms.txt говорит Google в своей справке Lighthouse. Решение помогает LLM-моделям, AI-агентам, GEO/AI SEO-процессам и внутренним автоматизациям получать структурированные данные о сайте без ручной сборки JSON и Markdown.

С помощью WT LLMs можно:
- создать структурированное описание сайта для AI-агентов;
- управлять профилем сайта, картой интентов и каноническими страницами для этих интентов из админки Joomla;
- генерировать llms.txt и llms.json;
- использовать REST API для автоматического заполнения данных;
- отдавать публичную schema-инструкцию для AI-агентов;

В комплект компонента входит плагин markdown-версии страниц Joomla. Системный плагин Joomla, который добавляет альтернативное Markdown-представление страниц сайта. Он позволяет отдавать содержимое страницы в более чистом текстовом формате, удобном для AI-агентов, LLM, поисковых систем и технических интеграций.
Плагин добавляет в ссылки на AI-файлы.

Пакет подходит для сайтов на Joomla 5+, которым важно сделать контент понятнее для LLM, AI-поиска, ассистентов и будущих систем машинного чтения.

Видео:
- ВК Видео
- RuTube
- YouTube

Ссылки:
Страница расширения
GitHub

@joomlafeed

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

staskmp

  • Захожу иногда
  • 50
  • 2 / 0
Добрый вечер всем, подскажите пжлст где можно отредактировать тему письма приходящую на почту после заказа. Конкретно интересует ФИО клиента.
в orderemail.php не могу найти, ткните пожалуйста)! ! !

 в подобных ветках на форуме не нашел ответ про "тему эмейла", сам не додумаю. Спасибо!

Спойлер
[свернуть]
*

nevigen

  • Moderator
  • 10452
  • 863 / 25
  • http://n*****n.com
Профессиональные / Бесплатные решения для JoomShopping
Не лечи бесплатно, ибо тот, кто лечится бесплатно, рано или поздно перестает ценить свое здоровье,
а тот, кто лечит бесплатно, рано или поздно перестает ценить результаты своего труда/ (с) Гиппократ?
Не ищите ответов, ищите решение !
*

dimon966

  • Новичок
  • 8
  • 0 / 0
В файле ordermail.php можно проделать следующее:
Код
$cart = JModelLegacy::getInstance('cart', 'jshop');
$cart->load();
$cart->addLinkToProducts(1);
Далее, в переборе товаров ссылка на товар будет выглядеть так:
Код
<a href = "<?php echo $this->liveurlhost . $cart->products[$key_id]['href']; ?>"><?php print $prod->product_name;?></a>
Все вроде сделал правильно но ссылка введет на главную.
И файл называется по другому у меня orderemail.php

JoomShopping Version 4.16.3

Спойлер
[свернуть]
*

dmitry_stas

  • Легенда
  • 13151
  • 1234 / 8
во-первых, неправильно сделали.
Код
$cart = JModelLegacy::getInstance('cart', 'jshop');
$cart->load();
$cart->addLinkToProducts(1);
нужно делать вне цикла, 1 раз, а не внутри цикла как у вас. а во-вторых это решение в принципе не очень правильное. оно будет работать только если вы ничего не удаляли из корзины.
Тут дарят бакс просто за регистрацию! Успей получить!
Все советы на форуме раздаю бесплатно, то есть даром. Индивидуально бесплатно консультирую только по вопросам стоимости индивидуальных консультаций
*

dimon966

  • Новичок
  • 8
  • 0 / 0
Спасибо за ответ.
Оставлю пока без ссылок ::)
*

anny_k

  • Осваиваюсь на форуме
  • 39
  • 2 / 0
Здравствуйте, файл исправила, ссылок в письме все равно нет, никаких., только название товара.
Код
<?php defined('_JEXEC') or die(); ?>
<?php $order = $this->order;?>
<html>
<title></title>
<head>
<style type = "text/css">
html{
    font-family:Tahoma;
    line-height:100%;
}
body, td{
    font-size:12px;
    font-family:Tahoma;
}
td.bg_gray, tr.bg_gray td {
    background-color: #CCCCCC;

}
table {
    border-collapse:collapse;
    border:0;

}
td{
    padding-left:3px;
    padding-right: 3px;
    padding-top:0px;
    padding-bottom:0px;

}
tr.bold td{
    font-weight:bold;

}
tr.vertical td{
    vertical-align:top;
    padding-bottom:10px;

}
h3{
    font-size:14px;
    margin:2px;
}
.jshop_cart_attribute{
    padding-top: 5px;
    font-size:11px;


}
.taxinfo{
    font-size:11px;
}
</style>
</head>
<body>
<?php print $this->_tmp_ext_html_ordermail_start?>
<table width="600px" align="center" border="0" cellspacing="0" cellpadding="0" style="line-height:100%;">
  <tr valign="top">
     <td colspan = "2">
       <?php print $this->info_shop;?>
     </td>
  </tr>
  <?php if ($this->client){?>
  <tr>
     <td colspan = "2" style="padding-bottom:10px;">
       <?php print $this->order_email_descr;?>
     </td>
  </tr>
  <?php }?>
  <tr class = "bg_gray">
     <td colspan = "2">
        <h3><?php print _JSHOP_EMAIL_PURCHASE_ORDER?></h3>
     </td>
  </tr>
  <tr><td style="height:10px;font-size:1px;">&nbsp;</td></tr>
  <tr>
     <td width="50%">
        <?php print _JSHOP_ORDER_NUMBER?>:
     </td>
     <td width="50%">
        <?php print $this->order->order_number?>
     </td>
  </tr>
  <tr>
     <td>
        <?php print _JSHOP_ORDER_DATE?>:
     </td>
     <td>
        <?php print $this->order->order_date?>
     </td>
  </tr>
  <tr>
     <td>
        <?php print _JSHOP_ORDER_STATUS?>:
     </td>
     <td>
        <?php print $this->order->status?>
     </td>
  </tr>
<?php if ($this->show_customer_info){?>
  <tr><td style="height:10px;font-size:1px; background-color: #d0040e;">&nbsp;</td></tr>
  <tr class="bg_gray">
    <td colspan="2" width = "50%">
       <h3><?php print _JSHOP_CUSTOMER_INFORMATION?></h3>
    </td>
  </tr>
  <tr>
    <td  style="vertical-align:top;padding-top:10px;" width = "50%">
      <table cellspacing="0" cellpadding="0" style="line-height:100%;">
        <tr>
          <td colspan="2"><b><?php print _JSHOP_EMAIL_BILL_TO?></b></td>
        </tr>
        <?php if ($this->config_fields['title']['display']){?>
        <tr>
          <td width="100"><?php print _JSHOP_REG_TITLE?>:</td>
          <td><?php print $this->order->title?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['firma_name']['display']){?>
        <tr>
          <td width="100"><?php print _JSHOP_FIRMA_NAME?>:</td>
          <td><?php print $this->order->firma_name?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['f_name']['display']){?>
        <tr>
          <td width="100"><?php print _JSHOP_FULL_NAME?>:</td>
          <td><?php print $this->order->f_name?> <?php print $this->order->l_name?> <?php print $this->order->m_name?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['birthday']['display']){?>
        <tr>
          <td><?php print _JSHOP_BIRTHDAY?>:</td>
          <td><?php print $this->order->birthday;?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['client_type']['display']){?>
        <tr>
          <td><?php print _JSHOP_CLIENT_TYPE?>:</td>
          <td><?php print $this->order->client_type_name;?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['firma_code']['display'] && ($this->order->client_type==2 || !$this->config_fields['client_type']['display'])){?>
        <tr>
          <td><?php print _JSHOP_FIRMA_CODE?>:</td>
          <td><?php print $this->order->firma_code?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['tax_number']['display'] && ($this->order->client_type==2 || !$this->config_fields['client_type']['display'])){?>
        <tr>
          <td><?php print _JSHOP_VAT_NUMBER?>:</td>
          <td><?php print $this->order->tax_number?></td>
        </tr>
        <?php } ?>
       
        <?php if ($this->config_fields['home']['display']){?>
        <tr>
          <td><?php print _JSHOP_HOME?>:</td>
          <td><?php print $this->order->home?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['apartment']['display']){?>
        <tr>
          <td><?php print _JSHOP_APARTMENT?>:</td>
          <td><?php print $this->order->apartment?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['street']['display']){?>
        <tr>
          <td><?php print _JSHOP_STREET_NR?>:</td>
          <td><?php print $this->order->street?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['city']['display']){?>
        <tr>
          <td><?php print _JSHOP_CITY?>:</td>
          <td><?php print $this->order->city?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['state']['display']){?>
        <tr>
          <td><?php print _JSHOP_STATE?>:</td>
          <td><?php print $this->order->state?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['zip']['display']){?>
        <tr>
          <td><?php print _JSHOP_ZIP?>:</td>
          <td><?php print $this->order->zip?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['country']['display']){?>
        <tr>
          <td><?php print _JSHOP_COUNTRY?>:</td>
          <td><?php print $this->order->country?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['phone']['display']){?>
        <tr>
          <td><?php print _JSHOP_TELEFON?>:</td>
          <td><?php print $this->order->phone?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['mobil_phone']['display']){?>
        <tr>
          <td><?php print _JSHOP_MOBIL_PHONE?>:</td>
          <td><?php print $this->order->mobil_phone?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['fax']['display']){?>
        <tr>
          <td><?php print _JSHOP_FAX?>:</td>
          <td><?php print $this->order->fax?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['email']['display']){?>
        <tr>
          <td><?php print _JSHOP_EMAIL?>:</td>
          <td><?php print $this->order->email?></td>
        </tr>
        <?php } ?>
       
        <?php if ($this->config_fields['ext_field_1']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_1?>:</td>
          <td><?php print $this->order->ext_field_1?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['ext_field_2']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_2?>:</td>
          <td><?php print $this->order->ext_field_2?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['ext_field_3']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_3?>:</td>
          <td><?php print $this->order->ext_field_3?></td>
        </tr>
        <?php } ?>
       
      </table>
    </td>
    <td style="vertical-align:top;padding-top:10px;" width = "50%">
    <?php if ($this->count_filed_delivery >0) {?>
    <table cellspacing="0" cellpadding="0" style="line-height:100%;">
        <tr>
            <td colspan=2><b><?php print _JSHOP_EMAIL_SHIP_TO?></b></td>
        </tr>
        <?php if ($this->config_fields['d_title']['display']){?>
        <tr>
          <td width="100"><?php print _JSHOP_REG_TITLE?>:</td>
          <td><?php print $this->order->d_title?></td>
        </tr>
        <?php } ?>     
        <?php if ($this->config_fields['d_firma_name']['display']){?>
        <tr>
            <td width="100"><?php print _JSHOP_FIRMA_NAME?>:</td>
            <td ><?php print $this->order->d_firma_name?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_f_name']['display']){?>
        <tr>
            <td width="100"><?php print _JSHOP_FULL_NAME?> </td>
            <td><?php print $this->order->d_f_name?> <?php print $this->order->d_l_name?> <?php print $this->order->d_m_name?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['birthday']['display']){?>
        <tr>
          <td><?php print _JSHOP_BIRTHDAY?>:</td>
          <td><?php print $this->order->d_birthday;?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_home']['display']){?>
        <tr>
          <td><?php print _JSHOP_HOME?>:</td>
          <td><?php print $this->order->d_home?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_apartment']['display']){?>
        <tr>
          <td><?php print _JSHOP_APARTMENT?>:</td>
          <td><?php print $this->order->d_apartment?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_street']['display']){?>
        <tr>
            <td><?php print _JSHOP_STREET_NR?>:</td>
            <td><?php print $this->order->d_street?><br></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_city']['display']){?>
        <tr>
            <td><?php print _JSHOP_CITY?>:</td>
            <td><?php print $this->order->d_city?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_state']['display']){?>
        <tr>
            <td><?php print _JSHOP_STATE?>:</td>
            <td><?php print $this->order->d_state?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_zip']['display']){?>
        <tr>
            <td><?php print _JSHOP_ZIP ?>:</td>
            <td><?php print $this->order->d_zip ?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_country']['display']){?>
        <tr>
            <td><?php print _JSHOP_COUNTRY ?>:</td>
            <td><?php print $this->order->d_country ?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_phone']['display']){?>
        <tr>
            <td><?php print _JSHOP_TELEFON ?>:</td>
            <td><?php print $this->order->d_phone ?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_mobil_phone']['display']){?>
        <tr>
          <td><?php print _JSHOP_MOBIL_PHONE?>:</td>
          <td><?php print $this->order->d_mobil_phone?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_fax']['display']){?>
        <tr>
        <td><?php print _JSHOP_FAX ?>:</td>
        <td><?php print $this->order->d_fax ?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_email']['display']){?>
        <tr>
        <td><?php print _JSHOP_EMAIL ?>:</td>
        <td><?php print $this->order->d_email ?></td>
        </tr>
        <?php } ?>                           
        <?php if ($this->config_fields['d_ext_field_1']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_1?>:</td>
          <td><?php print $this->order->d_ext_field_1?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_ext_field_2']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_2?>:</td>
          <td><?php print $this->order->d_ext_field_2?></td>
        </tr>
        <?php } ?>
        <?php if ($this->config_fields['d_ext_field_3']['display']){?>
        <tr>
          <td><?php print _JSHOP_EXT_FIELD_3?>:</td>
          <td><?php print $this->order->d_ext_field_3?></td>
        </tr>
        <?php } ?>           
    </table>
    <?php }?>
    </td>
  </tr>
<?php }?>
  <tr>
    <td colspan = "2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan = "2" class="bg_gray">
      <h3><?php print _JSHOP_ORDER_ITEMS ?></h3>
    </td>
  </tr>
  <tr>
    <td colspan="2" style="padding:0px;padding-top:10px;">
       <table width="100%" cellspacing="0" cellpadding="0" class="table_items">
        <tr><td colspan="5" style="vertical-align:top;padding-bottom:5px;font-size:1px;"><div style="height:1px;border-top:1px solid #999;"></div></td></tr>
         <tr class = "bold">           
            <td width="45%" style="padding-left:10px;padding-bottom:5px;"><?php print _JSHOP_NAME_PRODUCT?></td>           
            <td width="15%" style="padding-bottom:5px;"><?php if ($this->config->show_product_code_in_order){?><?php print _JSHOP_EAN_PRODUCT?><?php } ?></td>
            <td width="10%" style="padding-bottom:5px;"><?php print _JSHOP_QUANTITY?></td>
            <td width="15%" style="padding-bottom:5px;"><?php print _JSHOP_SINGLEPRICE?></td>
            <td width="15%" style="padding-bottom:5px;"><?php print _JSHOP_PRICE_TOTAL?></td>
         </tr>


         <tr><td colspan="5" style="vertical-align:top;padding-bottom:10px;font-size:1px;"><div style="height:1px;border-top:1px solid #999;"></div></td></tr>
         <?php
         foreach($this->products as $key_id=>$prod){
             $files = unserialize($prod->files);
         ?>
                  <tr class="vertical">
           <td>
               
<?php $cart = JModelLegacy::getInstance('cart', 'jshop');
                $cart->load();
                $cart->addLinkToProducts(1);?>

                <img src="<?php print $this->config->image_product_live_path?>/<?php if ($prod->thumb_image) print $prod->thumb_image; else print $this->noimage;?>" align="left" style="margin-right:5px;">
                <?php print $prod->product_name;?>
                <?php if ($prod->manufacturer!=''){?>
                <div class="manufacturer"><?php print _JSHOP_MANUFACTURER?>: <span><?php print $prod->manufacturer?></span></div>
                <?php }?>
                <div class="jshop_cart_attribute">
                <?php print sprintAtributeInOrder($prod->product_attributes)?>
                <?php print sprintFreeAtributeInOrder($prod->product_freeattributes)?>
                <?php print sprintExtraFiledsInOrder($prod->extra_fields)?>
                </div>
                <?php print $prod->_ext_attribute_html;?>
                <?php if ($this->config->display_delivery_time_for_product_in_order_mail && $prod->delivery_time){?>
                <div class="deliverytime"><?php print _JSHOP_DELIVERY_TIME?>: <?php print $prod->delivery_time?></div>
                <?php }?>
           </td>


           <td><?php if ($this->config->show_product_code_in_order){?><?php print $prod->product_ean;?><?php } ?></td>
           <td><?php print formatqty($prod->product_quantity);?><?php print $prod->_qty_unit;?></td>
           <td>
                <?php print formatprice($prod->product_item_price, $order->currency_code)?>
                <?php print $prod->_ext_price_html?>
                <?php if ($this->config->show_tax_product_in_cart && $prod->product_tax>0){?>
                    <div class="taxinfo"><?php print productTaxInfo($prod->product_tax, $order->display_price);?></div>
                <?php }?>
                <?php if ($this->config->cart_basic_price_show && $prod->basicprice>0){?>
                    <div class="basic_price"><?php print _JSHOP_BASIC_PRICE?>: <span><?php print sprintBasicPrice($prod);?></span></div>
                <?php }?>
           </td>
           <td>
                <?php print formatprice($prod->product_item_price*$prod->product_quantity, $order->currency_code); ?>
                <?php print $prod->_ext_price_total_html?>
                <?php if ($this->config->show_tax_product_in_cart && $prod->product_tax>0){?>
                    <div class="taxinfo"><?php print productTaxInfo($prod->product_tax, $order->display_price);?></div>
                <?php }?>
            </td>
         </tr>
         <?php if (count($files)){?>
         <tr>
            <td colspan="5";>
            <?php foreach($files as $file){?>
                <div><?php print $file->file_descr?> <a href="<?php print JURI::root()?>index.php?option=com_jshopping&controller=product&task=getfile&oid=<?php print $this->order->order_id?>&id=<?php print $file->id?>&hash=<?php print $this->order->file_hash?>&rl=1"><?php print _JSHOP_DOWNLOAD?></a></div>
            <?php }?>   
            </td>
         </tr>
         <?php }?>
         <tr><td colspan="5" style="vertical-align:top;padding-bottom:10px;font-size:1px;"><div style="height:1px;border-top:1px solid #999;"></div></td></tr>
         <?php } ?>
         <?php if ($this->show_weight_order && $this->config->show_weight_order){?>
         <tr>
            <td colspan="5" style="text-align:right;font-size:11px;">           
                <?php print _JSHOP_WEIGHT_PRODUCTS?>: <span><?php print formatweight($this->order->weight);?></span>
            </td>
         </tr>   
         <?php }?>
      <?php if ($this->show_total_info){?>
         <tr>
           <td colspan="5">&nbsp;</td>
         </tr>
         <?php if (!$this->hide_subtotal){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print _JSHOP_SUBTOTAL ?>:</td>
           <td class="price"><?php print formatprice($this->order->order_subtotal, $order->currency_code); ?><?php print $this->_tmp_ext_subtotal?></td>
         </tr>
         <?php } ?>
         <?php if ($this->order->order_discount > 0){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print _JSHOP_RABATT_VALUE ?>: </td>
           <td class="price">-<?php print formatprice($this->order->order_discount, $order->currency_code); ?><?php print $this->_tmp_ext_discount?></td>
         </tr>
         <?php } ?>
         <?php if (!$this->config->without_shipping){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print _JSHOP_SHIPPING_PRICE ?>:</td>
           <td class="price"><?php print formatprice($this->order->order_shipping, $order->currency_code); ?><?php print $this->_tmp_ext_shipping?></td>
         </tr>
         <?php } ?>
         <?php if (!$this->config->without_shipping && ($order->order_package>0 || $this->config->display_null_package_price)){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print _JSHOP_PACKAGE_PRICE?>:</td>
           <td class="price"><?php print formatprice($this->order->order_package, $order->currency_code); ?><?php print $this->_tmp_ext_shipping_package?></td>
         </tr>
         <?php } ?>
         <?php if ($this->order->order_payment != 0){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print $this->order->payment_name;?>:</td>
           <td class="price"><?php print formatprice($this->order->order_payment, $order->currency_code); ?><?php print $this->_tmp_ext_payment?></td>
         </tr>
         <?php } ?>
         <?php if (!$this->config->hide_tax){ ?>                           
         <?php foreach($this->order->order_tax_list as $percent=>$value){?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><?php print displayTotalCartTaxName($order->display_price);?><?php if ($this->show_percent_tax) print " ".formattax($percent)."%";?>:</td>
             <td class="price"><?php print formatprice($value, $order->currency_code); ?><?php print $this->_tmp_ext_tax[$percent]?></td>
         </tr>
         <?php } ?>
         <?php } ?>
         <tr>
           <td colspan="4" align="right" style="padding-right:15px;"><b><?php print $this->text_total ?>:</b></td>
           <td class="price"><b><?php print formatprice($this->order->order_total, $order->currency_code)?><?php print $this->_tmp_ext_total?></b></td>
         </tr>
         <tr>
           <td colspan="5">&nbsp;</td>
         </tr>
         <?php if (!$this->client){?>
         <tr>
           <td colspan="5" class="bg_gray"><?php print _JSHOP_CUSTOMER_NOTE ?></td>
         </tr>
         <tr>
           <td colspan="5" style="padding-top:10px;"><?php print $this->order->order_add_info ?></td>
         </tr>
         <tr><td>&nbsp;</td></tr>
         <?php } ?>
      <?php }?>
       </table>
    </td>
  </tr>
<?php if ($this->show_payment_shipping_info){?>
  <?php if (!$this->config->without_payment || !$this->config->without_shipping){?> 
  <tr class = "bg_gray">
    <?php if (!$this->config->without_payment){?>
    <td>
        <h3><?php print _JSHOP_PAYMENT_INFORMATION ?></h3>
    </td>   
    <?php }?>
    <td <?php if ($this->config->without_payment){?> colspan="2" <?php }?>>
        <?php if (!$this->config->without_shipping){?>
        <h3><?php print _JSHOP_SHIPPING_INFORMATION ?></h3>
        <?php } ?>
    </td>   
  </tr>
  <tr><td style="height:5px;font-size:1px;">&nbsp;</td></tr>
  <tr>
    <?php if (!$this->config->without_payment){?>
    <td valign="top">   
        <div style="padding-bottom:4px;"><?php print $this->order->payment_name;?></div>
        <div style="font-size:11px;">
        <?php
            print nl2br($this->order->payment_information);
            print $this->order->payment_description;
        ?>
        </div>
    </td>
    <?php }?>
    <td valign="top" <?php if ($this->config->without_payment){?> colspan="2" <?php }?>>
        <?php
        if (!$this->config->without_shipping){
            print nl2br($this->order->shipping_information);
            if ($this->config->show_delivery_time_checkout && $this->order->order_delivery_time){
                print "<div>"._JSHOP_ORDER_DELIVERY_TIME.": ".$this->order->order_delivery_time."</div>";
            }           
            if ($this->config->show_delivery_date && $order->delivery_date_f){
                print "<div>"._JSHOP_DELIVERY_DATE.": ".$order->delivery_date_f."</div>";
            }
        }
        ?>
    </td> 
  </tr>
  <?php }?>
<?php }?>
  <?php if ($this->config->show_return_policy_in_email_order){?>
  <tr>
    <td colspan="2"><br/><br/><a class = "policy" target="_blank"
<a href = "<?php echo $this->liveurlhost . $cart->products[$key_id]['href']; ?>"><?php print $prod->product_name;?></a>

</td>
  </tr>

  <?php }?>
  <?php if ($this->client){?>
  <tr>
     <td colspan = "2" style="padding-bottom:10px;">
       <?php print $this->order_email_descr_end;?>
     </td>
  </tr>
  <?php }?>
</table>
<?php print $this->_tmp_ext_html_ordermail_end?>
<br>   
</body>
</html>


« Последнее редактирование: 29.11.2017, 11:32:10 от anny_k »
*

dmitry_stas

  • Легенда
  • 13151
  • 1234 / 8
значит видимо не то правили, не тот файл. смотрите переопределение в своем шаблоне Joomla
Тут дарят бакс просто за регистрацию! Успей получить!
Все советы на форуме раздаю бесплатно, то есть даром. Индивидуально бесплатно консультирую только по вопросам стоимости индивидуальных консультаций
*

anny_k

  • Осваиваюсь на форуме
  • 39
  • 2 / 0
И еще вопрос - при редактировании заказа в админпанели можно ли сделать ссылки на товар на сайт, а не в админке?
у меня сейчас ссылки выглядят так
Код
http://домен.ru/administrator/index.php?option=com_jshopping&controller=products&task=edit&product_id=1524

а хотелось бы просто на сайт
*

dmitry_stas

  • Легенда
  • 13151
  • 1234 / 8
по "и еще вопрос" создавайте новую тему. потому что этот ваш вопрос никак не касается этой "Как в JoomShopping редактировать письмо отправляемое автоматически?"
Тут дарят бакс просто за регистрацию! Успей получить!
Все советы на форуме раздаю бесплатно, то есть даром. Индивидуально бесплатно консультирую только по вопросам стоимости индивидуальных консультаций
*

anny_k

  • Осваиваюсь на форуме
  • 39
  • 2 / 0
значит видимо не то правили, не тот файл. смотрите переопределение в своем шаблоне Joomla

где находится файл переопределения шаблона?
*

nevigen

  • Moderator
  • 10452
  • 863 / 25
  • http://n*****n.com
где находится файл переопределения шаблона?
вы не знаете как переоределяется в шаблоне Жумла
в ФАКе есть список файлов.
и способы переопределения шаблона.
Профессиональные / Бесплатные решения для JoomShopping
Не лечи бесплатно, ибо тот, кто лечится бесплатно, рано или поздно перестает ценить свое здоровье,
а тот, кто лечит бесплатно, рано или поздно перестает ценить результаты своего труда/ (с) Гиппократ?
Не ищите ответов, ищите решение !
*

anny_k

  • Осваиваюсь на форуме
  • 39
  • 2 / 0
вы не знаете как переоределяется в шаблоне Жумла
в ФАКе есть список файлов.
и способы переопределения шаблона.

Я думаю это и не нужно мне. В файле шаблона orderemail все меняется, Ссылку сделала, но она ведет на главную страницу, а не на карточку товара.

В какое место в файле вставить этот код? может я не туда его прописываю

Код
<?php
$cart = JModelLegacy::getInstance('cart', 'jshop');
$cart->load();
$cart->addLinkToProducts(1);
?>
*

nevigen

  • Moderator
  • 10452
  • 863 / 25
  • http://n*****n.com
Я думаю это и не нужно мне.
а что вам нужно ?
какая ссылка ? НАЗВАНИЕ ТЕМЫ ВЫ ВИДИТЕ ?

Профессиональные / Бесплатные решения для JoomShopping
Не лечи бесплатно, ибо тот, кто лечится бесплатно, рано или поздно перестает ценить свое здоровье,
а тот, кто лечит бесплатно, рано или поздно перестает ценить результаты своего труда/ (с) Гиппократ?
Не ищите ответов, ищите решение !
*

staskmp

  • Захожу иногда
  • 50
  • 2 / 0
когда то dmitry_stas давал решение для списка заказов для вывода ссылки, там работает отлично

после

Код
foreach($this->products as $key_id=>$prod){ 

вставляем

Код
$product = JTable::getInstance('Product', 'jshop');
$product->load($prod->product_id);
$href = SEFLink('index.php?option=com_jshopping&controller=product&task=view&category_id='.$product->getCategory().'&product_id='.$product->product_id, 1);

и сама ссылка такого вида

Код
<a href = "<?php print $href ?>"><?php print $prod->product_name;?></a>

но на почте ссылки формируются не полные без адреса сайта all/foamiran-fom-eva-poristaya-rezina/foamiran-1mm-fom-eva-poristaya-rezina
поэтому я добавил в ссылку впереди адрес сайта
Код
<a href = "http://ВАШ_САЙТ/<?php print $href ?>"><?php print $prod->product_name;?></a>
вроде работает, задача решилась!
« Последнее редактирование: 14.02.2018, 12:38:12 от staskmp »
*

ecolora

  • Завсегдатай
  • 1535
  • 171 / 2
  • творец
А почему в шаблоне письма код работает без JText::_(?
То есть, когда вызывается переменная, пишется просто:
Код
<?php echo _JSHOP_EMAIL_PURCHASE_ORDER?>
Хотя надо бы по логике вещей:
Код
<?php echo JText::_('JSHOP_EMAIL_PURCHASE_ORDER')?>
Я рифме друг словесной. Тут
Свой упражняю словоблуд:
Блог Ecolora
*

ecolora

  • Завсегдатай
  • 1535
  • 171 / 2
  • творец
« Последнее редактирование: 12.09.2022, 11:06:54 от ecolora »
Я рифме друг словесной. Тут
Свой упражняю словоблуд:
Блог Ecolora
*

ecolora

  • Завсегдатай
  • 1535
  • 171 / 2
  • творец
Я рифме друг словесной. Тут
Свой упражняю словоблуд:
Блог Ecolora
*

kit2m2

  • Живу я здесь
  • 3374
  • 276 / 0
  • Беру сайты на полное сопровождение
А почему в шаблоне письма код работает без JText::_(?
Потому что для JoomShopping 4.18+
Расширения для JoomShopping | Ссылка на Телеграм-канал | Сайты и магазины под ключ: Дизайн, Верстка, Программирование (расширения на заказ), СЕО-оптимизация, Сопровождение, Перенос на Joomla 4+ (5+) и JoomShopping 5+
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

WT Max bot - JoomShopping

Автор sergeytolkachyov

Ответов: 0
Просмотров: 93
Последний ответ 22.07.2026, 09:43:03
от sergeytolkachyov
Плагин обновления цен и остатков товаров JoomShopping из CSV

Автор sergeytolkachyov

Ответов: 3
Просмотров: 6532
Последний ответ 01.07.2026, 14:45:12
от sergeytolkachyov
WT JoomShopping Export YML

Автор sergeytolkachyov

Ответов: 0
Просмотров: 633
Последний ответ 01.07.2026, 14:40:29
от sergeytolkachyov
WT JoomShopping Finder плагин умного поиска (товары, атрибуты, характеристики)

Автор sergeytolkachyov

Ответов: 0
Просмотров: 2903
Последний ответ 09.06.2026, 17:17:38
от sergeytolkachyov
[JoomShopping 5] вывод товаров из дочерних категорий

Автор v42bis

Ответов: 16
Просмотров: 7148
Последний ответ 13.05.2026, 17:26:17
от sergeytolkachyov