Viewing 3 posts - 1 through 3 (of 3 total)
  • #125744
    ShaneO
    Member
    Post count: 29

    Hi
    Is it possible to change the out of stock text on shop images to ‘sold’ ?

    thanks for nay help.

    #125747
    ShaneO
    Member
    Post count: 29

    Any help….sorry bout that! 🙂

    #125750
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Yes, you will need to edit the php files, see below:

    neighborhood/woocommerce/content-product.php:

       70  			if (is_out_of_stock()) {
       71  						
       72: 				echo '<span class="out-of-stock-badge">' . __( 'Out of Stock', 'swiftframework' ) . '</span>';
       73  		
       74  			} else if ($product->is_on_sale()) {

    neighborhood/woocommerce/single-product/product-image.php:

       21  		if (is_out_of_stock()) {
       22  				
       23: 			echo '<span class="out-of-stock-badge">' . __( 'Out of Stock', 'swiftframework' ) . '</span>';
       24  		
       25  		} else if ($product->is_on_sale()) {

    – Kyle

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