This file contains hidden or 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 | |
// state name | |
add_filter('tscf_filter_codetemplate', function ($list, $order_id) { | |
$order = wc_get_order($order_id); | |
$billing_state_code = $order->get_billing_state(); | |
$billing_country = $order->get_billing_country(); |
This file contains hidden or 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
const preload = () => { | |
let manager = new THREE.LoadingManager(); | |
manager.onLoad = function() { | |
const environment = new Environment( typo, particle ); | |
} | |
var typo = null; | |
const loader = new THREE.FontLoader( manager ); |
This file contains hidden or 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
INSERT INTO `oc_setting` (`code`, `key`, `serialized`, `value`, `store_id`) VALUES | |
('config', 'config_logo_multi', 1, '{\"2\":\"catalog\\/logo.png\",\"3\":\"catalog\\/logo.png\"}', 0), | |
('config', 'config_comment_multi', 1, '{\"2\":\"\",\"3\":\"\"}', 0), | |
('config', 'config_image_multi', 1, '{\"2\":\"\",\"3\":\"\"}', 0), | |
('config', 'config_open_multi', 1, '{\"2\":\"\\u041f\\u043d \\u041f\\u0442 <br>09:00 - 18:00\",\"3\":\"\\u041f\\u043d \\u041f\\u0442 <br>09:00 - 18:00\"}', 0), | |
('config', 'config_address_multi', 1, '{\"2\":\"\\u0432\\u0443\\u043b. \\u041d\\u0430\\u0443\\u043a\\u043e\\u0432\\u0430, 30 <br>\\r\\n\\u0432\\u0443\\u043b. \\u0413\\u043e\\u0440\\u043e\\u0434\\u043e\\u0446\\u044c\\u043a\\u0430, 175 <br>\\r\\n\\u043f\\u0440. \\u0427\\u0435\\u0440\\u0432\\u043e\\u043d\\u043e\\u0457 \\u041a\\u0430\\u043b\\u0438\\u043d\\u0438, 42\\u0430\",\"3\":\"\\u0443\\u043b. \\u041d\\u0430\\u0443\\u0447\\u043d\\u0430\\u044f, 30 <br>\\r\\n\\u0443\\u043b. \\u0413\\u043e\\u0440\\u043e\\u0434 |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>01-Coder_redirect_disabled_lang</name> | |
<code>Coder_redirect_disabled_lang</code> | |
<version>0.1</version> | |
<author>Pechenki</author> | |
<link>coder.org.ua</link> | |
This file contains hidden or 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
194.180.49.41 |
This file contains hidden or 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 | |
function get_epo_options_for_product_in_order($order_id, $product_id = null) { | |
$order = wc_get_order($order_id); | |
if (!$order) return false; | |
$epo_options = array(); | |
foreach ($order->get_items() as $item_id => $item) { | |
$item_product_id = $item->get_product_id(); |
This file contains hidden or 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
:local CurDate [/system clock get date] | |
:local CurTime [/system clock get time] | |
#Log | |
:log info "Download speed is more than 50M" | |
#SendTelegram | |
/tool fetch url="https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<Chat_ID>&text=YourMessage" |
This file contains hidden or 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
[notifier telegram] | |
url: tgram://token/chat_id | |
events: complete, error, cancelled | |
title: ⚠️3D принтер. | |
body: Статус принтера змінився на {event_name}. Файл: '{event_args[1].filename}'. | |
attach: http://127.0.0.1:8080/?action=snapshot |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>coder_customer_auth_token</name> | |
<code>coder_customer_auth_token</code> | |
<version>1.0</version> | |
<author>Coder</author> | |
<link>https://www.opencart.com</link> | |
<file path="system/library/cart/customer.php"> | |
<operation> |
NewerOlder