Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter leks29

    (@leks29)

    i will until you reply, but i have to set it like that until i get it fixed

    Thread Starter leks29

    (@leks29)

    how can i send you user name and password?

    Thread Starter leks29

    (@leks29)

    ok i have the post per page setting set at 10 post per page, but it doesn’t work, you chan chet it out at http://www.jtmedios.com.mx/producto-categoria/pantallas-gran-formato/outdoor/

    let me know if you need anything more to check it out, it just doenst work

    Thread Starter leks29

    (@leks29)

    the thing is that i need a page for each of my product sub-categories, and in each page a certain number of products, lets say 24 products, and in case that the amount of products in given category is higher than that number to create a second page automatically, and a third one or forth one and so on in case needed…

    and if i do as you say the shop page displays a picture of the category and then that links takes me to the sub categories page, which shows a picture or pictures of the sub-category which links to the products but still it doesn’t show just the ten (10) products or posts it should, it displays all of the category products in a very long and memory consuming page…

    i want to limit the products displayed also, but i don’t want lo limit the post per page since my blog is going to be affected also… is there another way?

    is this feature available in the premium version? i mean i would like to not only display certain “custom attributes” for the products, but i would also like to remove the pricing and quantity fields…

    Thread Starter leks29

    (@leks29)

    had enormous help and finally got it working thanks

    Thread Starter leks29

    (@leks29)

    thanks so much for the help, i’ll try have someone else have it built for me, and if everything else fails i would change from woocommerce to another pluggin.

    Thread Starter leks29

    (@leks29)

    thanks so much for the help, i’ll try have someone else have it built for me, and if everything else fails i would change from woocommerce to another pluggin.

    Thread Starter leks29

    (@leks29)

    i meant that for some products simply doesnt show anything, i want it to show the full list of attributes to logged in users, or else show only a few specific attributes

    Thread Starter leks29

    (@leks29)

    in some products simply doesnt anything in the description… please help!

    Thread Starter leks29

    (@leks29)

    ive tried this code:

    <?php
    /**
     * Single product short description
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/single-product/short-description.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     1.6.4
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    
    global $post;
    
    if ( ! $post->post_excerpt ) {
    	return;
    }
    
    ?>
    <div itemprop="description">
    
    <?php
    if (is_user_logged_in()) {
        $product->list_attributes();
    } else {
    
    $estado_values = get_the_terms( $product->id, 'pa_estado');
    
    foreach ( $estado_values as $estado_value ) {
    	  echo $estado_value->name;
    }
    
    $municipio_values = get_the_terms( $product->id, 'pa_municipio');
    
    foreach ( $municipio_values as $municipio_value ) {
    	  echo $municipio_value->name;
    }
    
    $afluencia_apriximda_values = get_the_terms( $product->id, 'pa_afluencia_apriximda');
    
    foreach ( $afluencia_apriximda_values as $afluencia_apriximda_value ) {
    	  echo $afluencia_apriximda_value->name;
    }
    
    $afluencia_aproximada_values = get_the_terms( $product->id, 'pa_afluencia_aproximada');
    
    foreach ( $afluencia_aproximada_values as $afluencia_aproximada_value ) {
    	  echo $afluencia_aproximada_value->name;
    }
    
    $tipo_de_estructura_values = get_the_terms( $product->id, 'pa_tipo_de_estructura');
    
    foreach ( $tipo_de_estructura_values as $tipo_de_estructura_value ) {
    	  echo $tipo_de_estructura_value->name;
    }
    
    $medida_pantalla_values = get_the_terms( $product->id, 'pa_medida_pantalla');
    
    foreach ( $medida_pantalla_values as $medida_pantalla_value ) {
    	  echo $medida_pantalla_value->name;
    }
    
    $resolucion_values = get_the_terms( $product->id, 'pa_resolucion');
    
    foreach ( $resolucion_values as $resolucion_value ) {
    	  echo $resolucion_value->name;
    }
    
    $pitch_values = get_the_terms( $product->id, 'pa_pitch');
    
    foreach ( $pitch_values as $pitch_value ) {
    	  echo $pitch_value->name;
    }
    
    $vista_values = get_the_terms( $product->id, 'pa_vista');
    
    foreach ( $vista_values as $vista_value ) {
    	  echo $vista_value->name;
    }
    
    }
    ?>
    
    	<?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ) ?>
    
    </div><code></code>

    but i get no error simply a login screen… whats wrong…

    Thread Starter leks29

    (@leks29)

    i’m not that great with php, or programming for that matter, but i would love some more help, is there a way to make that work in the short description?

    Thread Starter leks29

    (@leks29)

    I’ve checked those links, i’ve already created the template files and folders whitin my theme, i’ve also looked for a plugin of some sort to display specific product attributes in short description but they show all of the products attributes selected, which is fine for the additional information tab, but i just need a couple of them in the short description…

    i’ve read this link https://wordpress.org/support/topic/display-custom-attributes-on-description-tab-of-single-product-page?replies=11 but i really cant make it work…

    any extra information would be really apreciated

    Thread Starter leks29

    (@leks29)

    I’ll check ’em out and give you some details later on today

Viewing 15 replies - 1 through 15 (of 17 total)