This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#%$ set -e # Прерывание работы скрипта в случае ошибки | |
REPOSITORY=https://github.com/<username>/<project> | |
BRANCH=master | |
WORK_PATH=/path/to/this/script | |
PROJECT_PATH=/path/to/project/base/path | |
TEMP_DIR_NAME=`date +%Y-%m-%d_%H:%M:%S` | |
PHP_BIN=/opt/php74/bin/php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Database\Seeders; | |
use EvolutionCMS\Models\{SiteTemplate, SiteTmplvarTemplate, SiteTmplvar}; | |
use Illuminate\Database\Seeder; | |
class CreateTVSeeder extends Seeder | |
{ | |
protected function getTemplateAliasesToAssign() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Просмотр товара: | |
// Добавить в шаблон "product.liquid" код | |
<script> | |
$(window).load(function() { | |
var prices = [<Список идентификаторов прайс-листов>]; | |
for (var i = 0; i < prices.length; i++) { | |
VK.Retargeting.ProductEvent(prices[i], 'view_product', { | |
products: [ |
OlderNewer