View functions.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 | |
/* | |
* {utm_source} | |
* {utm_medium} | |
* {utm_campaign} | |
*/ | |
add_filter('tscf_filter_codetemplate', function ($list, $order_id) { |
View Ukraine-map.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View functions.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 | |
/* Telsender link product */ | |
function meta_wc_function_link($list, $order_id) | |
{ | |
$order = wc_get_order($order_id); | |
$items = $order->get_items(); | |
$curents = get_woocommerce_currency_symbol(); |
View autoDescription.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 | |
function autoDescription() { | |
global $post; | |
if (!is_singular()) {return; } | |
elseif(!empty( $post->post_excerpt)) { | |
echo "<meta name='description' content='$post->post_excerpt' />"; | |
} | |
else{ | |
$meta = apply_filters('the_content', $post->post_content); |
View cart-shipping.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 if ( 1 === count( $available_methods ) ) : | |
$method = current( $available_methods ); | |
echo wp_kses_post( wc_cart_totals_shipping_method_label( $method ) ); | |
?> | |
<input type="hidden" name="shipping_method[<?php echo esc_attr( $index ); ?>]" | |
data-index="<?php echo esc_attr( $index ); ?>" | |
id="shipping_method_<?php echo esc_attr( $index ); ?>" | |
value="<?php echo esc_attr( $method->id ); ?>" class="shipping_method"/> |
View opencart.js
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
/** | |
* | |
* copyright [year] [your Business Name and/or Your Name]. | |
* email: your@email.com | |
* license: Your chosen license, or link to a license file. | |
* | |
*/ | |
(function (factory) { | |
/* Global define */ | |
if (typeof define === 'function' && define.amd) { |
View Telegram_send.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 | |
$token = "xxxxxxxxxxxxxxxxxxxx"; | |
$chat_id = "0000000"; | |
$values = $hook->getValues(); | |
#Получаем название формы | |
$formName = $modx->getOption('formName', $formit->config, 'form-'.$modx->resource->get('id')); | |
#Получаем ip адрес отправителя |
View functions.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 | |
function attributes(){ | |
global $product; | |
$attributes = $product->get_attributes(); | |
if ( ! $attributes ) { | |
return; |
View functions.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 | |
/* Telsender image product */ | |
function meta_wc_function_image($list, $order_id) | |
{ | |
$order = wc_get_order($order_id); | |
$items = $order->get_items(); | |
$curents = get_woocommerce_currency_symbol(); |
View 1.txt
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
{products} - название продукта - количество - цена | |
{products_v2} - название продукта - количество - цена - артикул | |
{products_v3} - название продукта - количество - цена - артикул - опции | |
{order_n} - номер заказа | |
{total} - Общая сумма | |
{billing-first_name} - Имя | |
{billing-last_name} - Фамилия | |
{billing-address_1} - Адрес |
NewerOlder