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(); |
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; |
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 адрес отправителя |
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) { |
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"/> |
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); |
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(); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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) { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<modification> | |
<id>Pechenki_hide_order_info_2Line</id> | |
<name>Pechenki_hide_order_info_2Line</name> | |
<code>Pechenki_hide_order_info_2Line</code> | |
<version>0.1</version> | |
<author>Pechenki</author> | |
<link>https://pechenki.top</link> | |
<file path="catalog/controller/account/order.php"> | |
<operation> |
OlderNewer