Add the following wrapper in Product Wrapper field
Botiga Theme Quick View
.botiga-quick-view-popup-content-ajax
YITH Quick View Plugin
.yith-wcqv-wrapper
Add the following wrapper in Product Wrapper field
Botiga Theme Quick View
.botiga-quick-view-popup-content-ajax
YITH Quick View Plugin
.yith-wcqv-wrapper
Display an additional column to display variation name and make it clickable for popup variation image
*Steps:
add_filter('pvtfw_default_columns', function($default){
<?php | |
require_once( plugin_dir_path( __DIR__ ) . 'product-variant-table-for-woocommerce.php'); | |
class PVTFW_COMMON{ | |
/** | |
* | |
* On install selected columns | |
* |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost [NC] | |
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost.*$ [NC] | |
RewriteRule \.(zip|php)$ - [F] |
add_filter( 'woo_variation_gallery_thumbnail_slider_js_options', 'wvg_gallery_thumbnail_slider_serialize_js', 10, 1 ); | |
function wvg_gallery_thumbnail_slider_serialize_js( $thumbnail_slider_js_options ){ | |
$thumbnail_slider_js_options['centerMode'] = false; | |
return $thumbnail_slider_js_options; | |
} |
ed.addButton('button_green', { | |
title: 'Add span', | |
image: '../wp-includes/images/smilies/icon_mrgreen.gif', | |
cmd: 'button_green_cmd' | |
}); | |
ed.addCommand('button_green_cmd', function () { | |
var data = { | |
title: 'Default Title', | |
limit: 10 | |
} |
ul.products li.product-awq_onimage .add-links { | |
right: 0 !important; | |
} |
<?php | |
echo apply_filters( | |
'woocommerce_loop_add_to_cart_link', // WPCS: XSS ok. | |
sprintf( | |
'<a rel="nofollow" href="%s" data-quantity="%s" data-product_id="%s" data-product_sku="%s" class="%s" %s>%s</a>', | |
esc_url( $product->add_to_cart_url() ), | |
esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ), | |
esc_attr( $product->get_id() ), | |
esc_attr( $product->get_sku() ), | |
esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ), |
<?php | |
function wvs_noo_mebla_theme_support() { | |
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 ); | |
add_action( 'woocommerce_after_shop_loop_item_title2', 'wvs_pro_archive_variation_template', 10 ); | |
add_action( 'woocommerce_after_shop_loop_item_title', 'wvs_pro_archive_variation_template', 10 ); | |
add_action( 'woocommerce_after_shop_loop_item_title2', 'woocommerce_template_loop_add_to_cart', 11 ); | |
// remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10); | |
} |
<!-- Carousel --> | |
<div id="carouselHero" class="carousel slide carousel-fade" data-ride="carousel" data-pause="false"> | |
<?php if( have_rows('carousel') ): $id = 0 ?> | |
<div class="carousel-inner"> | |
<?php while( have_rows('carousel') ): the_row(); $id++ ?> | |
<div class="carousel-item <?php if($id == 1): echo "active"; endif; ?>"> | |
<div class="content-wrap"> | |
<?php | |
$logo = get_sub_field('logo'); | |
$title = get_sub_field('title'); |