Generator: | SimpleRSS ver 0.4 (BlueHippo) Release 1 |
Docs: | http://blogs.law.harvard.edu/tech/rss |
���� ������,���������� ���������� ����/����� �� ���������� ��������� �������.
� ��� ���� ������ ��������� - � ������� (� ������) ���� ��������� ����������
� ������ - � ����������������
� ��� ��� ��� ��������� �����������? �������
������ ����!
��� ��������� ����� � ������ ���������� (Ocstore 3.0.3.7)� ������/seo url/ , ������� url ������� �������� � "�������" ( http://site.com/ )� �� "home" ( http://site.com/home ).�
������ ��������"home" �� ����������, ���� ��� ���� �����, ������ ���� ����������� ���������. ���������� ��� ������� �������?
��� ������ ������������ ������ �������.
1. � ��� ����� ��������� ������� � ����� "����������", ������� ���������� �������. ��������:
"���������� �������"
"����� �������� �� ������: "
"��� ����� �� ����� ���������, ���� �� �� ������� ������."
���� ��� ����� ������ ����������� ������ Quick Checkout, �� �������������� (� ���� �������� ������) bank_transfer.twig � cheque.twig ������ �� ���.
��� ����� ������� ��� ������, ����� ������ ����������� ���� ����������� �������?
�
2. �����, ��� �������� ������ ��� ������ "������ ������" �� �������� ����������� �� �������, ��� � ��� ���� "����������". ��� ������� ���, ����� �� ���������?
������� ������� �����, ������� ��������� � ������� ����!
� ���� �������� � ������������ �������� �� ����� ocstore 3.
��������� ���� �� ���� �����, ����� ������� ��� ���� �����. � �������� �������� � ����������� �������� ������ � �����, � ������ ������ ��� ������������ ��� ���� � ������ � ���������, � ��� � ����� ����� �� ��� ��������.
��� ���� ��� ����� ��������, ����� ��� ������.!
����� ��������� base64, ������ ��� ������� � ������ �� ����!�
��� ����������� �������� ����)!
��� ������� ����� ������: <imgsrc="data:image gif;base64,r0lgodlhaqabaiaaap="" waaach5baeaaaaalaaaaaabaaeaaaicraeaow="="" alt="��� �� ����� ���� �������� ����������� Kubernetes" style="display: inline; background-image: url("https://moy-domen.ru/image/cache/catalog/demo-technics/blog/3-1200x437.jpg");"></imgsrc="data:image>
�
�������!
������ ��� ��� ��� ������ ����� ���� ������� ������ �� ��������� ����� (��� ��������� ����)
�� �������� � ��� ��� � ������� ���� ��������� ���� ���� �� ����������� ���-�� ��� ������ (� �������������� ���-�� ������������ ����������� ��� ������)
��� ������ �������� � ������������ ���-�� ��� ������ ����� ��� �� ��������� ������ ���� ����� � ���? � ���-�� ������������ 1��?
���� ������. �� �������� ������ "������" ����� ������ ��� � �������. Opencart 3, ���� safira. � ������ ����� ���-�� 0, �������� �� ������, ���������� �� ������ - ��� � �������. ������ ������ ��������, � ������ ������ �� ���������. ��� ��� ����� ���������?
��� ������ - https://etonovo.ru/shop/gotovaya-produkciya/pirog-mindalnyi-s-klyukvoi
������ �����, �UltraStore OCTemplates ��� ������ ���� � ��� �� ����������� �������� ���� ������������� ��� ������� ���������� ����������.
���� ������! ��� �������index.php?route=common/home � OpenCart 3.0.3.8?
������������ �����������, ��� �� �������� � ����� ��� �� �����, ��� ��� �� ���������� ������� ��������� ����� ���������.�
������ ����, ��� ��� �� ������� ����� SEO �����, ����� ������� ���, ����� � ���� ������?
�������! ��� ����
���� ������ ����!� ������
�� ������ ������ ��������� ������ ����� �����,������ ����������� �� ��������� ��������� � ������,��� ������ ������������ ��������� ����� ������,�� ��� ������ ����� � ������ ����� ����� � �����,�� ���� ����� � ����� 1067 (� ����� 5033),�� ��� �������� � � ����������� ������� �������� ����� ����� 5033 �( ����� ������� � �����)� ����������� ��� ����� ���������??
��������� OpenCart'�� ������ 3.0.3.8. ��� ������ ����������, �� ������ �� ����������(�.�.�index.php?route=common/home �� ��������� �� ���). � ���� �� � �������� �� �������� ����������� �� ���. ���������� ������� � �����, �� � �������� ������ �� ����� ��� �� ����������� ������, ��� ������:
checkout/cart� - > shopping cart�
�������� � �������, �� � ���index.php?route=checkout/cart.
�� ������� � ��� ��������. SEO PRO �������, ��� ��� ������ ��� ������ �����, � htaccess ����� ���������� txt, ����������� ������� � �� �����.
������������. ����������, ����������� ��� ����� ���-�� ���������, ����� �� �������� ������ � ��� ���������堠<price/> <vendorCode/>? ��� ������..
���� �������
�� �������� �������� ������ (catalog\view\theme\unishop2\template\product\product.twig)
�� ����� ���� ��������price_value
� ��� ������� ��� ���:
{% if price %}
<div class="product-page__price price" data-price="{{ price_value }}" data-special="{{ special_value }}" data-discount="{{ discounts_value }}">
�������� � ��� ��� ��� �������� ������������ ���-�� ������ ��� ������ ��� ������� ���� �� ��� ����������� ����������
� ��� ����� ��� �� ��� ������ �������� ���� �� 1��
��� ��� ��������?�
��� �� ������ ������ ������ �� ���� (�� �������� ������ ��� �� ��� ��������� ������� ���� ������������)
� ������� ��� ������� + ��� - �� �� ������ �������������
����� ��� �� ��� �������� �������� ������������ ���� �� 1�� � ���.
�
�
������������.
���� ��������� ������� ����������� ��� ����������� ��������, ����� ���� ���-�� ��������� CLS
� ����������� banner.php ����
foreach ($results as $result) { if (is_file(DIR_IMAGE . $result['image'])) { $data['banners'][] = array( 'title' => $result['title'], 'link' => $result['link'], 'image' => $this->model_tool_image->resize($result['image'], $setting['width'], $setting['height']) ); } }
�
���� � �������
'banner-width' => $setting['width'], 'banner-height' => $setting['height']
� �������������� ����� � twig
<img src="{{ banner['image'] }}" alt="{{ banner['title'] }}" height={{ banner['banner-height'] }} width={{ banner['banner-width'] }} class="img-responsive" />
��� ����� ���������?
�
�������
������ ����,
����������, �������� ���� � �������� � ����, � ���������� �� �����, ������� ���������, �� ��. �� � ������ ������ ����� ��������� ������������� ������� ���������. ��������������, ��� ��������� ���� � ������ ��������������� � ������ ������. ����� �� ������� ������������ ���� � ������ �������? �������
������������,
������ �� ����������� �������� �������� �����. ������ ������ �������� ������� � � ����������� ������ �� � ���� ���������� ��������� "������ ����� �������".�
��������� ��������� � ��������� ����� ������� ����� ������ ������� ��������� 3 �������. ������ �������� ������� ���������� ������ � ������. ��������� ����� ������� � ��� ������������� ��������� � �������-�����������. ���� ����� ������ ���������������, ��������� � �������� �������� ������������� ����� ���������� ������� ����� ���������� �������.
�
�������� ������:
���������� �������: ~ 50000
���������� �������: ~ 600000
�������:�sprinthost + ���������cloudflare, �� �� �������.
����:�goodlots.ru
�
����� �� �� ������� �������� ������� ������� ������ ����� � ������� ����������� ������� ��� �������� ����� ������VPS ������?
������, ���� ������� ���������� ����������.
������ �� ����� �������� ������� ��� �� ��������, ������� ��������� ������� � �������� ������ ���������� ��� ����� ��������� ���������� � ������������ ������ ������ �� ���-�� ��������.
����� ���-�� �������� �������� ������?
������ ! ����� �� ���� ������ ��� ����......������ ������ �������� � 3 ���. ������� ��������. ����� ������ ����� ������ ���
�
������ ����,
���������� ��� ������� ����������� ���������-�� �������� 0.8 ������ ��� 1.5?�
�� ��������� �������� ���� Lazio 1, ��� ���� Lazio 8, � �������. ��� ��� �������? ��, ��� ������ ��� ��� ��������� ������ �������, �� ��� �� ��, ��� �� ����������� ���.
������ ����. ������� � ������� SQL ������� ������ ���������, � ������� ��� ������� � ������� "�������".
�
��� ����� ����������� ������-�� �� ��������:
UPDATE oc_category SET status=0 WHERE category_id in (SELECT distinct category_id FROM oc_product_to_category pc, oc_product p WHERE pc.product_id=p.product_id AND p.status=0)
�
������ ��������� ������ ��� ��������� � ������ 0, ���� ��, � ������� ���� �������� ������.
����� ������ � ��������.
������ ����
������ �������. �������� �����, ��������� �� ����� �� ������, �� ������ ��� ���.
�� ������ �������, ��� �������� ������� �� �������. ��������� ������� �������� � ��� ����������, �� ���� ����������, �� (�������� � ���������� ������ ��������) ������� �������� �� ��� ������ ��������, � �������� �������� �������� ��������, � ������������� �� ������ ����.
���� � ���������� �������� �������� ������ �������� ������, ��� ��� ����, �� ��� ����������� � ���������� ���� �������� ����, ��� ��� ������ �� ������ ��������, �� �� ����� ��������� ������� ����� ����
��� ��������� ������ ������ ������ ��������, ����� ��������� ��� ��� ������ ��������? ������ �������� (����� �������) ��������� �� ��������
����� ����� �������� �������� � ���� ������ � 503 , ������� ������ �������� �� ��������.
���� ���������� ,��� �� �� ����� ����������� ���� ��� ������� ������ ���������.
����� ������������������ � ��������� ��� ��������.
����� ����� ������ ��� ������� ����� � ��� ���� �� ������ ������ - ��� ����� �� ����������� = ���������� ��� �� ������ ?
���� ��������� �����-����� �� ocstore 3.���� ������ �����:
// ����
$language = config_get('config_language');
$SQL = "SELECT
language_id
FROM
{$dbprefix}language
WHERE
code = ?
";
$result = $DB->select($SQL, $language);
if ($result){
$language_id = $result[0]['language_id'];
}else{
die ("�� ������� ���������� ��� ����� ��� '$language'");
}
�� ���������� � ����� ���������� ���������� ��� �����.�
��� �������� �����-�� ���� ���� (��� ��� ���)? �������.�