Home Forums Air WordPress Theme YITH woocommerce recently viewed product SLIDER

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21301
    minarchitect
    Participant
    Purchased
    Expired

    Hi, i have installed YITH woocommerce recently viewed slider when activating on Basic theme it will show the slider like this : https://drive.google.com/open?id=13-eLsB2Menl3bC4FypIy_DwA685jNxbu

    Air theme https://drive.google.com/open?id=1LpSA0x8Avlwo0T9B6iUlyRv_or0f63dU

    Could you please suggest me, how to show the slider like the first picture.

    #21309
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi,

    Please go to Appearance>Theme Editor, replace Air theme/woocommerce/loop/loop-start.php by the codes:

    <?php
    /**
     * Product Loop Start
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/loop/loop-start.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you
     * (the theme developer) will need to copy the new files to your theme to
     * maintain compatibility. We try to do this as little as possible, but it does
     * happen. When this occurs the version of the template file will be bumped and
     * the readme will list any important changes.
     *
     * @see         https://docs.woocommerce.com/document/template-structure/
     * @package     WooCommerce/Templates
     * @version     3.3.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    ?>
    <div class="products main-list columns-<?php echo esc_attr( wc_get_loop_prop( 'columns' ) ); ?>">
    

    Replace Air theme/woocommerce/loop/loop-end.php by the codes:

    <?php
    /**
     * Product Loop End
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/loop/loop-end.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer).
     * will need to copy the new files to your theme to maintain compatibility. We try to do this.
     * as little as possible, but it does happen. When this occurs the version of the template file will.
     * be bumped and the readme will list any important changes.
     *
     * @see 	    http://docs.woothemes.com/document/template-structure/
     * @author 		WooThemes
     * @package 	WooCommerce/Templates
     * @version     2.0.0
     */
    ?> 
    </div>

    Regards!

    SeaTheme – SeaTheme.netTwitterFacebook

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.