Viewing 8 posts - 1 through 8 (of 8 total)
  • #127231
    member
    Member
    Post count: 49

    Hi,

    How to remove wishlist button in the product page. attached the screen shot.
    May i know the php file to be edited for this so that i can change the button style.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #127241
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Disable the wishlist plugin

    – Kyle

    #127245
    member
    Member
    Post count: 49

    Actually i need to change the add to shopping bag button style, may i know the php file to be edited

    #127248
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can just edit the CSS, and add it to our custom css

    – Kyle

    #127249
    member
    Member
    Post count: 49

    How to change the text in css, I need to change ADD TO SHOPPING BAG text to ADD TO CART

    #127255
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Change these files: neighborhood/woocommerce/loop/add-to-cart.php:

       46  				if ( $product->is_purchasable() ) {
       47  					$link['url'] 	= apply_filters( 'add_to_cart_url', esc_url( $product->add_to_cart_url() ) );
       48: 					$link['label'] 	= '<i class="icon-plus"></i>' . apply_filters( 'add_to_cart_text', __( 'Add to shopping bag', 'swiftframework' ) );
       49  					$link['class']  = apply_filters( 'add_to_cart_class', 'add_to_cart_button' );
       50  				} 

    neighborhood/woocommerce/single-product/add-to-cart/simple.php:

       43   	
       44  	 	<?php 
       45: 	 		$button_text = '<i class="fa-plus"></i>' . apply_filters('single_add_to_cart_text', __("Add to shopping bag", "swiftframework"), $product->product_type);
       46  	 	?>
       47  	 	

    neighborhood/woocommerce/single-product/add-to-cart/variable.php:

       89  				<?php woocommerce_quantity_input(); ?>
       90  				<?php 
       91: 					$button_text = '<i class="fa-plus"></i>' . apply_filters('single_add_to_cart_text', __("Add to shopping bag", "swiftframework"), $product->product_type);
       92  				?>	
       93  				<button type="submit" class="single_add_to_cart_button button alt"><?php echo $button_text; ?></button>
       ..
      188  			<?php woocommerce_quantity_input(); ?>
      189  			<?php 
      190: 				$button_text = '<i class="fa-plus"></i>' . apply_filters('single_add_to_cart_text', __("Add to shopping bag", "swiftframework"), $product->product_type);
      191  			?>			
      192  			<button type="submit" class="single_add_to_cart_button"><?php echo $button_text; ?></button>

    – Kyle

    #127289
    member
    Member
    Post count: 49

    Thanks

    #127291
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

Viewing 8 posts - 1 through 8 (of 8 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