-
AuthorPosts
-
September 3, 2013 at 5:37 pm #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/
September 3, 2013 at 8:15 pm #139134Hi,
Looks like you already did it, i don’t see the price.
Regards,
Josue
September 3, 2013 at 8:50 pm #139135I 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?
September 3, 2013 at 9:02 pm #139136Hi,
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
September 3, 2013 at 9:16 pm #139137Thank 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
September 5, 2013 at 7:35 am #139138You 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.
-
AuthorPosts
- The topic ‘Remove Price from Products on Product Slider’ is closed to new replies.