This topic has 9 replies, 2 voices, and was last updated 8 years by cali82.

  • Author
  • #91982
     cali82
    Participant

    Hello=)

    I would like to only use essential grid for my products. When I go to the main product page that woo commerce provides me with it shows essential grid on the top and the theme integration of the products on the bottom. I would like to disable the products showing on the bottom some how? Please assist.

    Is it possible to integrate essential grid with your next theme update? =D

    Thanks!

    #91983
     cali82
    Participant
    This reply has been set as private.
    #92109
     Radu
    Moderator

    Hi,

    Can you please provide FTP to give a look ?

    Regarding to this “Is it possible to integrate essential grid with your next theme update? =D”

    Please post in https://archived.seventhqueen.com/forums/forum/sweetdate-wordpress/feature-requests

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92171
     cali82
    Participant
    This reply has been set as private.
    #92386
     Radu
    Moderator

    Hi,

    Please provide admin credentials

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92488
     cali82
    Participant
    This reply has been set as private.
    #92626
     Radu
    Moderator

    Hi,

    Done

    I’ve added in child theme content-product.php to wp-content/themes/sweetdate-child/woocommerce/content-product.php

    the content of the content-product.php is

    COPY CODE
    
    <?php
    /**
     * The template for displaying product content within loops.
     *
     * Override this template by copying it to yourtheme/woocommerce/content-product.php
     *
     * @author 		WooThemes
     * @package 	WooCommerce/Templates
     * @version 2.4.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    
    global $product, $woocommerce_loop;
    
    // Store loop count we're currently on
    if ( empty( $woocommerce_loop['loop'] ) ) {
    	$woocommerce_loop['loop'] = 0;
    }
    
    // Store column count for displaying the grid
    if ( empty( $woocommerce_loop['columns'] ) ) {
    	$woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 );
    }
    
    // Ensure visibility
    if ( ! $product || ! $product->is_visible() ) {
    	return;
    }
    
    // Increase loop count
    
    
    $woocommerce_loop['loop']++;
    
    // Extra post classes
    $classes = array();
    if ( 0 == ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 == $woocommerce_loop['columns'] ) {
    	$classes[] = 'first';
    }
    if ( 0 == $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) {
    	$classes[] = 'last';
    }
    ?>
    
    
    

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92641
     cali82
    Participant

    Hello=)

    You guys are amazing! Thanks you very much!

    I don’t mean to be a nuisance, but the only thing that remains is the pagination on the bottom. I am not sure how to remove that?

    Please assist.

    Thanks in advance!

    Attachments:
    You must be logged in to view attached files.
    #92658
     Radu
    Moderator

    Done,

    I;ve hided that via css, you need to purge cache from cdn’s

    Cheers

    RAdu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92691
     cali82
    Participant

    Thank you=)

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?