PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
themes
/
legenda
/
woocommerce
/
cart
<?php /** * Cross-sells * * @author WooThemes * @package WooCommerce/Templates * @version 3.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $woocommerce_loop, $woocommerce, $product; $crosssells = WC()->cart->get_cross_sells(); if ( sizeof( $crosssells ) == 0 ) return; $meta_query = WC()->query->get_meta_query(); $args = array( 'post_type' => 'product', 'ignore_sticky_posts' => 1, 'posts_per_page' => apply_filters( 'woocommerce_cross_sells_total', 30 ), 'no_found_rows' => 1, 'orderby' => 'rand', 'post__in' => $crosssells, 'meta_query' => $meta_query ); $slider_args = array( 'title' => esc_html__('You may be interested in…', 'legenda') ); etheme_create_slider( $args, $slider_args ); wp_reset_postdata(); wp_reset_query();
[+]
..
[-] cart-empty.php
[edit]
[-] mini-cart.php
[edit]
[-] cart.php
[edit]
[-] cross-sells.php
[edit]
[-] cart-shipping.php
[edit]