New Landing How can we help? Themeforest Theme Support Neighborhood Hide some product price (not all)

Viewing 7 posts - 1 through 7 (of 7 total)
  • #93253
    MrSnarf
    Member
    Post count: 9

    Hi, I’m working on a website using Neighborhood. The client wants price to be shown for some products, but not for all of them. Some products should not have the price tag. Is this possible?

    Thanks!
    Seba

    #93293
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You would just have to not set a price for the product

    – Kyle

    #94068
    MrSnarf
    Member
    Post count: 9

    Thanks!
    I forgot to add that when the price is not setted on some products, those products show a different button when rolling over. How can I change the text “Read More” it comes up?

    Thanks,
    Seba

    #94074
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    See below:

    themes/neighborhood/woocommerce/loop/add-to-cart.php:

    15  <?php if ( ! $product->is_in_stock() ) : ?>
       16  
       17: 	<a href="<?php echo apply_filters( 'out_of_stock_add_to_cart_url', get_permalink( $product->id ) ); ?>" class=""><?php echo apply_filters( 'out_of_stock_add_to_cart_text', __( 'Read More', 'woocommerce' ) ); ?></a>
       18  	<?php echo sf_wishlist_button(); ?>
       19  	
       ..
       41  			case "external" :
       42  				$link['url'] 	= apply_filters( 'external_add_to_cart_url', get_permalink( $product->id ) );
       43: 				$link['label'] 	= apply_filters( 'external_add_to_cart_text', __( 'Read More', 'woocommerce' ) );
       44  			break;
       45  			default :
       ..
       50  				} else {
       51  					$link['url'] 	= apply_filters( 'not_purchasable_url', get_permalink( $product->id ) );
       52: 					$link['label'] 	= apply_filters( 'not_purchasable_text', __( 'Read More', 'woocommerce' ) );
       53  				}

    – Kyle

    #94117
    MrSnarf
    Member
    Post count: 9

    Thanks Kyle, already done, worked great! I changed it for “Consult us”
    But it is not in Spanish, how do I add this in spanish? I am using WPML.

    Thanks,
    Seba

    #94132
    MrSnarf
    Member
    Post count: 9

    Also, I need to hide “Description” and “Additional information” from the Accordion in the single product page.

    Thanks

    #94315
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to install: http://wordpress.org/plugins/woocommerce-multilingual/

    Add this to your custom css:

    #product-accordion .accordion-group:first-child, #product-accordion .accordion-group:nth-child(2) {
    display: none;
    }

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register