How To Fix this Title under Recently Viewed Products?

This topic has 16 replies, 3 voices, and was last updated 2 months, 1 weeks ago ago by Luca Rossi

  • Avatar: RichPoetry
    RichPoetry
    Participant
    April 4, 2025 at 08:53

    How To Fix this Title under Recently Viewed Products?
    Its on home page

    Files is visible for topic creator and
    support staff only.
    15 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 4, 2025 at 09:51

    Hello RichPoetry,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Warm Regards,
    The 8Theme Team

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 4, 2025 at 10:09

    sure here is the details

    Please contact administrator
    for this information.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 4, 2025 at 10:33

    Hello RichPoetry,

    We appreciate your prompt response.

    Fixed – https://prnt.sc/1zCQfYGJ3RSx

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Warm Regards,
    The 8Theme Team

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 4, 2025 at 10:56

    thank you but it still not properly fixed check the line which is in red circle.

    Recently viewed products line is larger then REVIEWS

    can you make the line as same as REVIEWS?
    please check the image

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 4, 2025 at 12:58

    Hello RichPoetry,

    Please clear cache and check now.

    Warm Regards,
    The 8Theme Team

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 9, 2025 at 06:22

    How to change this text Sale 38% to 38% OFF

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 9, 2025 at 07:23

    Hello RichPoetry,

    Thank you for reaching out to us.

    We would like to inform you that the Sale Label Text can be modified by navigating to the following path in your theme settings: XStore > Theme Options > WooCommerce > Shop Elements > Product Badges.

    Warm Regards,
    The 8Theme Team

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 9, 2025 at 08:30

    i changed the Sale Label Text to OFF now its showing OFF 38%, i want text to be written as 38% OFF

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 9, 2025 at 11:03

    Hi @RichPoetry,

    Please add the following code under functions.php file locates in your child theme:

    
    function etheme_sale_label_percentage_text( $product_object, $sale_text, $is_single_product = false ) {
    	$element_options = array();
    	if ( ! $product_object->is_on_sale() ) {
    		return $sale_text;
    	}
    	$element_options['sale_label_text'] = $sale_text;
    	$sale_variables = $is_single_product || etheme_get_option( 'sale_percentage_variable', 0 );
    	$product_type = $product_object->get_type();
    	if ( $product_type == 'variable' ) {
    //			$element_options['sale_label_text'] = $sale_text;
    		if ( $sale_variables ) {
    			$element_options['variation_sale_prices'] = array();
    			foreach ( $product_object->get_available_variations() as $key ) {
    				if ( $key['display_regular_price'] == $key['display_price'] ) {
    					continue;
    				}
    				$element_options['variation_sale_prices'][] = (float) round( ( ( $key['display_regular_price'] - $key['display_price'] ) / $key['display_regular_price'] ) * 100 );
    			}
    			if ( count($element_options['variation_sale_prices']) )
    				$element_options['sale_label_text'] = sprintf( esc_html__( 'Up to %s', 'xstore' ), max( $element_options['variation_sale_prices'] ) . '%' );
    //				    $element_options['sale_label_text'] = esc_html__( 'Up to', 'xstore' ) . ' ' . max( $element_options['variation_sale_prices'] ) . '%';
    		}
    	} elseif ( $product_type == 'grouped' ) {
    		if ( $sale_variables ) {
    			$element_options['grouped_sale_prices'] = array();
    			foreach ( $product_object->get_children() as $key ) {
    				$_product = wc_get_product( $key );
    				if ( $_product->get_type() == 'variable' && $_product->is_on_sale() ) {
    					foreach ( $_product->get_available_variations() as $key ) {
    						if ( $key['display_regular_price'] == $key['display_price'] ) {
    							continue;
    						}
    						$element_options['grouped_sale_prices'][] = (float) round( ( ( $key['display_regular_price'] - $key['display_price'] ) / $key['display_regular_price'] ) * 100 );
    					}
    				} else {
    					if ( $_product->is_on_sale() ) {
    						$regular_price = (float) $_product->get_regular_price();
    						$sale_price    = (float) $_product->get_sale_price();
    						if ( $regular_price == $sale_price ) {
    							continue;
    						}
    						$element_options['grouped_sale_prices'][] = (float) round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
    					}
    				}
    			}
    //				$element_options['sale_label_text'] = esc_html__( 'Up to', 'xstore' ) . ' ' . max( $element_options['grouped_sale_prices'] ) . '%';
    			$element_options['sale_label_text'] = sprintf( esc_html__( 'Up to %s', 'xstore' ), max( $element_options['grouped_sale_prices'] ) . '%' );
    		}
    //			else {
    //				$element_options['sale_label_text'] = $sale_text;
    //			}
    	} else {
    		if ( apply_filters( 'etheme_sale_label_percentage', etheme_get_option( 'sale_percentage', 0 ) ) ){
    			if ( $product_type == 'bundle') {
    				$element_options['regular_price']   = (float) $product_object->min_raw_regular_price;
    				$element_options['sale_price']   = (float) $product_object->min_raw_price;
    			}
    			else {
    				$element_options['regular_price'] = (float) $product_object->get_regular_price();
    				$element_options['sale_price']    = (float) $product_object->get_sale_price();
    			}
    //				$element_options['sale_label_text'] = $sale_text;
    			if ( $element_options['regular_price'] && $element_options['sale_price'] ) {
    //					$element_options['sale_label_text'] .= ' ' . round( ( ( $element_options['regular_price'] - $element_options['sale_price'] ) / $element_options['regular_price'] ) * 100 ) . '%';
    				$element_options['sale_label_text'] = sprintf( str_replace('{sales_text}', $element_options['sale_label_text'], __( '%s {sales_text}', 'xstore' )),round( ( ( $element_options['regular_price'] - $element_options['sale_price'] ) / $element_options['regular_price'] ) * 100 ) . '%' );
    			}
    		}
    	}
    
    	if ( class_exists( 'WAD_Discount' ) ) {
    		$all_discounts = wad_get_active_discounts( true );
    		$product_id    = $product_object->get_id();
    		if ( in_array( $product_type, array( 'variation', 'variable' ) ) ) {
    			$product_id = $product_object->get_available_variations();
    		}
    		foreach ( $all_discounts as $discount_type => $discounts ) {
    			foreach ( $discounts as $discount_id ) {
    				$discount_obj = new WAD_Discount( $discount_id );
    				if ( $discount_obj->is_applicable( $product_id ) ) {
    					$settings                           = $discount_obj->settings;
    //						$element_options['sale_label_text'] = $sale_text . ' ' . $settings['percentage-or-fixed-amount'] . '%';
    					$element_options['sale_label_text'] = sprintf( esc_html__( 'Sale %s', 'xstore' ),$settings['percentage-or-fixed-amount'] . '%' );
    				}
    			}
    		}
    	}
    
    	return $element_options['sale_label_text'];
    }
    

    Hope it helps!

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 9, 2025 at 18:08

    thankyou so much. one more help i needed i have changed some buttons to “Add to Cart” like in the image. but some buttons dont have option to change in elementor
    i want the 1 one to be changed to 2 one like in the image. is there any option how to do?

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 10, 2025 at 08:46

    Hi @RichPoetry,

    There is setting to hide the quantity of products in Product Tabs element.

    Please try adding this custom CSS codes under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .et-advance-tabs .quantity-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .et-advance-tabs .quantity-wrapper .quantity {
        display: none;
    }
    
    .et-advance-tabs .quantity-wrapper a.add_to_cart_button {
        width: 100%;
    }
    
    .et-advance-tabs .quantity-wrapper a.add_to_cart_button::before {
        content: '\e93d';
    }
    
    .et-advance-tabs .quantity-wrapper a.add_to_cart_button::after {
        content: 'Add To Cart' !important;
        position: static !important;
        transform: none !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background-color: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-transform: uppercase;
        font-size: 1rem !important;
    }
    

    https://prnt.sc/EmO84mGBPY_R

    Hope it helps!

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 15, 2025 at 16:06

    i have activated Estimated Delivery from Sale Booster Page and in Elementer Page Builder i used shortcode and its showing but its not showing live in page

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 15, 2025 at 17:33

    Dear @RichPoetry,

    We hope this message finds you well.

    We would like to inform you that we have removed your shortcode and added the Estimated Delivery element. The functionality now appears to be working correctly. You can view the result here: https://tinyurl.com/265df4g4.

    At your convenience, please clear your caches and verify that everything is functioning as expected.

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team

    Avatar: RichPoetry
    RichPoetry
    Participant
    April 15, 2025 at 19:26

    i want to show the estimate delivery in icon list but its not working

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 16, 2025 at 07:16

    Dear @RichPoetry,

    Thank you for reaching out to us.

    At present, the shortcode and dynamic tags functionality is available exclusively on product archive pages.

    We sincerely encourage you to submit your suggestion on our Taskboard at https://www.8theme.com/taskboard/. If your idea receives significant support from other users, our development team will thoroughly consider its implementation in a future update.

    Should you have any further questions or require additional assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

  • Viewing 16 results - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.