Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28916

    Is there away to remove the Price line (area between Product and Read More)on product slider to tighten things up? Im using Woo Commerce with Enfold but i am not using pricing at the moment.

    Example:

    http://carsonhardscapes.com/productsmaterials/natural-stone-products/boulders/

    #139134

    Hi,

    Looks like you already did it, i don’t see the price.

    Regards,

    Josue

    #139135

    I dont have a price to the product, leaving a space between the product name and read more. I want to remove the call for the product price so I dont have the gap. Can anyone help?

    #139136

    Hi,

    In your WordPress installation please go to Wp-content > Plugins > WooCommerce > Templates and open Content-product.php file and find following code in line between 56-63

    <?php
    /**
    * woocommerce_after_shop_loop_item_title hook
    *
    * @hooked woocommerce_template_loop_price - 10
    */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?>

    and comment it out, just in case you would like to display prices in future

    		<!-- <?php
    /**
    * woocommerce_after_shop_loop_item_title hook
    *
    * @hooked woocommerce_template_loop_price - 10
    */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?> -->

    Then add this code to Quick CSS in Enfold theme options

    .products .product h3 { padding-bottom: 10px; }

    Regards,

    Yigit

    #139137

    Thank you So Much! That did what i wanted it too!… Do you by chance know where i can find the call line for the “Read more | Show Details” … Id like to change the look of those I icons

    #139138

    You can find it in wp-contentthemesenfoldconfig-woocommerceconfig.php – search for

    if($product->product_type == 'variable' && empty($output))
    {
    $output = "<a class='add_to_cart_button button product_type_variable' href='".get_permalink($product->id)."'><span class='avia-font-entypo-fontello'>". $avia_config['font_icons']['details'] ."</span> ".__('Select options','avia_framework')."</a>";
    }

    if($product->product_type == 'simple')
    {
    $output .= "<a class='button show_details_button' href='".get_permalink($product->id)."'><span class='avia-font-entypo-fontello'>". $avia_config['font_icons']['details'] ."</span> ".__('Show Details','avia_framework')."</a>";
    }

    You need to replace avia-font-entypo-fontello span with an image or another font icon if you want to change the look of the icons.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove Price from Products on Product Slider’ is closed to new replies.